mirror of https://github.com/NobyDa/Script.git
Temporary fix for JD API issues.
This commit is contained in:
parent
734654c015
commit
a1ad270881
|
@ -2,7 +2,7 @@
|
|||
|
||||
京东多合一签到脚本
|
||||
|
||||
更新时间: 2021.01.20 20:00 v1.91
|
||||
更新时间: 2021.01.28 18:40 v1.92
|
||||
有效接口: 40+
|
||||
脚本兼容: QuantumultX, Surge, Loon, JSBox, Node.js
|
||||
电报频道: @NobyDa
|
||||
|
@ -908,7 +908,7 @@ function JDUserSign1(s, key, title, body) {
|
|||
async function JDUserSign2(s, key, title, tid) {
|
||||
await new Promise(resolve => {
|
||||
$nobyda.get({
|
||||
url: `https://jdjoy.jd.com/api/turncard/channel/detail?turnTableId=${tid}`,
|
||||
url: `https://jdjoy.jd.com/api/turncard/channel/detail?turnTableId=${tid}&invokeKey=yPsq1PHN`,
|
||||
headers: {
|
||||
Cookie: KEY
|
||||
}
|
||||
|
@ -920,7 +920,7 @@ async function JDUserSign2(s, key, title, tid) {
|
|||
return new Promise(resolve => {
|
||||
setTimeout(() => {
|
||||
const JDUrl = {
|
||||
url: 'https://jdjoy.jd.com/api/turncard/channel/sign',
|
||||
url: 'https://jdjoy.jd.com/api/turncard/channel/sign?invokeKey=yPsq1PHN',
|
||||
headers: {
|
||||
Cookie: KEY
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue