mirror of
				https://github.com/shufflewzc/faker2.git
				synced 2025-11-04 23:32:44 +08:00 
			
		
		
		
	update
This commit is contained in:
		
							parent
							
								
									f5be640b28
								
							
						
					
					
						commit
						b167cb778a
					
				@ -1,3 +1,8 @@
 | 
			
		||||
if (process.env.JD_19E != "true") {
 | 
			
		||||
    console.log('\n默认不运行,安全性自行衡量,设置变量export JD_19E="true"来运行\n')
 | 
			
		||||
    return
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 | 
			
		||||
建议手动先点开一次
 | 
			
		||||
@ -34,7 +39,6 @@ $.shareCodesArr = [];
 | 
			
		||||
        $.msg($.name, '【提示】请先获取京东账号一cookie\n直接使用NobyDa的京东签到获取', 'https://bean.m.jd.com/bean/signIndex.action', { "open-url": "https://bean.m.jd.com/bean/signIndex.action" });
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    $.inviteIdCodesArr = {}
 | 
			
		||||
    for (let i = 0; i < cookiesArr.length && true; i++) {
 | 
			
		||||
        if (cookiesArr[i]) {
 | 
			
		||||
@ -263,7 +267,7 @@ function promote_sign() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function promote_raise() {
 | 
			
		||||
    let body = { "ss": { "extraData": { "log": "", "sceneid": "RAhomePageh5" }, "secretp": secretp, "random": randomString(6) } };
 | 
			
		||||
    let body = {"scenceId":4, "ss": { "extraData": { "log": "", "sceneid": "RAhomePageh5" }, "secretp": secretp, "random": randomString(6) } };
 | 
			
		||||
    return new Promise((resolve) => {
 | 
			
		||||
        $.post(taskPostUrl("promote_raise", body), async(err, resp, data) => {
 | 
			
		||||
            try {
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										334
									
								
								jd_19EPZ_help.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										334
									
								
								jd_19EPZ_help.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										3669
									
								
								jd_19E_help.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3669
									
								
								jd_19E_help.js
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										12
									
								
								jd_wish.js
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								jd_wish.js
									
									
									
									
									
								
							@ -5,17 +5,17 @@
 | 
			
		||||
===============Quantumultx===============
 | 
			
		||||
[task_local]
 | 
			
		||||
#众筹许愿池
 | 
			
		||||
40 0,2 * * * https://raw.githubusercontent.com/shufflewzc/faker2/main/jd_wish.js, tag=众筹许愿池, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/jd.png, enabled=true
 | 
			
		||||
40 0,2 * * * https://raw.githubusercontent.com/KingRan/JDJB/main/jd_wish.js, tag=众筹许愿池, img-url=https://raw.githubusercontent.com/Orz-3/mini/master/Color/jd.png, enabled=true
 | 
			
		||||
 | 
			
		||||
================Loon==============
 | 
			
		||||
[Script]
 | 
			
		||||
cron "40 0,2 * * *" script-path=https://raw.githubusercontent.com/shufflewzc/faker2/main/jd_wish.js,tag=众筹许愿池
 | 
			
		||||
cron "40 0,2 * * *" script-path=https://raw.githubusercontent.com/KingRan/JDJB/main/jd_wish.js,tag=众筹许愿池
 | 
			
		||||
 | 
			
		||||
===============Surge=================
 | 
			
		||||
众筹许愿池 = type=cron,cronexp="40 0,2 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/shufflewzc/faker2/main/jd_wish.js
 | 
			
		||||
众筹许愿池 = type=cron,cronexp="40 0,2 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/KingRan/JDJB/main/jd_wish.js
 | 
			
		||||
 | 
			
		||||
============小火箭=========
 | 
			
		||||
众筹许愿池 = type=cron,script-path=https://raw.githubusercontent.com/shufflewzc/faker2/main/jd_wish.js, cronexpr="40 0,2 * * *", timeout=3600, enable=true
 | 
			
		||||
众筹许愿池 = type=cron,script-path=https://raw.githubusercontent.com/KingRan/JDJB/main/jd_wish.js, cronexpr="40 0,2 * * *", timeout=3600, enable=true
 | 
			
		||||
 */
 | 
			
		||||
const $ = new Env('众筹许愿池');
 | 
			
		||||
const notify = $.isNode() ? require('./sendNotify') : '';
 | 
			
		||||
@ -25,8 +25,8 @@ let message = '', allMessage = '';
 | 
			
		||||
//IOS等用户直接用NobyDa的jd cookie
 | 
			
		||||
let cookiesArr = [], cookie = '';
 | 
			
		||||
const JD_API_HOST = 'https://api.m.jd.com/client.action';
 | 
			
		||||
let appIdArr = ['1EFFSyqaC','1FFVQyqw','1EFRWxKuG', '1E1xZy6s'];
 | 
			
		||||
let appNameArr = ['吃货嘉年华','1111点心动','许愿抽好礼', 'PLUS生活特权'];
 | 
			
		||||
let appIdArr = ['1EFNVyqeH','1FFVQyqw','1EFRWxKuG', '1E1xZy6s'];
 | 
			
		||||
let appNameArr = ['京东电器','1111点心动','许愿抽好礼', 'PLUS生活特权'];
 | 
			
		||||
let appId, appName;
 | 
			
		||||
$.shareCode = [];
 | 
			
		||||
if ($.isNode()) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user