mirror of
https://github.com/qitoqito/psyduck.git
synced 2026-01-15 23:21:16 +08:00
Update jd_task_dwapp.js
This commit is contained in:
parent
e08e74ba57
commit
7cb7c503ec
@ -18,13 +18,14 @@ export class Main extends Template {
|
|||||||
let list = await this.curl({
|
let list = await this.curl({
|
||||||
'url': `https://api.m.jd.com/api?functionId=dwapp_task_dwList`,
|
'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`,
|
'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
|
let cash = 0
|
||||||
for (let i of this.haskey(list, 'data') || []) {
|
for (let i of this.haskey(list, 'data') || []) {
|
||||||
if (i.viewStatus == 3 || i.viewStatus == 1) {
|
if (i.viewStatus == 3 || i.viewStatus == 1) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user