Commit 166aa49c authored by wang's avatar wang

f9

parent 7f091913
......@@ -113,6 +113,19 @@ class PxBypass {
this.ua = this.env.navigatorparams.useragent
this.log.info('ua', this.ua)
let proxyRes = await axios({
method: 'post',
url: 'http://ymx-lcc.unififi.com/proxy/get-proxy',
headers: {
'Content-Type': 'application/json'
},
data: JSON.stringify({
'name': 'WN',
'type': 'shopping'
})
})
this.prox = proxyRes.data.url;
this.log.info(`proxy ${this.prox}`)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment