KingRan 2022-02-26 17:35:23 +08:00
parent b6426dedbd
commit bb3ea931e0
3 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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) => {

View File

@ -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(),