From b81b6fa7ee0bb1a77af99309d122ccb499d410bd Mon Sep 17 00:00:00 2001 From: 2024 Date: Sat, 10 Aug 2024 18:50:35 +0800 Subject: [PATCH] 1 --- jd_bean_change.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jd_bean_change.js b/jd_bean_change.js index 1d38d92..72aa096 100644 --- a/jd_bean_change.js +++ b/jd_bean_change.js @@ -1124,7 +1124,7 @@ function TotalBean() { try { if (err) { console.log(`${JSON.stringify(err)}`) - console.log(`${$.name} API请求失败,请检查网路重试`) + console.log(`TotalBean API请求失败,请检查网路重试`) } else { if (data) { data = JSON.parse(data); @@ -1133,7 +1133,8 @@ function TotalBean() { return } if (data['retcode'] === 0) { - $.nickName = (data['base'] && data['base'].nickname) || $.UserName; + //$.nickName = (data['base'] && data['base'].nickname) || $.UserName; + $.nickName = $.UserName; //$.isPlusVip=data['isPlusVip']; $.isRealNameAuth = data['isRealNameAuth']; $.beanCount = (data['base'] && data['base'].jdNum) || 0;