1
0
mirror of https://github.com/6dylan6/jdpro.git synced 2026-05-01 09:36:41 +08:00
This commit is contained in:
dylan
2024-01-01 18:42:06 +08:00
parent 9a7b631a04
commit bf439aa6d6
+3 -3
View File
@@ -2136,15 +2136,15 @@ function dwappinfo() {
}
function dwappexpire() {
let opt = {
url: `https://api.m.jd.com/api?functionId=DATAWALLET_USER_QUERY_EXPIRED_SCORE`,
url: `https://api.m.jd.com/api?functionId=DATAWALLET_USER_QUERY_EXPIRED_SCORE&appid=h5-sep&body=%7B%22expireDayNum%22%3A7%7D&client=m&clientVersion=6.0.0`,
headers: {
'Origin':'https://prodev.m.jd.com',
'User-Agent': $.UA,
'Cookie': cookie
}
}
return new Promise(async (resolve) => {
$.get(opt, async (err, resp, data) => {
$.post(opt, async (err, resp, data) => {
try {
if (err) {
console.log(`${JSON.stringify(err)}`)