mirror of https://github.com/6dylan6/jdpro.git
This commit is contained in:
parent
1b7de21b94
commit
b81b6fa7ee
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue