mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 02:48: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,6 +589,7 @@ function getJdCash() {
|
||||
}
|
||||
async function getShareCode() {
|
||||
console.log(`======账号${$.index}开始======`)
|
||||
try {
|
||||
await getJDFruit()
|
||||
await getJdPet()
|
||||
await getPlantBean()
|
||||
@ -599,6 +600,10 @@ async function getShareCode() {
|
||||
await getSgmh()
|
||||
//await getCFD()
|
||||
await getJdCash()
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
}
|
||||
|
||||
console.log(`======账号${$.index}结束======\n`)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user