mirror of
https://github.com/shufflewzc/faker3.git
synced 2026-04-04 00:44:07 +08:00
1
This commit is contained in:
@@ -65,7 +65,7 @@ if ($.isNode()) {
|
||||
|
||||
} else {
|
||||
if (!isLoginInfo[$.UserName]) {
|
||||
await TotalBean();
|
||||
//await TotalBean();
|
||||
isLoginInfo[$.UserName] = $.isLogin
|
||||
}
|
||||
}
|
||||
@@ -92,7 +92,7 @@ if ($.isNode()) {
|
||||
|
||||
} else {
|
||||
if (!isLoginInfo[$.UserName]) {
|
||||
await TotalBean();
|
||||
//await TotalBean();
|
||||
isLoginInfo[$.UserName] = $.isLogin
|
||||
}
|
||||
}
|
||||
@@ -472,7 +472,7 @@ function taskUrl(functionId, body = '') {
|
||||
"User-Agent": UA,
|
||||
"Accept-Language": "zh-CN,zh-Hans;q=0.9",
|
||||
"Referer": "https://st.jingxi.com/",
|
||||
"Cookie": cookie
|
||||
"Cookie": `cid=4;${cookie}`
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -488,7 +488,7 @@ function JDtaskUrl(functionId, body = '') {
|
||||
"User-Agent": $.isNode() ? (process.env.JD_USER_AGENT ? process.env.JD_USER_AGENT : (require('./USER_AGENTS').USER_AGENT)) : ($.getdata('JDUA') ? $.getdata('JDUA') : "jdapp;iPhone;9.4.4;14.3;network/4g;Mozilla/5.0 (iPhone; CPU iPhone OS 14_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;supportJDSHWK/1"),
|
||||
"Accept-Language": "zh-CN,zh-Hans;q=0.9",
|
||||
"Referer": "https://wqs.jd.com/",
|
||||
"Cookie": cookie
|
||||
"Cookie": `cid=4;${cookie}`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user