This commit is contained in:
Faker 2023-07-11 20:44:59 +08:00
parent 5a10392698
commit a6f3a68946
2 changed files with 24 additions and 26 deletions

View File

@ -418,8 +418,7 @@ if(DisableIndex!=-1){
cash(), //特价金币 cash(), //特价金币
bean(), //京豆查询 bean(), //京豆查询
jdCash(), //领现金 jdCash(), //领现金
GetJoyRuninginfo(), //汪汪赛跑 GetJoyRuninginfo() //汪汪赛跑
queryScores()
]) ])
await showMsg(); await showMsg();
@ -2006,30 +2005,6 @@ function GetDateTime(date) {
return timeString; return timeString;
} }
async function queryScores() {
let res = ''
let url = {
url: `https://rsp.jd.com/windControl/queryScore/v1?lt=m&an=plus.mobile&stamp=${Date.now()}`,
headers: {
'Cookie': cookie,
'User-Agent': 'Mozilla/5.0 (Linux; Android 10; Redmi Note 8 Pro Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/77.0.3865.120 MQQBrowser/6.2 TBS/045715 Mobile Safari/537.36',
'Referer': 'https://plus.m.jd.com/rights/windControl'
}
};
$.get(url, async (err, resp, data) => {
try {
const result = JSON.parse(data)
if (result.code == 1000) {
$.PlustotalScore=result.rs.userSynthesizeScore.totalScore;
}
} catch (e) {
$.logErr(e, resp);
}
})
}
async function getuserinfo() { async function getuserinfo() {
var body=[{"pin": "$cooMrdGatewayUid$"}]; var body=[{"pin": "$cooMrdGatewayUid$"}];
var ua = `jdapp;iPhone;${random(["11.1.0", "10.5.0", "10.3.6"])};${random(["13.5", "14.0", "15.0"])};${uuidRandom()};network/wifi;supportApplePay/0;hasUPPay/0;hasOCPay/0;model/iPhone11,6;addressid/7565095847;supportBestPay/0;appBuild/167541;jdSupportDarkMode/0;Mozilla/5.0 (iPhone; CPU iPhone OS 13_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1`; var ua = `jdapp;iPhone;${random(["11.1.0", "10.5.0", "10.3.6"])};${random(["13.5", "14.0", "15.0"])};${uuidRandom()};network/wifi;supportApplePay/0;hasUPPay/0;hasOCPay/0;model/iPhone11,6;addressid/7565095847;supportBestPay/0;appBuild/167541;jdSupportDarkMode/0;Mozilla/5.0 (iPhone; CPU iPhone OS 13_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1`;

23
jd_dplh0711.js Normal file

File diff suppressed because one or more lines are too long