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

This commit is contained in:
lxk0301
2021-03-22 09:36:12 +08:00
parent f16c47227c
commit 77c1f214cf
14 changed files with 27 additions and 25 deletions

View File

@@ -88,7 +88,7 @@ async function jdFruit() {
if ($.farmInfo.farmUserPro) {
// option['media-url'] = $.farmInfo.farmUserPro.goodsImage;
message = `【水果名称】${$.farmInfo.farmUserPro.name}\n`;
console.log(`\n【京东账号${$.index}${$.nickName || $.UserName})的${$.name}好友互助码】${$.farmInfo.farmUserPro.shareCode}\n`);
console.log(`\n【京东账号${$.index}${$.UserName})的${$.name}好友互助码】${$.farmInfo.farmUserPro.shareCode}\n`);
console.log(`\n【已成功兑换水果】${$.farmInfo.farmUserPro.winTimes}\n`);
message += `【已兑换水果】${$.farmInfo.farmUserPro.winTimes}\n`;
await masterHelpShare();//助力好友