mirror of
https://github.com/qitoqito/psyduck.git
synced 2026-01-17 16:10:43 +08:00
Compare commits
2 Commits
402c25d4c5
...
4f238da1bb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f238da1bb | ||
|
|
6503477064 |
@ -180,7 +180,7 @@ export class Main extends Template {
|
||||
}
|
||||
else if (i.mainTitle.includes("下单")) {
|
||||
}
|
||||
else if (i.taskType.match("WECHAT_SHARE|JOIN_OTHER_ACT")) {
|
||||
else if (i.taskType.match("WECHAT_SHARE|JOIN_OTHER_ACT|BROWSE_SEARCH")) {
|
||||
}
|
||||
else if (i.mainTitle.includes("浇水")) {
|
||||
if (i.taskDoTimes != i.taskLimitTimes) {
|
||||
|
||||
@ -9,11 +9,26 @@ export class Main extends Template {
|
||||
display: true,
|
||||
tempExpire: 8640000,
|
||||
verify: 1,
|
||||
crontab: `${this.rand(5, 10)},${this.rand(35, 40)} 9-23 * * *`
|
||||
crontab: `${this.rand(5, 10)},${this.rand(35, 40)} 9-23 * * *`,
|
||||
prompt: {
|
||||
id: 'venderId_shopId_activityId'
|
||||
},
|
||||
readme: '不支持通过url获取,如需自定义请自行抓包:venderId,shopId,activityId'
|
||||
}
|
||||
}
|
||||
|
||||
async prepare() {
|
||||
await this.field('id')
|
||||
}
|
||||
|
||||
async batch(p) {
|
||||
if (p.id) {
|
||||
let [venderId, shopId, activityId] = p.id.split("_")
|
||||
p = {
|
||||
...p, ...{venderId, shopId, activityId}
|
||||
}
|
||||
}
|
||||
return p
|
||||
}
|
||||
|
||||
async main(p) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user