This commit is contained in:
2024 2024-08-10 18:50:35 +08:00
parent 1b7de21b94
commit b81b6fa7ee
1 changed files with 3 additions and 2 deletions

View File

@ -1124,7 +1124,7 @@ function TotalBean() {
try { try {
if (err) { if (err) {
console.log(`${JSON.stringify(err)}`) console.log(`${JSON.stringify(err)}`)
console.log(`${$.name} API请求失败请检查网路重试`) console.log(`TotalBean API请求失败请检查网路重试`)
} else { } else {
if (data) { if (data) {
data = JSON.parse(data); data = JSON.parse(data);
@ -1133,7 +1133,8 @@ function TotalBean() {
return return
} }
if (data['retcode'] === 0) { if (data['retcode'] === 0) {
$.nickName = (data['base'] && data['base'].nickname) || $.UserName; //$.nickName = (data['base'] && data['base'].nickname) || $.UserName;
$.nickName = $.UserName;
//$.isPlusVip=data['isPlusVip']; //$.isPlusVip=data['isPlusVip'];
$.isRealNameAuth = data['isRealNameAuth']; $.isRealNameAuth = data['isRealNameAuth'];
$.beanCount = (data['base'] && data['base'].jdNum) || 0; $.beanCount = (data['base'] && data['base'].jdNum) || 0;