This commit is contained in:
lxk0301
2021-03-19 10:09:04 +08:00
parent 4483a8e5f2
commit 6f20d676cd

View File

@@ -154,9 +154,11 @@ function addShare(shareId) {
console.log(`${JSON.stringify(err)}`)
console.log(`${$.name} API请求失败请检查网路重试`)
} else {
console.log(`\n助力结果${data}`)
data = JSON.parse(data);
if (data['code'] === 200) {
console.log(`\n【京东账号${$.index}${$.nickName || $.UserName})助力好友 【${data['data']}】 成功\n`);
// console.log(`\n【京东账号${$.index}${$.nickName || $.UserName})助力好友 【${data['data']}】 成功\n`);
console.log(`\n助力好友 【${data['data']}】 成功\n`);
}
}
} catch (e) {