This commit is contained in:
lxk0301
2021-02-24 21:14:25 +08:00
parent 429b022a90
commit 94216f75b7

View File

@ -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(`京东服务器返回空数据`)