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