KR/function/krgetToken.js

13 lines
15 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-09 10:31:22 +08:00
根据自行需要设定缓存文件数据通用不再区分域名
*/
2023-09-11 23:23:18 +08:00
var version_='jsjiami.com.v7';const IiiIIl=I11iIIli;function I11iIIli(_0x24a641,_0x120e05){const _0x21b028=lI11l1I1();return I11iIIli=function(_0x3677c8,_0x5773f8){_0x3677c8=_0x3677c8-0x1c3;let _0x2fe851=_0x21b028[_0x3677c8];if(I11iIIli['jsrbOO']===undefined){var _0x40596a=function(_0x30de30){const _0x2bc22e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1a649b='',_0x19e7c0='';for(let _0x10a31d=0x0,_0x2fc924,_0x1c1f26,_0x387903=0x0;_0x1c1f26=_0x30de30['charAt'](_0x387903++);~_0x1c1f26&&(_0x2fc924=_0x10a31d%0x4?_0x2fc924*0x40+_0x1c1f26:_0x1c1f26,_0x10a31d++%0x4)?_0x1a649b+=String['fromCharCode'](0xff&_0x2fc924>>(-0x2*_0x10a31d&0x6)):0x0){_0x1c1f26=_0x2bc22e['indexOf'](_0x1c1f26);}for(let _0x2e617e=0x0,_0x2438d=_0x1a649b['length'];_0x2e617e<_0x2438d;_0x2e617e++){_0x19e7c0+='%'+('00'+_0x1a649b['charCodeAt'](_0x2e617e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x19e7c0);};const _0x5304d7=function(_0x4e11c6,_0x2c0cd2){let _0x285885=[],_0x327b63=0x0,_0x435e4b,_0x51a7eb='';_0x4e11c6=_0x40596a(_0x4e11c6);let _0x38a9c7;for(_0x38a9c7=0x0;_0x38a9c7<0x100;_0x38a9c7++){_0x285885[_0x38a9c7]=_0x38a9c7;}for(_0x38a9c7=0x0;_0x38a9c7<0x100;_0x38a9c7++){_0x327b63=(_0x327b63+_0x285885[_0x38a9c7]+_0x2c0cd2['charCodeAt'](_0x38a9c7%_0x2c0cd2['length']))%0x100,_0x435e4b=_0x285885[_0x38a9c7],_0x285885[_0x38a9c7]=_0x285885[_0x327b63],_0x285885[_0x327b63]=_0x435e4b;}_0x38a9c7=0x0,_0x327b63=0x0;for(let _0x79e8ff=0x0;_0x79e8ff<_0x4e11c6['length'];_0x79e8ff++){_0x38a9c7=(_0x38a9c7+0x1)%0x100,_0x327b63=(_0x327b63+_0x285885[_0x38a9c7])%0x100,_0x435e4b=_0x285885[_0x38a9c7],_0x285885[_0x38a9c7]=_0x285885[_0x327b63],_0x285885[_0x327b63]=_0x435e4b,_0x51a7eb+=String['fromCharCode'](_0x4e11c6['charCodeAt'](_0x79e8ff)^_0x285885[(_0x285885[_0x38a9c7]+_0x285885[_0x327b63])%0x100]);}return _0x51a7eb;};I11iIIli['JPnipO']=_0x5304d7,_0x24a641=arguments,I11iIIli['jsrbOO']=!![];}const _0x258a39=_0x21b028[0x0],_0x1f2258=_0x3677c8+_0x258a39,_0x557087=_0x24a641[_0x1f2258];return!_0x557087?(I11iIIli['DEMqmV']===undefined&&(I11iIIli['DEMqmV']=!![]),_0x2fe851=I11iIIli['JPnipO'](_0x2fe851,_0x5773f8),_0x24a641[_0x1f2258]=_0x2fe851):_0x2fe851=_0x557087,_0x2fe851;},I11iIIli(_0x24a641,_0x120e05);}function lI11l1I1(){const IiII1iiI=(function(){return[...[version_,'hGeXjTpsjtlilaIGmhpIiJYw.CcXAoJJmfFL.vx7==','W7ZdVSkxymkEDxnzsCkFW5yK','vvHHEge','WRldMCk7WPjf','W5JdL8khWPLg','WR7cJxu','vConWOK','WOaLW6a','W6ddRCkEWPWmn8kWW6tdUCk+F33dOY3dMCovamoTzNqJzHTRW6/cSdFcMdG','x8o0uCoMWPO','yf1FW5vO','rCo3ld0+','xmkSW7rg','p8kUBmogW4i','4PULW6xLVANLI4BMOBhMT6RLIANLT5JLV6/LKkBKUztNKAxVVi7KVzxMN57LO7lLHR7KUjxNK7hLNkdLNyRLJ4ZPHiG','W6hdV17dLelcMG','cCk0qx8tjaLEW7BdRSoWgevzWPhdR3K','W5FdNCk/','CCoIqCoi','W4CXxmoMnCk9iSk8W6ZcMMlcRIG','W6CuW4tdKY9SW4i','ECo8faS9WPdcRtu','W59YmIRdPWxdOSoKWRu','WOO0WPJdNtNcGuPLkHJcRg5AWQC','ptmHmmk+','xmomWPG','kmoSrCo7W4W','4PUo77MCWPPIowzAWOxLPz/OTPlNRkFLVQ/cGG','n8kKvmoVW57dJa','WRbrWO/cIqfgW4dcNsib','W5NdNCk8wW','WQS8W5ftoa','W4FcGmkn','WQtdM3C','WORcN8keWRa','f0ddMmkvWQRdOCkUW6C','WR/dTSkJWRCU','WRnrWOBcGxK+W6lcKHChW60H','rSoEs8ooWPe','W5lcTCkO','lJe1iSkz','WPNdN8oCivpcHriula','s+wiSoMqGJC','W6SxWR4L'],...(function(){return[...['W7FdJeFdKLu','W6pdSSoEW4FcOfZcUSkU','aCojBSoBW6xcUXyUW5NdOv3cHCoPwSoNhmoQ','WP7dVSoxWRHP','qSoRW5q','dCoEvG','et06gCkVW7KqWOyPf8ohjCoLpsi','wmosWODMWQK7WP7dRmkuW7bGW60','WPdcSxW2vG','Fmk5aSkQWPhdIdqmW6/dR3BcSW','W67cPmo/W5C1gczaWRSm','WO4Jd8kPwmkUa8k5W41rWOm','WP5Sda','WQGKWQbUWPNcMmkUDuzCpW','W784eCkkW6tdGHKquSoU','WQPpW7LKW47cIGzfW6vqhW','xhPLFeXsC8oKrM/cJte','W7BcNmkEWQ/cGa','4PQn77IsWRlKURVNKQ/LTkNLV4hLKilVVkVLU5tOR5lORzhNV57dLCkzgCoClEESGEw9KoAvL+MxLUs6RSkaWPxdVoEMSq','8y+zIYLxf8oJrL9ui8odW7dcISovAowCTowMToEqJUIVKoAYRoAuNEMdMUwjVEs4P+MvIUIUIq','WRldO8oun1RcLNC6','WO5ozaS','WQONj8kGma','W7esW5FdHdv7W6RcKqKeW4KiDa','WOqXCJldHHhdTmowWRddGdDTuq','W5RdLv7cVvldRx8PWOJcKW','zsvpW7JdPmoTWQORWOSp','4PULW6xMO7RMT4dLV6lLI6ZMQBJLVkxMN4xLViNLKPJKUOdNKitVVj/PUkZORl3NM5pOVkJOVkFOOzW','WQBdHNnJWQNdI1q','W4/dPmkpuCkk','WROQjmkpeG','WQ/cJe5rka','pxKE','W43NPlbmW7KN576A5A2R5PAW6zskW7i','aCksWOGeWRjIWRld