mirror of https://github.com/6dylan6/jdpro.git
21 lines
81 KiB
JavaScript
21 lines
81 KiB
JavaScript
|
/**
|
|||
|
2022/8/17 兑换物流积分失败不在执行兑换京豆
|
|||
|
2022/8/24 兑回京豆调整为兑换剩余全部积分,不按兑换积分计
|
|||
|
2022/8/28 修复已知问题
|
|||
|
2022/9/15 兑换失败重试一次
|
|||
|
2023/2/6 一些优化
|
|||
|
2023/2/7 分离积分换豆;换积分失败重试2次
|
|||
|
2023/2/8 优化延时
|
|||
|
2023/5/10 fix
|
|||
|
默认不执行,如需执行请设置变量 DY_WASHBEANS='true'
|
|||
|
7天内过期京豆大于10个豆子才洗!
|
|||
|
每次最低兑100积分,最多500积分
|
|||
|
33 5 29 2 * https://raw.githubusercontent.com/6dylan6/jdpro/main/jd_washbeans.js
|
|||
|
问题建议TG -> https://t.me/dylan_jdpro
|
|||
|
*/
|
|||
|
if (process.env.DY_WASHBEANS != "true") {
|
|||
|
console.log('\n默认不运行,设置变量export DY_WASHBEANS="true"来运行\n')
|
|||
|
return
|
|||
|
}
|
|||
|
const $ = new Env('临期京豆换积分');
|
|||
|
var _0xodA='jsjiami.com.v7';const _0x3b8d12=_0x2c7a;(function(_0x85af29,_0x4efcf6,_0x2b18de,_0x18f0af,_0x1cd215,_0x2690ee,_0x141844){return _0x85af29=_0x85af29>>0x5,_0x2690ee='hs',_0x141844='hs',function(_0x521557,_0x786f8e,_0x45c168,_0x5e9fb1,_0x5bf09f){const _0x59db36=_0x2c7a;_0x5e9fb1='tfi',_0x2690ee=_0x5e9fb1+_0x2690ee,_0x5bf09f='up',_0x141844+=_0x5bf09f,_0x2690ee=_0x45c168(_0x2690ee),_0x141844=_0x45c168(_0x141844),_0x45c168=0x0;const _0x5bae43=_0x521557();while(!![]&&--_0x18f0af+_0x786f8e){try{_0x5e9fb1=-parseInt(_0x59db36(0x1b1,'njHZ'))/0x1+parseInt(_0x59db36(0x4c7,'k0pX'))/0x2*(parseInt(_0x59db36(0x492,'k0pX'))/0x3)+-parseInt(_0x59db36(0x4c2,'^#Q!'))/0x4*(parseInt(_0x59db36(0x2eb,'L*%w'))/0x5)+parseInt(_0x59db36(0x279,'tdiG'))/0x6+parseInt(_0x59db36(0x341,'n*q0'))/0x7+-parseInt(_0x59db36(0x373,'xBg1'))/0x8*(-parseInt(_0x59db36(0x357,'a5e6'))/0x9)+-parseInt(_0x59db36(0x2cd,'F0xC'))/0xa;}catch(_0x5dfad7){_0x5e9fb1=_0x45c168;}finally{_0x5bf09f=_0x5bae43[_0x2690ee]();if(_0x85af29<=_0x18f0af)_0x45c168?_0x1cd215?_0x5e9fb1=_0x5bf09f:_0x1cd215=_0x5bf09f:_0x45c168=_0x5bf09f;else{if(_0x45c168==_0x1cd215['replace'](/[PAywHbKLCkBNVJFGEUh=]/g,'')){if(_0x5e9fb1===_0x786f8e){_0x5bae43['un'+_0x2690ee](_0x5bf09f);break;}_0x5bae43[_0x141844](_0x5bf09f);}}}}}(_0x2b18de,_0x4efcf6,function(_0x45cea9,_0x3de76b,_0x3241fa,_0x23255e,_0x353f93,_0x25054b,_0xc9c7c2){return _0x3de76b='\x73\x70\x6c\x69\x74',_0x45cea9=arguments[0x0],_0x45cea9=_0x45cea9[_0x3de76b](''),_0x3241fa=`\x72\x65\x76\x65\x72\x73\x65`,_0x45cea9=_0x45cea9[_0x3241fa]('\x76'),_0x23255e=`\x6a\x6f\x69\x6e`,(0x160514,_0x45cea9[_0x23255e](''));});}(0x18a0,0x70d95,_0x58ef,0xc7),_0x58ef)&&(_0xodA=_0x3b8d12(0x173,'dCZy'));const _0x22294a=(function(){const _0x5d5d8a=_0x3b8d12,_0x4e61b4={'UhEDX':function(_0x357aea,_0x1a8876){return _0x357aea+_0x1a8876;},'qMGYY':_0x5d5d8a(0x2ae,'a5e6'),'mfiGp':function(_0x493d55,_0x2861cc){return _0x493d55+_0x2861cc;},'vLOpY':_0x5d5d8a(0x4cb,'O[A!'),'VfOje':_0x5d5d8a(0x40f,'vxkr'),'RQrah':function(_0x18e331,_0x4db7c6){return _0x18e331(_0x4db7c6);},'FRavn':_0x5d5d8a(0x24f,'R*Iu'),'svxKd':_0x5d5d8a(0x175,'kIO$'),'rneaF':_0x5d5d8a(0x3c3,'93uJ'),'gTApx':_0x5d5d8a(0x1a2,'L*%w'),'HOxQo':_0x5d5d8a(0x37d,'PRmM'),'LQggG':_0x5d5d8a(0x2c6,'Jio3'),'iqsgy':_0x5d5d8a(0x419,'U1Nv'),'qAVfu':_0x5d5d8a(0x329,'C@^Z'),'MczWE':_0x5d5d8a(0x33b,'rWY6'),'cgyFQ':_0x5d5d8a(0x2fb,'^#PR'),'jcGLe':_0x5d5d8a(0x451,'O[A!'),'gsOPt':function(_0x1a082e,_0x41cc60){return _0x1a082e===_0x41cc60;},'WwnYo':_0x5d5d8a(0x433,'93uJ')};let _0x2eca98=!![];return function(_0x54d902,_0x876cde){const _0xcca32e=_0x2eca98?function(){const _0x43cb78=_0x2c7a,_0x20ce8d={'kUyTk':function(_0x40ef85,_0x5406f8){const _0x2da7c8=_0x2c7a;return _0x4e61b4[_0x2da7c8(0x26f,'Z*y6')](_0x40ef85,_0x5406f8);},'LchGk':_0x4e61b4[_0x43cb78(0x2d0,'93uJ')],'UUjWD':function(_0x44703e,_0x150b1c){const _0x10093e=_0x43cb78;return _0x4e61b4[_0x10093e(0x45d,'[Biu')](_0x44703e,_0x150b1c);},'hkNFd':function(_0xa2b69b,_0x424369){const _0x3defa2=_0x43cb78;return _0x4e61b4[_0x3defa2(0x2ee,'OW1n')](_0xa2b69b,_0x424369);},'BBsFa':_0x4e61b4[_0x43cb78(0x1a7,'Jio3')],'nemol':_0x4e61b4[_0x43cb78(0x35a,'k0pX')],'hdxvl':function(_0x3b0219,_0x4ad1f1){const _0x110dca=_0x43cb78;return _0x4e61b4[_0x110dca(0x430,'[Biu')](_0x3b0219,_0x4ad1f1);},'opQrH':_0x4e61b4[_0x43cb78(0x35f,'O[A!')],'zLzvP':_0x4e61b4[_0x43cb78(0x2b2,'njHZ')],'lRFAh':_0x4e61b4[_0x43cb78(0x307,'a5e6')],'MQuVK':_0x4e61b4[_0x43cb78(0x4c4,'ABUU')],'TPAGL':_0x4e61b4[_0x43cb78(0x3ec,'vxkr')],'eYsuD':_0x4e61b4[_0x43cb78(0x3e1,'xXAi')],'hmZEj':function(_0x4ec36f,_0x47036){const _0x1e06ed=_0x43cb78;return _0x4e61b4[_0x1e06ed(0x397,'SaW2')](_0x4ec36f,_0x47036);},'SUtmO':_0x4e61b4[_0x43cb78(0x42d,'xBg1')],'mmORK':_0x4e61b4[_0x43cb78(0x300,'EiGk')],'nvvvM':_0x4e61b4[_0x43cb78(0x435,'L*%w')],'uakbA':_0x4e61b4[_0x43cb78(0x421,'C@^Z')],'odkUa':_0x4e61b4[_0x43cb78(0x207,'PRmM')]};if(_0x876cde){if(_0x4e61b4[_0x43cb78(0x385,'n*q0')](_0x4e61b4[_0x43cb78(0x39b,'#gbS')],_0x4e61b4[_0x43cb78(0x35b,'n*q0')])){const _0x4f8553=_0x876cde[_0x43cb78(0x316,'a5e6')](_0x54d902,arguments);return _0x876cde=nul
|