This commit is contained in:
Faker
2022-07-15 14:59:10 +08:00
parent 305a355149
commit af20c42655
3 changed files with 5 additions and 6 deletions

View File

@@ -1,12 +1,12 @@
/**
汪汪赛跑-提现10元
2 0 0 * * 5 jd_joy_run_reward.ts
3 0 0 * * 5 jd_joy_run_reward.ts
new Env('汪汪赛跑提现')
Modify By Dylan from HW
updateTime2022-07-09
**/
import {get, post, requireConfig, wait} from './function/TS_USER_AGENTS'
import {get, post, requireConfig, wait} from './TS_USER_AGENTS'
import {H5ST} from "./function/h5st"
let cookie: string = '', res: any = '', UserName: string = '', fp_448de: string = '' || process.env.FP_448DE, fp_b6ac3: string = '' || process.env.FP_B6AC3
@@ -24,7 +24,7 @@ let h5stTool: H5ST = null
await h5stTool.__genAlgo()
res = await team('runningMyPrize', {"linkId": "L-sOanK_5RJCz7I314FpnQ", "pageSize": 20, "time": null, "ids": null})
rewardAmount = res.data.rewardAmount
if (res.data.runningCashStatus.currentEndTime && res.data.runningCashStatus.status === 0) {
if (res.data.runningCashStatus.currentEndTime) {
console.log('可提现', rewardAmount)
res = await api('runningPrizeDraw', {"linkId": "L-sOanK_5RJCz7I314FpnQ", "type": 2, "level": 3})
await wait(2000)