This commit is contained in:
lxk0301
2021-03-19 10:09:04 +08:00
parent 7b9738edf4
commit 4e050f3f19

View File

@@ -154,9 +154,11 @@ function addShare(shareId) {
console.log(`${JSON.stringify(err)}`) console.log(`${JSON.stringify(err)}`)
console.log(`${$.name} API请求失败请检查网路重试`) console.log(`${$.name} API请求失败请检查网路重试`)
} else { } else {
console.log(`\n助力结果${data}`)
data = JSON.parse(data); data = JSON.parse(data);
if (data['code'] === 200) { 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) { } catch (e) {