mirror of https://github.com/KingRan/KR.git
parent
bdbef3fe72
commit
6038e701b0
|
@ -87,6 +87,7 @@ let h5st = ''
|
|||
await $.wait(2000)
|
||||
await jstoken();
|
||||
}
|
||||
await $.wait(2000)
|
||||
}
|
||||
}
|
||||
if (allMessage) {
|
||||
|
@ -349,7 +350,7 @@ async function getAlgo(id) {
|
|||
'Accept-Language': 'zh-CN,zh;q=0.9,zh-TW;q=0.8,en;q=0.7'
|
||||
},
|
||||
'body': JSON.stringify({
|
||||
"version": "3.0",
|
||||
"version": "3.1",
|
||||
"fp": fp,
|
||||
"appId": id.toString(),
|
||||
"timestamp": Date.now(),
|
||||
|
|
|
@ -37,6 +37,7 @@ const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
|
|||
let cookiesArr = [], cookie = '', message;
|
||||
let UA, UAInfo = {}, isLoginInfo = {};
|
||||
$.shareCodes = [];
|
||||
$.appId = "0ac98";
|
||||
$.blackInfo = {}
|
||||
const JX_FIRST_RUNTASK = $.isNode() ? (process.env.JX_FIRST_RUNTASK && process.env.JX_FIRST_RUNTASK === 'xd' ? '5' : '1000') : ($.getdata('JX_FIRST_RUNTASK') && $.getdata('JX_FIRST_RUNTASK') === 'xd' ? '5' : '1000')
|
||||
if ($.isNode()) {
|
||||
|
@ -595,7 +596,7 @@ async function requestAlgo() {
|
|||
'Accept-Language': 'zh-CN,zh;q=0.9,zh-TW;q=0.8,en;q=0.7'
|
||||
},
|
||||
'body': JSON.stringify({
|
||||
"version": "1.0",
|
||||
"version": "3.1",
|
||||
"fp": $.fingerprint,
|
||||
"appId": $.appId.toString(),
|
||||
"timestamp": Date.now(),
|
||||
|
|
Loading…
Reference in New Issue