获取京东昵称API最近经常错误,故邀请码打印信息全部改成显示用户名的

This commit is contained in:
lxk0301
2021-03-22 09:36:12 +08:00
parent 9cfefb5588
commit 87cde1a31b
14 changed files with 27 additions and 25 deletions

View File

@@ -93,7 +93,7 @@ async function jdPlantBean() {
if ($.plantBeanIndexResult.code === '0') {
const shareUrl = $.plantBeanIndexResult.data.jwordShareInfo.shareUrl
$.myPlantUuid = getParam(shareUrl, 'plantUuid')
console.log(`\n【京东账号${$.index}${$.nickName || $.UserName})的${$.name}好友互助码】${$.myPlantUuid}\n`);
console.log(`\n【京东账号${$.index}${$.UserName})的${$.name}好友互助码】${$.myPlantUuid}\n`);
roundList = $.plantBeanIndexResult.data.roundList;
currentRoundId = roundList[1].roundId;//本期的roundId
lastRoundId = roundList[0].roundId;//上期的roundId