debug
This commit is contained in:
@@ -244,11 +244,13 @@ function TotalBean() {
|
|||||||
console.log(`${$.name} API请求失败,请检查网路重试`)
|
console.log(`${$.name} API请求失败,请检查网路重试`)
|
||||||
} else {
|
} else {
|
||||||
if (data) {
|
if (data) {
|
||||||
|
$.log(`debug::${data}\n`)
|
||||||
data = JSON.parse(data);
|
data = JSON.parse(data);
|
||||||
if (data['retcode'] === 13) {
|
if (data['retcode'] === 13) {
|
||||||
$.isLogin = false; //cookie过期
|
$.isLogin = false; //cookie过期
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
$.nickName = data['base'].nickname;
|
$.nickName = data['base'].nickname;
|
||||||
} else {
|
} else {
|
||||||
console.log(`京东服务器返回空数据`)
|
console.log(`京东服务器返回空数据`)
|
||||||
|
Reference in New Issue
Block a user