Commit c4c6f59b authored by zjz1994's avatar zjz1994

测试post===log

parent 462aba26
......@@ -63,7 +63,7 @@ export abstract class ABNetManager {
}
if(net.type=="post"){
var testplatform = !iswx()&&getIsIOS()&&window['SNNativeClient'] && window['SNNativeClient'].callNativeFormDataReq && getIOSversion() && parseInt(getIOSversion().split('.')[0]) < 11 ? true : false;
// console.log("平台测试",testplatform);
console.log("平台测试",testplatform);
// console.log("isWX",iswx());
// console.log("isIOS",getIsIOS(),"IOSver",getIOSversion());
// testplatform = true;
......@@ -150,10 +150,10 @@ export abstract class ABNetManager {
// }
//返回处理逻辑
if (!res || (res && res.statusCode >= 400)) {
// console.error("新post---error",res);
console.error("新post---error");
reject(res)
} else if (res) {
// console.log("新post---response",res);
console.log("新post---response");
resolve(res)
}
});
......
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