mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 15:25:10 +08:00
荷叶健康小程序
This commit is contained in:
5
hyjk.js
5
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)
|
||||||
}
|
}
|
||||||
|
if (this.taskIdList.length > 0) {
|
||||||
$.log(` 获取到任务列表`)
|
$.log(` 获取到任务列表`)
|
||||||
$.log(JSON.stringify(this.taskIdList))
|
$.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,
|
||||||
|
|||||||
Reference in New Issue
Block a user