KR/function/krgetToken.js

15 lines
18 KiB
JavaScript
Raw Normal View History

2023-09-09 10:31:22 +08:00
/*
new Env('getToken');
变量
JD_TOKEN_INTERVAL //获取接口403延迟等待时长正整数默认延迟 30s=30000ms
2023-09-09 11:16:51 +08:00
JD_NEWTOKEN_INTERVAL //获取接口成功延迟等待时长(正整数),默认延迟 0s
2023-09-11 23:17:35 +08:00
JD_CACHE_INTERVAL //缓存TOKEN时长正整数默认缓存 25 分钟
JD_PROXY_OPEN // 代理启用变量默认不开启true/false
JD_PROXY_TUNNRL // 代理地址变量,默认不开启,仅支持代理池模式(auto-proxy-pool)格式为http://ip:port
2023-09-16 12:02:21 +08:00
JD_NO_PROXY // 禁止走代理,默认 127.0.0.1,*.baidu.com 需要自行修改
2023-12-24 19:20:51 +08:00
JD_TOKEN_CUSTOM_CACHE || JD_ISV_TOKEN_CUSTOM_CACHE // 定义默认缓存文件路径 此文件默认存储在仓库 `function/cache` 目录下
2023-09-09 10:31:22 +08:00
根据自行需要设定缓存文件数据通用不再区分域名
*/
2023-12-24 19:20:51 +08:00
var il='jsjiami.com.v7';function iii1II(_0x585bd0,_0xc64d7f){const _0x94669d=Iii11l();return iii1II=function(_0xd45819,_0x7b037f){_0xd45819=_0xd45819-0x1af;let _0x50cb39=_0x94669d[_0xd45819];if(iii1II['sMerXm']===undefined){var _0x3b1214=function(_0x5d3363){const _0x28635a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x52addb='',_0x12c896='';for(let _0x454219=0x0,_0x2ab6a7,_0x295e2b,_0x10fc3f=0x0;_0x295e2b=_0x5d3363['charAt'](_0x10fc3f++);~_0x295e2b&&(_0x2ab6a7=_0x454219%0x4?_0x2ab6a7*0x40+_0x295e2b:_0x295e2b,_0x454219++%0x4)?_0x52addb+=String['fromCharCode'](0xff&_0x2ab6a7>>(-0x2*_0x454219&0x6)):0x0){_0x295e2b=_0x28635a['indexOf'](_0x295e2b);}for(let _0x16488e=0x0,_0x40b971=_0x52addb['length'];_0x16488e<_0x40b971;_0x16488e++){_0x12c896+='%'+('00'+_0x52addb['charCodeAt'](_0x16488e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x12c896);};const _0xd685c1=function(_0x5cec83,_0x333c83){let _0x578a5b=[],_0x477450=0x0,_0x33b485,_0x2b952e='';_0x5cec83=_0x3b1214(_0x5cec83);let _0x3719a8;for(_0x3719a8=0x0;_0x3719a8<0x100;_0x3719a8++){_0x578a5b[_0x3719a8]=_0x3719a8;}for(_0x3719a8=0x0;_0x3719a8<0x100;_0x3719a8++){_0x477450=(_0x477450+_0x578a5b[_0x3719a8]+_0x333c83['charCodeAt'](_0x3719a8%_0x333c83['length']))%0x100,_0x33b485=_0x578a5b[_0x3719a8],_0x578a5b[_0x3719a8]=_0x578a5b[_0x477450],_0x578a5b[_0x477450]=_0x33b485;}_0x3719a8=0x0,_0x477450=0x0;for(let _0x277f1e=0x0;_0x277f1e<_0x5cec83['length'];_0x277f1e++){_0x3719a8=(_0x3719a8+0x1)%0x100,_0x477450=(_0x477450+_0x578a5b[_0x3719a8])%0x100,_0x33b485=_0x578a5b[_0x3719a8],_0x578a5b[_0x3719a8]=_0x578a5b[_0x477450],_0x578a5b[_0x477450]=_0x33b485,_0x2b952e+=String['fromCharCode'](_0x5cec83['charCodeAt'](_0x277f1e)^_0x578a5b[(_0x578a5b[_0x3719a8]+_0x578a5b[_0x477450])%0x100]);}return _0x2b952e;};iii1II['ezgSSz']=_0xd685c1,_0x585bd0=arguments,iii1II['sMerXm']=!![];}const _0x3da425=_0x94669d[0x0],_0x335253=_0xd45819+_0x3da425,_0x5534d1=_0x585bd0[_0x335253];return!_0x5534d1?(iii1II['cbgdzJ']===undefined&&(iii1II['cbgdzJ']=!![]),_0x50cb39=iii1II['ezgSSz'](_0x50cb39,_0x7b037f),_0x585bd0[_0x335253]=_0x50cb39):_0x50cb39=_0x5534d1,_0x50cb39;},iii1II(_0x585bd0,_0xc64d7f);}const lllll=iii1II;function Iii11l(){const lllill=(function(){return[...[il,'lJjgsNjLOiKakOwmiDSS.OcENyoeBmwg.NxCvfn7==','tCoBWOjcWQVdMMKCxXtdGq','4PIy77QJBwpdTCoTW7xdHowMI+I1K+ESJEw9PG4','uYPEWRFcGW','WQG6WOFdSmoX','WP9PWQicW5qscSkWkCkgm8kP','WPVdLLK','W5ldHWhdPW','WPldI0ZdTmoa','wmkJWOq','W5NcJZm','bSk0BhhdTq','W5ZcKYldGIVcNMZcSLZcV1hcMGS','WRP3x8k9','4PUzW4xOR63NN63MM6tKUj3NKPBLN6hLNPxKUk7MLzZMJQBKUyZNKQ7MS47MQ67LVjNcG8kEch9limoRiSkjdmkTW4H/lSkgW5fA','hmknWP0smq','x8keW6RdOh8','WQ04W5FcObe','WRddGIrq','s8ozWOznWQtdO0iBzbtdHW','f8oodG','W4HxiqFdPCorAH4','4PQD77IKW6lKUP7NKOhLTO7LVONLKAlVV4hLUPpORkBORBVNVQTmWQVcHNFcToETVow9N+AwJEMvO+s6N8kEqqdNPj0','WO8pgmolWRldLSkyW65L','n8kNW50wW7C','vCkhW6i','lCkECxJdQxm1WPW3f0bGWR3cH8o7','aZal','W7GCx1pcRa','n8o8FJVcUSo/B8k1EuZdRmomWOJdJmkuWOCO','lCkECwBdVMS5WOOJbLTXWRRcM8oJm25RWRRcVa','W5XoW6lcSmkfnbtdImkhsCkR','WRWHW5BcNte','WRSCWRDhW6i','zCodkG','W4pdPSkXfetcPHWtvc8','ndv/W4rU','WQLhWPVcO33dHmoTnI7cLq','fCkJW6VdK8oGWRrCwGC','W7n9BSonWR0','xSkeW6RdRwXTW6zLW5ddVmksvSoFaf80wSoUW7pcHJBcLa','WR8tW7qUW4WyW6mFWRK','6kYQ5A+06kcEu8oRimowFSkEW7mhW7nrW5ZdQos9RUI1OE++H+AiI+IbIowrRUEvGos5PEEsGU+/ISoB','W5hdISot','8lg6MxiqW6/dI00uWQtcLCoxWOWsfCoe6k2i5RgJ5AAB6lwtWO7IN4lcT+AmPUwoJUI/PEwyS+s6M+EPQq','WOWgWRpdK8o0','bZHPW75yW6hcHSo6zSoFESk8W4iixwHk','WQJdIda','W455uG','WOpdG8ogyZ54cGHT','WRLuWP/cSw0','WP3cTCoVsvq','y8oOWQqyne05WRq','5Bwe6k205y6e5P6X5z2c57YT5AYLh8ocW4y2xSki','irnr','wJjX','W4XOs8oWWPW','WQ5CWPhcSMy','W5VdKam','dt86W6Gs'],...(function(){return[...['WR9TwmkjWRy','ECoTFbNcUG','kCk6W5GcW6ldNSkT','WOBcJfBdVrS/DIJdNq','cJeA','W6ecp8kpWOK','WRDjWQNcN3G','W5BcLCkcDq','qGrqWORcTq','fCkkFq','fCkYEMZdRq','s8okW63cJq9knGpdVwldNZdcHaXhqbaAW63dOJfWW7hcLMFcKCojoCoF','nCk3oq','FbpdHCkmW7a','4P+7WP8dW6ehkLi5W6PbAmocW5K/EMJNVlhLRQpLPlNOTj8b4PYjW7e','rmo0WRNdUq','4PIEgoIVN+EDMEAAUos5M+EtU+wELowDO+s7O+AuT+ApH+s4JoErOEAZQ+AQSUw8Nmo0sCoSmr0VWQVcPKxdR8kgW43dSfajW