mirror of https://github.com/KingRan/KR.git
parent
b6426dedbd
commit
bb3ea931e0
|
@ -33,7 +33,7 @@ const jdCookieNode = $.isNode() ? require('./jdCookie.js') : '';
|
|||
$.inviteCodeList = [];
|
||||
let cookiesArr = [];
|
||||
let UA, token, UAInfo = {}
|
||||
$.appId = 10028;
|
||||
$.appId = "00df8";
|
||||
function oc(fn, defaultVal) {//optioanl chaining
|
||||
try {
|
||||
return fn()
|
||||
|
|
|
@ -19,7 +19,7 @@ $.inviteCodeList = [];
|
|||
$.inviteCodeList_hb = [];
|
||||
let flag_hb = true
|
||||
let cookiesArr = [];
|
||||
$.appId = 10028;
|
||||
$.appId = "00df8";
|
||||
$.helpCkList = [];
|
||||
if ($.isNode()) {
|
||||
Object.keys(jdCookieNode).forEach((item) => {
|
||||
|
|
|
@ -596,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": "3.1",
|
||||
"version": "3.0",
|
||||
"fp": $.fingerprint,
|
||||
"appId": $.appId.toString(),
|
||||
"timestamp": Date.now(),
|
||||
|
|
Loading…
Reference in New Issue