mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 02:48:44 +08:00
update
This commit is contained in:
parent
ffac77657e
commit
9efe3aff2d
@ -2136,15 +2136,15 @@ function dwappinfo() {
|
|||||||
}
|
}
|
||||||
function dwappexpire() {
|
function dwappexpire() {
|
||||||
let opt = {
|
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: {
|
headers: {
|
||||||
|
'Origin':'https://prodev.m.jd.com',
|
||||||
'User-Agent': $.UA,
|
'User-Agent': $.UA,
|
||||||
'Cookie': cookie
|
'Cookie': cookie
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return new Promise(async (resolve) => {
|
return new Promise(async (resolve) => {
|
||||||
$.get(opt, async (err, resp, data) => {
|
$.post(opt, async (err, resp, data) => {
|
||||||
try {
|
try {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(`${JSON.stringify(err)}`)
|
console.log(`${JSON.stringify(err)}`)
|
||||||
|
10
jd_jlong.js
Normal file
10
jd_jlong.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user