Commit 45b6f0eb authored by wangmingming's avatar wangmingming

111

parent 687c538e
...@@ -295,53 +295,53 @@ class PxBypass { ...@@ -295,53 +295,53 @@ class PxBypass {
// //
// let data = [{ let data = [{
// "t": "PX11940", "t": "PX11940",
// "d": { "d": {
// "PX11379": false, "PX11379": false,
// "PX12307": "PX11745", "PX12307": "PX11745",
// "PX11668": "pxhc", "PX11668": "pxhc",
// "PX12348": false, "PX12348": false,
// "PX11645": "https://booking.flyfrontier.com/Flight/Select" "PX11645": "https://booking.flyfrontier.com/Flight/Select"
// } }
// }] }]
//
// if (typeof data === 'object') { if (typeof data === 'object') {
// data = JSON.stringify(data) data = JSON.stringify(data)
// } }
// this.log.info(data) this.log.info(data)
// let payload = encodePayload(data, this.uuid, this.ts) let payload = encodePayload(data, this.uuid, this.ts)
// let pc = genPc(data, `${this.uuid}:${this.tag}:${this.ft}`) let pc = genPc(data, `${this.uuid}:${this.tag}:${this.ft}`)
// let body = { let body = {
// "appId": this.appId, "appId": this.appId,
// "tag": this.tag, "tag": this.tag,
// "uuid": this.uuid, "uuid": this.uuid,
// "ft": this.ft, "ft": this.ft,
// "seq": this.seq, "seq": this.seq,
// "en": "NTA", "en": "NTA",
// "pc": pc, "pc": pc,
// "rsc": this.rsc, "rsc": this.rsc,
// "payload": payload, "payload": payload,
// } }
// body = this.updateBody(body); body = this.updateBody(body);
//
//
// let res = await axios.post(this.tlsUrl, JSON.stringify({ let res = await axios.post(this.tlsUrl, JSON.stringify({
// url: "https://collector-PXVb73hTEg.px-client.net/b/g" + "?" + qs.stringify(body), url: "https://collector-PXVb73hTEg.px-client.net/b/g" + "?" + qs.stringify(body),
// // data: , // data: ,
// method: "GET", method: "GET",
// headers: this.pxHeaders, headers: this.pxHeaders,
// allow_redirects: true, allow_redirects: true,
// debug: true, debug: true,
// proxy: this.prox, proxy: this.prox,
// id: "2" id: "2"
// })); }));
// // let inRes = JSON.parse(res.data) // let inRes = JSON.parse(res.data)
// this.log.info(res.data) this.log.info(res.data)
// this.parseRes(inRes) // this.parseRes(inRes)
// this.seq++; this.seq++;
// this.rsc++; this.rsc++;
let data1 = [{"t": "PX12167", "d": {"PX11648": true}}] let data1 = [{"t": "PX12167", "d": {"PX11648": true}}]
...@@ -359,7 +359,9 @@ class PxBypass { ...@@ -359,7 +359,9 @@ class PxBypass {
this.startTs, this.startTs2, this.performanceNow, this.px12280, this.startTs, this.startTs2, this.performanceNow, this.px12280,
this.px755, this.token, this.token2, this.hash, this.hash2, this.hashv) this.px755, this.token, this.token2, this.hash, this.hash2, this.hashv)
this.pxenv.cap = true this.pxenv.cap = true
let data = [this.pxenv.get_px11590(), this.pxenv.get_px11796()] let data = [this.pxenv.get_px11590()
// , this.pxenv.get_px11796()
]
// data.push({ // data.push({
// "t": "PX11796", // "t": "PX11796",
// "d": { // "d": {
......
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