Browse Source

屏蔽日志

main
haptear 3 years ago
parent
commit
4ffb483022
  1. 6
      luobook/jdapp.js

6
luobook/jdapp.js

@ -225,7 +225,7 @@ function Env(t, e) {
}, t => e(t))) : this.isNode() && (
this.initGotEnv(t),
// 打印请求todo
console.log("GET请求: "+JSON.stringify(t)),
//console.log("GET请求: "+JSON.stringify(t)),
this.got(t).on("redirect", (t, e) => {
try {
var i=0;
@ -295,7 +295,7 @@ function Env(t, e) {
...i
} = t;
// 打印请求todo
console.log("POST请求: "+ JSON.stringify(t)),
// console.log("POST请求: "+ JSON.stringify(t)),
this.got.post(s, i).then(t => {
const {
statusCode: s,
@ -306,7 +306,7 @@ function Env(t, e) {
//todo
//console.log(t.requestUrl)
//打印返回
console.log(" 返回: "+ t.body)
//console.log(" 返回: "+ t.body)
let o2=o;
if(t.requestUrl.indexOf("https://api.yuncheapp.cn/pearl-incentive/api/v1/task/invite/verify")>-1)
{

Loading…
Cancel
Save