mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2026-01-13 21:50:44 +08:00
荷叶健康小程序
This commit is contained in:
parent
6191755cef
commit
f47ad7c8a2
7
hyjk.js
7
hyjk.js
@ -33,8 +33,10 @@ class Task {
|
|||||||
for (let i of this.taskVenueIdList) {
|
for (let i of this.taskVenueIdList) {
|
||||||
await this.taskList(i.venueId)
|
await this.taskList(i.venueId)
|
||||||
}
|
}
|
||||||
$.log(`获取到任务列表`)
|
if (this.taskIdList.length > 0) {
|
||||||
$.log(JSON.stringify(this.taskIdList))
|
$.log(` 获取到任务列表`)
|
||||||
|
$.log(JSON.stringify(" " + this.taskIdList))
|
||||||
|
}
|
||||||
for (let i of this.taskIdList) {
|
for (let i of this.taskIdList) {
|
||||||
await this.updateTaskInfo(i.taskId, 0)
|
await this.updateTaskInfo(i.taskId, 0)
|
||||||
await $.wait(20000)
|
await $.wait(20000)
|
||||||
@ -253,6 +255,7 @@ class Task {
|
|||||||
"accept-encoding": "gzip, deflate, br",
|
"accept-encoding": "gzip, deflate, br",
|
||||||
"accept-language": "zh-CN,zh;q=0.9"
|
"accept-language": "zh-CN,zh;q=0.9"
|
||||||
}
|
}
|
||||||
|
this.userId != '' ? Object.assign(headers, { "userid": this.userId }) : ''
|
||||||
const reqeuestOptions = {
|
const reqeuestOptions = {
|
||||||
url: url,
|
url: url,
|
||||||
method: method,
|
method: method,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user