mirror of
https://github.com/shufflewzc/faker3.git
synced 2026-04-04 00:44:07 +08:00
1
This commit is contained in:
@@ -30,7 +30,7 @@ const JD_API_HOST = 'https://api.m.jd.com/client.action';
|
||||
$.index = i + 1;
|
||||
$.isLogin = true;
|
||||
$.nickName = '';
|
||||
await TotalBean();
|
||||
//await TotalBean();
|
||||
console.log(`\n******开始【京东账号${$.index}】${$.nickName || $.UserName}*********\n`);
|
||||
if (!$.isLogin) {
|
||||
$.msg($.name, `【提示】cookie已失效`, `京东账号${$.index} ${$.nickName || $.UserName}\n请重新登录获取\nhttps://bean.m.jd.com/bean/signIndex.action`, { "open-url": "https://bean.m.jd.com/bean/signIndex.action" });
|
||||
@@ -64,7 +64,7 @@ async function shangou() {
|
||||
data = JSON.parse(data)
|
||||
if (data.subCode == 0){
|
||||
console.log(data.msg)
|
||||
console.log(data.rewardsInfo?.successRewards[3][0]?.quantity+'豆'||'空气')
|
||||
console.log(data.rewardsInfo?.successRewards[3][0]?.quantity||'空气')
|
||||
}else{
|
||||
console.log(data.msg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user