Skip to content

Commit

Permalink
领现金重试调整为2秒
Browse files Browse the repository at this point in the history
  • Loading branch information
ccwav committed Oct 31, 2021
1 parent df3bf43 commit 3468386
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jd_bean_change.js
Original file line number Diff line number Diff line change
Expand Up @@ -899,14 +899,14 @@ async function jdCash() {
isSignError = false;
let sign = await getSign(functionId, decodeURIComponent(body), uuid)
if (isSignError) {
console.log(`领现金任务签名获取失败,等待10秒后再次尝试...`)
await $.wait(10 * 1000);
console.log(`领现金任务签名获取失败,等待2秒后再次尝试...`)
await $.wait(2 * 1000);
isSignError = false;
sign = await getSign(functionId, decodeURIComponent(body), uuid);
}
if (isSignError) {
console.log(`领现金任务签名获取失败,等待10秒后再次尝试...`)
await $.wait(10 * 1000);
console.log(`领现金任务签名获取失败,等待2秒后再次尝试...`)
await $.wait(2 * 1000);
isSignError = false;
sign = await getSign(functionId, decodeURIComponent(body), uuid);
}
Expand Down

0 comments on commit 3468386

Please sign in to comment.