mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-17 16:43:59 +00:00
update
This commit is contained in:
parent
2baa1b095a
commit
386c323695
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
更新时间:2022-4-11
|
||||
更新时间:2022-7-12
|
||||
皮卡车
|
||||
|
||||
# 变量
|
||||
|
@ -21,11 +21,9 @@ boxjs订阅:https://git.metauniverse-cn.com/https://raw.githubusercontent.com/
|
|||
[rewrite_remote]
|
||||
https://git.metauniverse-cn.com/https://raw.githubusercontent.com/curtinlv/gd/main/dy/cx.conf, tag=订阅-Curtin, update-interval=172800, opt-parser=false, enabled=true
|
||||
|
||||
cron:1 1 1 1 *
|
||||
============Quantumultx===============
|
||||
[task_local]
|
||||
#PKC-特效关注有礼
|
||||
1 1 1 1 * jd_txgzyl.js, tag=PKC-特效关注有礼, enabled=true
|
||||
#获取body后执行
|
||||
1 1 1 1 1 1 https://git.metauniverse-cn.com/https://raw.githubusercontent.com/curtinlv/gd/main/jk_script/pkc_txgzyl.js, tag=PKC-特效关注有礼, enabled=false
|
||||
|
||||
|
||||
*/
|
||||
|
@ -68,7 +66,7 @@ let isGetbody = typeof $request !== 'undefined';
|
|||
$.isLogin = true;
|
||||
$.nickName = '';
|
||||
nickname = `${$.nickName || $.UserName}`;
|
||||
//await TotalBean();
|
||||
await TotalBean();
|
||||
console.log(`\n开始【京东账号${$.index}】${$.nickName || $.UserName}\n`);
|
||||
if (!$.isLogin) {
|
||||
$.msg($.name, `【提示】cookie已失效`, `京东账号${$.index} ${$.nickName || $.UserName}\n请重新登录获取\nhttps://bean.m.jd.com/bean/signIndex.action`, {"open-url": "https://bean.m.jd.com/bean/signIndex.action"});
|
||||
|
@ -375,13 +373,13 @@ async function getMyPing(timeout = 500) {
|
|||
$.log(`${JSON.stringify(err)}`);
|
||||
}else {
|
||||
$.data = JSON.parse(data);
|
||||
rep_cookies = resp.headers['set-cookie'];
|
||||
// console.log(rep_cookies);
|
||||
r_cookie='';
|
||||
for(var c in rep_cookies){
|
||||
r_cookie += rep_cookies[c].split(" ")[0];
|
||||
}
|
||||
if($.data.result){
|
||||
rep_cookies = resp.headers['set-cookie'];
|
||||
// console.log(JSON.stringify($.data,null, '\t'));
|
||||
r_cookie='';
|
||||
for(var c in rep_cookies){
|
||||
r_cookie += rep_cookies[c].split(" ")[0];
|
||||
}
|
||||
if($.data.result){
|
||||
username=$.data.data.nickname;
|
||||
pin=encodeURIComponent($.data.data.secretPin);
|
||||
|
Loading…
Reference in New Issue
Block a user