This commit is contained in:
Faker 2023-03-31 16:55:43 +08:00
parent 909b8c6678
commit a48213641d
6 changed files with 82 additions and 473 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,8 +5,8 @@ new Env('汪汪赛跑提现')
updateTime2022-07-09
**/
import {get, post, requireConfig, wait} from './TS_USER_AGENTS'
import {H5ST} from "./function/h5st"
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
let h5stTool: H5ST = null
@ -21,18 +21,21 @@ let h5stTool: H5ST = null
try {
h5stTool = new H5ST('448de', 'jdltapp;', fp_448de)
await h5stTool.__genAlgo()
res = await team('runningMyPrize', {"linkId": "L-sOanK_5RJCz7I314FpnQ", "pageSize": 20, "time": null, "ids": null})
res = await team('runningMyPrize', { "linkId": "L-sOanK_5RJCz7I314FpnQ", "pageSize": 20, "time": null, "ids": null })
rewardAmount = res.data.rewardAmount
if (res.data.runningCashStatus.currentEndTime) {
console.log('可提现', rewardAmount)
res = await api('runningPrizeDraw', {"linkId": "L-sOanK_5RJCz7I314FpnQ", "type": 2, "level": 3})
await wait(2000)
if (res.success){
res = await api('runningPrizeDraw', { "linkId": "L-sOanK_5RJCz7I314FpnQ", "type": 2, "level": 3 })
if (res.errMsg.indexOf("不足") > -1) {
res = await api('runningPrizeDraw', { "linkId": "L-sOanK_5RJCz7I314FpnQ", "type": 2, "level": 2 })
}
await wait(1000)
if (res.success) {
console.log(res.data.message)
} else {
console.log('提现失败:', res.errMsg)
}
}else{
} else {
console.log('还未到提现时间')
}
} catch (e) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

11
jd_yy_realme.js Normal file

File diff suppressed because one or more lines are too long