Browse Source

更新0506

main
haptear 3 years ago
parent
commit
c43f33249b
  1. 6
      ks/ksjsb_0506.js

6
ks/ksjsb_0506.js

@ -4890,7 +4890,7 @@ function Env(t, e) {
}, t => e(t))) : this.isNode() && ( }, t => e(t))) : this.isNode() && (
this.initGotEnv(t), this.initGotEnv(t),
// 打印请求todo // 打印请求todo
console.log("GET请求: "+JSON.stringify(t)), //console.log("GET请求: "+JSON.stringify(t)),
this.got(t).on("redirect", (t, e) => { this.got(t).on("redirect", (t, e) => {
try { try {
var i=0; var i=0;
@ -4960,7 +4960,7 @@ function Env(t, e) {
...i ...i
} = t; } = t;
// 打印请求todo // 打印请求todo
console.log("POST请求: "+ JSON.stringify(t)), //console.log("POST请求: "+ JSON.stringify(t)),
this.got.post(s, i).then(t => { this.got.post(s, i).then(t => {
const { const {
statusCode: s, statusCode: s,
@ -4971,7 +4971,7 @@ function Env(t, e) {
//todo //todo
//console.log(t.requestUrl) //console.log(t.requestUrl)
//打印返回 //打印返回
console.log(" 返回: "+ t.body) //console.log(" 返回: "+ t.body)
if(t.requestUrl.indexOf("reward/ad")>-1) if(t.requestUrl.indexOf("reward/ad")>-1)
{ {
var ixx=0; var ixx=0;

Loading…
Cancel
Save