mirror of
https://github.com/qitoqito/psyduck.git
synced 2026-01-15 23:21:16 +08:00
.
This commit is contained in:
parent
d91d23bfcb
commit
9a1cbdf6f0
@ -6,7 +6,6 @@ export class Main extends Template {
|
|||||||
this.profile = {
|
this.profile = {
|
||||||
title: '京东汪汪庄园',
|
title: '京东汪汪庄园',
|
||||||
crontab: 3,
|
crontab: 3,
|
||||||
delay: 500,
|
|
||||||
keyExpire: 12000,
|
keyExpire: 12000,
|
||||||
prompt: {
|
prompt: {
|
||||||
merge: '1 # 执行购买与合成任务',
|
merge: '1 # 执行购买与合成任务',
|
||||||
@ -15,14 +14,29 @@ export class Main extends Template {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async prepare() {
|
async prepare() {
|
||||||
let linkId = "99DZNpaCTAv8f4TuKXr0Ew"
|
this.shareCode({linkId: "99DZNpaCTAv8f4TuKXr0Ew"})
|
||||||
this.shareCode({linkId})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async main(p) {
|
async main(p) {
|
||||||
let user = p.data.user;
|
let user = p.data.user;
|
||||||
let context = p.context;
|
let context = p.context;
|
||||||
this.dict[user] = {}
|
this.dict[user] = {}
|
||||||
|
await this.curl({
|
||||||
|
'url': `https://api.m.jd.com/api`,
|
||||||
|
'form': `appid=risk_h5_info&functionId=reportInvokeLog&body={"sdkClient":"handler","sdkVersion":"1.1.0","url":"aHR0cHM6Ly9qb3lwYXJrLmpkLmNvbS8","timestamp":${new Date().getTime()}}`,
|
||||||
|
user
|
||||||
|
}
|
||||||
|
)
|
||||||
|
await this.curl({
|
||||||
|
'url': `https://api.m.jd.com/?functionId=getStaticResource&body={"linkId":"${context.linkId}"}&t=1741137369937&appid=activities_platform&client=ios&clientVersion=15.0.25`,
|
||||||
|
user
|
||||||
|
}
|
||||||
|
)
|
||||||
|
await this.curl({
|
||||||
|
'url': `https://api.m.jd.com/?functionId=getStationMarquees&body={"linkId":"${context.linkId}"}&t=1741137369937&appid=activities_platform&client=ios&clientVersion=15.0.25`,
|
||||||
|
user
|
||||||
|
}
|
||||||
|
)
|
||||||
await this.baseInfo(p)
|
await this.baseInfo(p)
|
||||||
await this.joyList(p)
|
await this.joyList(p)
|
||||||
// p.log("获取数据中...", this.dict[user])
|
// p.log("获取数据中...", this.dict[user])
|
||||||
|
|||||||
@ -21,6 +21,22 @@ export class Main extends Template {
|
|||||||
let user = p.data.user;
|
let user = p.data.user;
|
||||||
let context = p.context;
|
let context = p.context;
|
||||||
this.dict[user] = {}
|
this.dict[user] = {}
|
||||||
|
await this.curl({
|
||||||
|
'url': `https://api.m.jd.com/api`,
|
||||||
|
'form': `appid=risk_h5_info&functionId=reportInvokeLog&body={"sdkClient":"handler","sdkVersion":"1.1.0","url":"aHR0cHM6Ly9qb3lwYXJrLmpkLmNvbS8","timestamp":${new Date().getTime()}}`,
|
||||||
|
user
|
||||||
|
}
|
||||||
|
)
|
||||||
|
await this.curl({
|
||||||
|
'url': `https://api.m.jd.com/?functionId=getStaticResource&body={"linkId":"${context.linkId}"}&t=1741137369937&appid=activities_platform&client=ios&clientVersion=15.0.25`,
|
||||||
|
user
|
||||||
|
}
|
||||||
|
)
|
||||||
|
await this.curl({
|
||||||
|
'url': `https://api.m.jd.com/?functionId=getStationMarquees&body={"linkId":"${context.linkId}"}&t=1741137369937&appid=activities_platform&client=ios&clientVersion=15.0.25`,
|
||||||
|
user
|
||||||
|
}
|
||||||
|
)
|
||||||
await this.baseInfo(p)
|
await this.baseInfo(p)
|
||||||
await this.joyList(p)
|
await this.joyList(p)
|
||||||
// p.log("获取数据中...", this.dict[user])
|
// p.log("获取数据中...", this.dict[user])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user