代码拉取完成,页面将自动刷新
同步操作将从 XanderYe/jd_scripts 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/**
* cron: 59 23 * * 0
*/
import {requireConfig} from "./TS_USER_AGENTS";
import {bean, farm, pet, factory, sgmh, jxfactory, health, cash} from "./utils/shareCodesTool";
let cookie: string = '', UserName: string, index: number;
!(async () => {
let cookiesArr: any = await requireConfig();
for (let i = 0; i < cookiesArr.length; i++) {
cookie = cookiesArr[i];
UserName = decodeURIComponent(cookie.match(/pt_pin=([^;]*)/)![1])
index = i + 1;
console.log(`\n开始【京东账号${index}】${UserName}\n`);
console.log('种豆得豆:', await bean(cookie))
console.log('东东农场:', await farm(cookie))
console.log('京东健康:', await health(cookie))
console.log('东东萌宠:', await pet(cookie))
console.log('东东工厂:', await factory(cookie))
console.log('京喜工厂:', await jxfactory(cookie))
console.log('闪购盲盒:', await sgmh(cookie))
console.log('领现金呀:', await cash(cookie))
}
})()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。