mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 10:58:44 +08: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]
|
[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
|
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]
|
[task_local]
|
||||||
#PKC-特效关注有礼
|
#获取body后执行
|
||||||
1 1 1 1 * jd_txgzyl.js, tag=PKC-特效关注有礼, enabled=true
|
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;
|
$.isLogin = true;
|
||||||
$.nickName = '';
|
$.nickName = '';
|
||||||
nickname = `${$.nickName || $.UserName}`;
|
nickname = `${$.nickName || $.UserName}`;
|
||||||
//await TotalBean();
|
await TotalBean();
|
||||||
console.log(`\n开始【京东账号${$.index}】${$.nickName || $.UserName}\n`);
|
console.log(`\n开始【京东账号${$.index}】${$.nickName || $.UserName}\n`);
|
||||||
if (!$.isLogin) {
|
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"});
|
$.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"});
|
||||||
@ -376,7 +374,7 @@ async function getMyPing(timeout = 500) {
|
|||||||
}else {
|
}else {
|
||||||
$.data = JSON.parse(data);
|
$.data = JSON.parse(data);
|
||||||
rep_cookies = resp.headers['set-cookie'];
|
rep_cookies = resp.headers['set-cookie'];
|
||||||
// console.log(rep_cookies);
|
// console.log(JSON.stringify($.data,null, '\t'));
|
||||||
r_cookie='';
|
r_cookie='';
|
||||||
for(var c in rep_cookies){
|
for(var c in rep_cookies){
|
||||||
r_cookie += rep_cookies[c].split(" ")[0];
|
r_cookie += rep_cookies[c].split(" ")[0];
|
Loading…
Reference in New Issue
Block a user