Temporary fix for JD API issues.

This commit is contained in:
NobyDa 2021-01-28 18:49:43 +08:00
parent 734654c015
commit a1ad270881
1 changed files with 3 additions and 3 deletions

View File

@ -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
},