Commit 9d7381fd authored by wang's avatar wang

f9

parent e9fcf6b0
......@@ -116,18 +116,18 @@ class PxBypass {
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': 'NK',
// 'type': 'shopping'
// })
// })
// this.prox = proxyRes.data.url;
let proxyRes = await axios({
method: 'post',
url: 'http://ymx-lcc.unififi.com/proxy/get-proxy',
headers: {
'Content-Type': 'application/json'
},
data: JSON.stringify({
'name': 'NK',
'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