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