mirror of
https://github.com/qitoqito/psyduck.git
synced 2026-01-12 04:30:42 +08:00
Update jd_task_pushRedpacket.js
This commit is contained in:
parent
b2c8d72bb8
commit
fa823c71c4
@ -245,13 +245,14 @@ export class Main extends Template {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
let end = 0
|
let end = 0
|
||||||
|
let area = this.profile.area || "1_2802_54751_0"
|
||||||
for (let i of Array(3)) {
|
for (let i of Array(3)) {
|
||||||
if (end) {
|
if (end) {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
let lib = await this.curl({
|
let lib = await this.curl({
|
||||||
'url': `https://api.m.jd.com/api?functionId=lbsHome`,
|
'url': `https://api.m.jd.com/api?functionId=lbsHome`,
|
||||||
'form': `functionId=lbsHome&body={"envType":1,"linkId":"eC4evMxiFrTo0SiIE1GNlA","area":"1_2802_54751_0","longitude":"116.412041","latitude":"39.899313",}&t=1748611142069&appid=activities_platform&client=ios&clientVersion=15.1.35&platform=3&loginType=2`,
|
'form': `functionId=lbsHome&body={"envType":1,"linkId":"eC4evMxiFrTo0SiIE1GNlA","area":"${area}"}&t=1748611142069&appid=activities_platform&client=ios&clientVersion=15.1.35&platform=3&loginType=2`,
|
||||||
user,
|
user,
|
||||||
alog: {
|
alog: {
|
||||||
appId: "f3a26"
|
appId: "f3a26"
|
||||||
@ -264,7 +265,7 @@ export class Main extends Template {
|
|||||||
p.log("正在夺取:", i.nickName)
|
p.log("正在夺取:", i.nickName)
|
||||||
let seek = await this.curl({
|
let seek = await this.curl({
|
||||||
'url': `https://api.m.jd.com/api?functionId=lbsSeek`,
|
'url': `https://api.m.jd.com/api?functionId=lbsSeek`,
|
||||||
'form': `functionId=lbsSeek&body={"envType":1,"linkId":"eC4evMxiFrTo0SiIE1GNlA","area":"16_1341_1347_44750","longitude":"117.613112","latitude":"23.94006","seekType":${i.type},"encryptId":"${i.encryptId}"}&t=1748611415910&appid=activities_platform&client=ios&clientVersion=15.1.35&platform=3`,
|
'form': `functionId=lbsSeek&body={"envType":1,"linkId":"eC4evMxiFrTo0SiIE1GNlA","area":"${area}","seekType":${i.type},"encryptId":"${i.encryptId}"}&t=1748611415910&appid=activities_platform&client=ios&clientVersion=15.1.35&platform=3`,
|
||||||
user,
|
user,
|
||||||
algo: {
|
algo: {
|
||||||
appId: 'f3a26'
|
appId: 'f3a26'
|
||||||
@ -282,6 +283,9 @@ export class Main extends Template {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
end++
|
||||||
|
}
|
||||||
}
|
}
|
||||||
while (1) {
|
while (1) {
|
||||||
let lottery = await this.curl({
|
let lottery = await this.curl({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user