Update jd_task_dwapp.js

This commit is contained in:
可达鸭 2025-03-14 16:14:33 +08:00
parent e08e74ba57
commit 7cb7c503ec

View File

@ -18,13 +18,14 @@ export class Main extends Template {
let list = await this.curl({
'url': `https://api.m.jd.com/api?functionId=dwapp_task_dwList`,
'form': `appid=h5-sep&body=${this.dumps(await this.cmd5x())}&client=m&clientVersion=6.0.0`,
user
user,
algo: {
expire: {
'code': 201
}
}
}
)
if (this.haskey(list, 'code', 201)) {
p.err("未登录")
return
}
let cash = 0
for (let i of this.haskey(list, 'data') || []) {
if (i.viewStatus == 3 || i.viewStatus == 1) {