mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 10:58:44 +08:00
Update jd_get_share_code.js 修复错误未捕获导致获取互助码任务中断
TypeError: Cannot read properties of undefined (reading 'jwordShareInfo') at jdPlantBean (/ql/scripts/shufflewzc_faker2_main/jd_get_share_code.js:353:52) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async getPlantBean (/ql/scripts/shufflewzc_faker2_main/jd_get_share_code.js:364:3) at async getShareCode (/ql/scripts/shufflewzc_faker2_main/jd_get_share_code.js:595:5) at async /ql/scripts/shufflewzc_faker2_main/jd_get_share_code.js:54:7
This commit is contained in:
parent
4d3c625415
commit
4fb39417df
@ -589,16 +589,21 @@ function getJdCash() {
|
|||||||
}
|
}
|
||||||
async function getShareCode() {
|
async function getShareCode() {
|
||||||
console.log(`======账号${$.index}开始======`)
|
console.log(`======账号${$.index}开始======`)
|
||||||
await getJDFruit()
|
try {
|
||||||
await getJdPet()
|
await getJDFruit()
|
||||||
await getPlantBean()
|
await getJdPet()
|
||||||
await getJdFactory()
|
await getPlantBean()
|
||||||
await getJxFactory()
|
await getJdFactory()
|
||||||
await getJdZZ()
|
await getJxFactory()
|
||||||
await getJoy()
|
await getJdZZ()
|
||||||
await getSgmh()
|
await getJoy()
|
||||||
//await getCFD()
|
await getSgmh()
|
||||||
await getJdCash()
|
//await getCFD()
|
||||||
|
await getJdCash()
|
||||||
|
} catch (e) {
|
||||||
|
console.log(e)
|
||||||
|
}
|
||||||
|
|
||||||
console.log(`======账号${$.index}结束======\n`)
|
console.log(`======账号${$.index}结束======\n`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user