anncic-api 1.1.40 → 1.1.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- 'use strict';var a0_0x34e3a8=a0_0x5c4f;(function(_0x555bd3,_0x449a75){var _0x3ffdf1=a0_0x5c4f,_0x1992fc=_0x555bd3();while(!![]){try{var _0x276363=-parseInt(_0x3ffdf1(0x106))/0x1+parseInt(_0x3ffdf1(0x110))/0x2+-parseInt(_0x3ffdf1(0x104))/0x3*(-parseInt(_0x3ffdf1(0x107))/0x4)+-parseInt(_0x3ffdf1(0x10c))/0x5*(parseInt(_0x3ffdf1(0x10b))/0x6)+parseInt(_0x3ffdf1(0x103))/0x7+-parseInt(_0x3ffdf1(0x10d))/0x8*(parseInt(_0x3ffdf1(0x114))/0x9)+parseInt(_0x3ffdf1(0x113))/0xa;if(_0x276363===_0x449a75)break;else _0x1992fc['push'](_0x1992fc['shift']());}catch(_0x193100){_0x1992fc['push'](_0x1992fc['shift']());}}}(a0_0x5b2c,0xb1564));function a0_0x5c4f(_0x27e2aa,_0x173b2a){var _0x5b2cb1=a0_0x5b2c();return a0_0x5c4f=function(_0x5c4f7b,_0x1f0121){_0x5c4f7b=_0x5c4f7b-0x101;var _0x391b39=_0x5b2cb1[_0x5c4f7b];return _0x391b39;},a0_0x5c4f(_0x27e2aa,_0x173b2a);}function a0_0x5b2c(){var _0x4876d6=['/runtime/.upload','dhauo1234420123gg3234901','appDir','18WvzmEn','1475415eZsphG','232aqRcOi','defineProperty','zhiulanuiy7892387985hnoi','473664fYUvjL','20mb','xml','17800800jtCtBc','142326IHrUth','text','default','1096627tnVYzF','249uaOCLF','json','432275EFQdOs','15852cikgHB'];a0_0x5b2c=function(){return _0x4876d6;};return a0_0x5b2c();}Object[a0_0x34e3a8(0x10e)](exports,'__esModule',{'value':!![]}),exports[a0_0x34e3a8(0x102)]=_0x3f1c41=>{var _0x28ee6b=a0_0x34e3a8;return{'apitest':!![],'keys':_0x3f1c41['name'],'anncicapi':{'timeout':0x1388,'password':_0x28ee6b(0x10f),'devices':{'DEFAULT':{'secret':_0x28ee6b(0x109),'checkcode':_0x28ee6b(0x109)}}},'bodyParser':{'enableTypes':[_0x28ee6b(0x105),'form',_0x28ee6b(0x101),_0x28ee6b(0x112)],'formLimit':_0x28ee6b(0x111),'jsonLimit':'20mb','textLimit':_0x28ee6b(0x111),'xmlLimit':_0x28ee6b(0x111)},'upload':{'tmpdir':_0x3f1c41[_0x28ee6b(0x10a)]+_0x28ee6b(0x108),'cleanTimeout':0x5265c00}};};
1
+ 'use strict';var a0_0x2e60ff=a0_0x5d17;(function(_0x52082e,_0x4762aa){var _0x57978e=a0_0x5d17,_0x578a1f=_0x52082e();while(!![]){try{var _0x32d80b=-parseInt(_0x57978e(0xfa))/0x1+parseInt(_0x57978e(0x10c))/0x2*(parseInt(_0x57978e(0x100))/0x3)+parseInt(_0x57978e(0x109))/0x4*(-parseInt(_0x57978e(0x10a))/0x5)+-parseInt(_0x57978e(0x103))/0x6*(-parseInt(_0x57978e(0x10b))/0x7)+parseInt(_0x57978e(0x107))/0x8+-parseInt(_0x57978e(0xfc))/0x9*(-parseInt(_0x57978e(0xff))/0xa)+parseInt(_0x57978e(0xfb))/0xb;if(_0x32d80b===_0x4762aa)break;else _0x578a1f['push'](_0x578a1f['shift']());}catch(_0x3a3f01){_0x578a1f['push'](_0x578a1f['shift']());}}}(a0_0x26de,0xd653e));function a0_0x5d17(_0x2dc7aa,_0x3944a0){var _0x26de2f=a0_0x26de();return a0_0x5d17=function(_0x5d1755,_0x1de767){_0x5d1755=_0x5d1755-0xf9;var _0xa87734=_0x26de2f[_0x5d1755];return _0xa87734;},a0_0x5d17(_0x2dc7aa,_0x3944a0);}Object[a0_0x2e60ff(0x101)](exports,a0_0x2e60ff(0x106),{'value':!![]}),exports[a0_0x2e60ff(0x10d)]=_0x1418bb=>{var _0x16f646=a0_0x2e60ff;return{'apitest':!![],'keys':_0x1418bb[_0x16f646(0xf9)],'anncicapi':{'timeout':0x1388,'password':'zhiulanuiy7892387985hnoi','devices':{'DEFAULT':{'secret':_0x16f646(0x104),'checkcode':_0x16f646(0x104)}}},'bodyParser':{'enableTypes':['json',_0x16f646(0x108),'text',_0x16f646(0x105)],'formLimit':_0x16f646(0xfe),'jsonLimit':_0x16f646(0xfe),'textLimit':_0x16f646(0xfe),'xmlLimit':_0x16f646(0xfe)},'upload':{'tmpdir':_0x1418bb[_0x16f646(0xfd)]+_0x16f646(0x102),'cleanTimeout':0x5265c00}};};function a0_0x26de(){var _0x48b863=['367958rYiiOp','default','name','1509597sTLPyI','7623550yoagEW','66753TqXTcx','appDir','20mb','340wymidy','6YBZVAN','defineProperty','/runtime/.upload','39786rIdyBm','dhauo1234420123gg3234901','xml','__esModule','6185640AFVNhD','form','19464nPEcSD','1285gQCkSm','1638RSaBcd'];a0_0x26de=function(){return _0x48b863;};return a0_0x26de();}
@@ -1 +1 @@
1
- 'use strict';function a1_0x397d(_0x1e4927,_0x3a2211){var _0x2a72ba=a1_0x2a72();return a1_0x397d=function(_0x397d24,_0x5bce42){_0x397d24=_0x397d24-0x14b;var _0x2cd212=_0x2a72ba[_0x397d24];return _0x2cd212;},a1_0x397d(_0x1e4927,_0x3a2211);}function a1_0x2a72(){var _0x5699b5=['__esModule','10635MMxwPu','182Agpmnp','2792AReist','804mNqKkp','159848yeerpz','770475POMTaI','default','278214VTAIBh','4602978paaqUA','6219EuTkHA','9609250udwmhx'];a1_0x2a72=function(){return _0x5699b5;};return a1_0x2a72();}var a1_0x2a8f19=a1_0x397d;(function(_0x515423,_0x6b0cb8){var _0x31ffe6=a1_0x397d,_0x44d5af=_0x515423();while(!![]){try{var _0x5c259d=-parseInt(_0x31ffe6(0x152))/0x1+-parseInt(_0x31ffe6(0x150))/0x2*(-parseInt(_0x31ffe6(0x156))/0x3)+-parseInt(_0x31ffe6(0x14f))/0x4*(-parseInt(_0x31ffe6(0x14d))/0x5)+parseInt(_0x31ffe6(0x154))/0x6*(-parseInt(_0x31ffe6(0x14e))/0x7)+-parseInt(_0x31ffe6(0x151))/0x8+-parseInt(_0x31ffe6(0x155))/0x9+parseInt(_0x31ffe6(0x14b))/0xa;if(_0x5c259d===_0x6b0cb8)break;else _0x44d5af['push'](_0x44d5af['shift']());}catch(_0x4bb797){_0x44d5af['push'](_0x44d5af['shift']());}}}(a1_0x2a72,0xbc561));Object['defineProperty'](exports,a1_0x2a8f19(0x14c),{'value':!![]}),exports[a1_0x2a8f19(0x153)]={'apitest':![],'anncicapi':{'timeout':0x1388}};
1
+ 'use strict';function a1_0x46bf(){var _0x3884f9=['764286AeiDwS','955tjKMdW','43886MDkTat','defineProperty','2130561cwGtKy','15762KmhoEz','21pxyuCK','50TwaLTG','7150232VdchZc','1749776kJpduV','3611706SyJUGO','__esModule','default'];a1_0x46bf=function(){return _0x3884f9;};return a1_0x46bf();}var a1_0x41b9a5=a1_0x3e7f;(function(_0xe985d1,_0x5babe8){var _0x4bfb54=a1_0x3e7f,_0x3f1347=_0xe985d1();while(!![]){try{var _0x5da640=parseInt(_0x4bfb54(0xac))/0x1*(parseInt(_0x4bfb54(0xa8))/0x2)+parseInt(_0x4bfb54(0xa6))/0x3+-parseInt(_0x4bfb54(0xa2))/0x4+-parseInt(_0x4bfb54(0xa7))/0x5*(parseInt(_0x4bfb54(0xab))/0x6)+parseInt(_0x4bfb54(0xa3))/0x7+-parseInt(_0x4bfb54(0xae))/0x8+parseInt(_0x4bfb54(0xaa))/0x9*(parseInt(_0x4bfb54(0xad))/0xa);if(_0x5da640===_0x5babe8)break;else _0x3f1347['push'](_0x3f1347['shift']());}catch(_0x2ee0fe){_0x3f1347['push'](_0x3f1347['shift']());}}}(a1_0x46bf,0x8e22c));function a1_0x3e7f(_0x48b350,_0x3830f6){var _0x46bf58=a1_0x46bf();return a1_0x3e7f=function(_0x3e7fce,_0x1e9559){_0x3e7fce=_0x3e7fce-0xa2;var _0x276c0b=_0x46bf58[_0x3e7fce];return _0x276c0b;},a1_0x3e7f(_0x48b350,_0x3830f6);}Object[a1_0x41b9a5(0xa9)](exports,a1_0x41b9a5(0xa4),{'value':!![]}),exports[a1_0x41b9a5(0xa5)]={'apitest':![],'anncicapi':{'timeout':0x1388}};
@@ -1 +1 @@
1
- 'use strict';function a2_0x536c(_0x155ccd,_0xa2bc8f){const _0x99be22=a2_0x99be();return a2_0x536c=function(_0x536c95,_0x8d7f26){_0x536c95=_0x536c95-0x90;let _0x30988c=_0x99be22[_0x536c95];return _0x30988c;},a2_0x536c(_0x155ccd,_0xa2bc8f);}const a2_0xdc800a=a2_0x536c;(function(_0x590b9d,_0xeabf67){const _0x4b8aad=a2_0x536c,_0x111151=_0x590b9d();while(!![]){try{const _0x36ce69=-parseInt(_0x4b8aad(0xae))/0x1+parseInt(_0x4b8aad(0xb3))/0x2*(-parseInt(_0x4b8aad(0xb1))/0x3)+parseInt(_0x4b8aad(0xa8))/0x4*(-parseInt(_0x4b8aad(0xc5))/0x5)+parseInt(_0x4b8aad(0xf7))/0x6*(-parseInt(_0x4b8aad(0xe2))/0x7)+-parseInt(_0x4b8aad(0xa9))/0x8+parseInt(_0x4b8aad(0x99))/0x9+parseInt(_0x4b8aad(0xca))/0xa*(parseInt(_0x4b8aad(0xe9))/0xb);if(_0x36ce69===_0xeabf67)break;else _0x111151['push'](_0x111151['shift']());}catch(_0x3dc340){_0x111151['push'](_0x111151['shift']());}}}(a2_0x99be,0x374ad));var __decorate=this&&this[a2_0xdc800a(0xc6)]||function(_0xe7bfa9,_0xaecdbb,_0x2c45dd,_0x20f354){const _0x32f986=a2_0xdc800a;var _0x464f9d=arguments[_0x32f986(0xac)],_0x351155=_0x464f9d<0x3?_0xaecdbb:_0x20f354===null?_0x20f354=Object[_0x32f986(0xcb)](_0xaecdbb,_0x2c45dd):_0x20f354,_0xb9d574;if(typeof Reflect===_0x32f986(0xf1)&&typeof Reflect[_0x32f986(0xdc)]===_0x32f986(0xd1))_0x351155=Reflect[_0x32f986(0xdc)](_0xe7bfa9,_0xaecdbb,_0x2c45dd,_0x20f354);else{for(var _0x56cf12=_0xe7bfa9['length']-0x1;_0x56cf12>=0x0;_0x56cf12--)if(_0xb9d574=_0xe7bfa9[_0x56cf12])_0x351155=(_0x464f9d<0x3?_0xb9d574(_0x351155):_0x464f9d>0x3?_0xb9d574(_0xaecdbb,_0x2c45dd,_0x351155):_0xb9d574(_0xaecdbb,_0x2c45dd))||_0x351155;}return _0x464f9d>0x3&&_0x351155&&Object[_0x32f986(0xa0)](_0xaecdbb,_0x2c45dd,_0x351155),_0x351155;},__metadata=this&&this[a2_0xdc800a(0x93)]||function(_0x36d490,_0x5b380a){const _0xac4f38=a2_0xdc800a;if(typeof Reflect===_0xac4f38(0xf1)&&typeof Reflect[_0xac4f38(0x92)]===_0xac4f38(0xd1))return Reflect[_0xac4f38(0x92)](_0x36d490,_0x5b380a);};Object[a2_0xdc800a(0xa0)](exports,a2_0xdc800a(0xeb),{'value':!![]}),exports[a2_0xdc800a(0x91)]=void 0x0;const decorator_1=require(a2_0xdc800a(0xd0)),core_1=require(a2_0xdc800a(0xe8)),ApiError_1=require(a2_0xdc800a(0xb0)),ApiService_1=require(a2_0xdc800a(0xc7)),action_1=require('./types/action'),fs=require('fs'),koa=require(a2_0xdc800a(0xd5)),i18n=require(a2_0xdc800a(0xe3)),task=require(a2_0xdc800a(0x95)),upload=require(a2_0xdc800a(0xf6)),staticFile=require(a2_0xdc800a(0xbc)),crossDomain=require(a2_0xdc800a(0xc8)),ConfigDefault=require(a2_0xdc800a(0xe4)),ConfigProduction=require('./config/config.production'),anncic=require(a2_0xdc800a(0xc1)),anncicCache=require(a2_0xdc800a(0xaf)),anncicEvent=require(a2_0xdc800a(0xb8)),anncicTypeorm=require(a2_0xdc800a(0xc0)),anncicValidator=require('@anncic-api/validator'),anncicHelper=require(a2_0xdc800a(0x9b));let CustomConfiguration=class CustomConfiguration{async[a2_0xdc800a(0xcd)](){const _0x39137d=a2_0xdc800a;await this[_0x39137d(0xda)](),await this[_0x39137d(0xf8)](),await this[_0x39137d(0xef)](),await this[_0x39137d(0xd3)]();}async['checkConfigKeys'](){}async['handlerActionRoute'](){const _0x5531e4=a2_0xdc800a,_0x25815d=this[_0x5531e4(0xf4)][_0x5531e4(0xc9)]();this[_0x5531e4(0xa1)]['registerMethodHandler'](action_1[_0x5531e4(0x9d)],_0x4fd360=>{const _0x2ad30e=_0x5531e4,_0x30aae7=_0x4fd360[_0x2ad30e(0x92)];return{'before':async _0x3e8912=>{const _0xd7d65c=_0x2ad30e;var _0x279f17,_0x460c15;const _0x474ca2=(_0x279f17=_0x3e8912===null||_0x3e8912===void 0x0?void 0x0:_0x3e8912['target'])===null||_0x279f17===void 0x0?void 0x0:_0x279f17[core_1[_0xd7d65c(0x98)]];if(_0x474ca2&&(_0x30aae7===null||_0x30aae7===void 0x0?void 0x0:_0x30aae7['apimit'])){if(!this[_0xd7d65c(0x9c)][_0xd7d65c(0xf0)]((_0x460c15=_0x474ca2===null||_0x474ca2===void 0x0?void 0x0:_0x474ca2[_0xd7d65c(0x9e)])===null||_0x460c15===void 0x0?void 0x0:_0x460c15[_0xd7d65c(0xbe)]))throw new AnnError(ApiError_1[_0xd7d65c(0xb2)][_0xd7d65c(0xdb)]);}},'around':async _0x2636f7=>{const _0x599348=_0x2ad30e;var _0x13fb98,_0x389f05,_0x3f0bc1,_0x35fc90,_0x349164;const _0x35b5c6=(_0x13fb98=_0x2636f7===null||_0x2636f7===void 0x0?void 0x0:_0x2636f7[_0x599348(0xdf)])===null||_0x13fb98===void 0x0?void 0x0:_0x13fb98[core_1[_0x599348(0x98)]];if(_0x35b5c6&&(_0x30aae7===null||_0x30aae7===void 0x0?void 0x0:_0x30aae7[_0x599348(0xc2)])){if(((_0x389f05=_0x35b5c6[_0x599348(0xbe)])===null||_0x389f05===void 0x0?void 0x0:_0x389f05['device'])&&((_0x349164=(_0x35fc90=(_0x3f0bc1=_0x25815d===null||_0x25815d===void 0x0?void 0x0:_0x25815d[_0x599348(0xea)])===null||_0x3f0bc1===void 0x0?void 0x0:_0x3f0bc1['devices'])===null||_0x35fc90===void 0x0?void 0x0:_0x35fc90[_0x35b5c6[_0x599348(0xbe)][_0x599348(0x96)]])===null||_0x349164===void 0x0?void 0x0:_0x349164['intercept'])){const _0x34515d=Array[_0x599348(0xf3)](_0x25815d[_0x599348(0xea)][_0x599348(0xb7)][_0x35b5c6[_0x599348(0xbe)]['device']][_0x599348(0x97)])?_0x25815d['anncicapi'][_0x599348(0xb7)][_0x35b5c6[_0x599348(0xbe)][_0x599348(0x96)]][_0x599348(0x97)]:[_0x25815d[_0x599348(0xea)]['devices'][_0x35b5c6[_0x599348(0xbe)][_0x599348(0x96)]][_0x599348(0x97)]];for(const _0x4fe9d8 of _0x34515d){if(decorator_1[_0x599348(0xe7)][_0x599348(0xab)](_0x4fe9d8)||typeof _0x4fe9d8==_0x599348(0xf5)){const _0x2af293=await _0x35b5c6[_0x599348(0xe6)][_0x599348(0xe0)](_0x4fe9d8);typeof(_0x2af293===null||_0x2af293===void 0x0?void 0x0:_0x2af293[_0x599348(0xbf)])==_0x599348(0xd1)&&await _0x2af293['handler'](typeof(_0x35b5c6===null||_0x35b5c6===void 0x0?void 0x0:_0x35b5c6[_0x599348(0x94)])==_0x599348(0xf5)&&(_0x35b5c6===null||_0x35b5c6===void 0x0?void 0x0:_0x35b5c6[_0x599348(0xa6)])?_0x35b5c6['method'][_0x599348(0xbb)]()+'@'+(_0x35b5c6===null||_0x35b5c6===void 0x0?void 0x0:_0x35b5c6[_0x599348(0xa6)]):undefined,_0x35b5c6,_0x30aae7);}else decorator_1['Types'][_0x599348(0xd6)](_0x4fe9d8)&&await _0x4fe9d8(typeof(_0x35b5c6===null||_0x35b5c6===void 0x0?void 0x0:_0x35b5c6[_0x599348(0x94)])==_0x599348(0xf5)&&(_0x35b5c6===null||_0x35b5c6===void 0x0?void 0x0:_0x35b5c6[_0x599348(0xa6)])?_0x35b5c6[_0x599348(0x94)]['toLowerCase']()+'@'+(_0x35b5c6===null||_0x35b5c6===void 0x0?void 0x0:_0x35b5c6[_0x599348(0xa6)]):undefined,_0x35b5c6,_0x30aae7);}}}return await _0x2636f7[_0x599348(0xa7)](..._0x2636f7['args']);},'afterThrow':(_0x2b8e9e,_0x7866b7)=>{throw _0x7866b7;}};});}async[a2_0xdc800a(0xd3)](){const _0x5b7479=a2_0xdc800a;this[_0x5b7479(0xf2)][_0x5b7479(0xc4)]([_0x5b7479(0xcf)])[_0x5b7479(0xb5)](_0x4f2382=>{const _0xc0265c=_0x5b7479;(_0x4f2382===null||_0x4f2382===void 0x0?void 0x0:_0x4f2382[_0xc0265c(0xe1)])&&Object[_0xc0265c(0xa2)](_0x4f2382[_0xc0265c(0xe1)],{'ok':{'value':function(_0x3f3bb8,_0x1e7538,_0x332a06=0x0){return{'code':_0x332a06,'data':_0x3f3bb8,'extra':_0x1e7538};}},'input':{'value':function(_0x4b2a41,_0x3cbdc9){const _0x209d70=_0xc0265c;var _0x1bc182;const _0x2045d2=lodash[_0x209d70(0xd2)]({},this[_0x209d70(0x9e)][_0x209d70(0x9f)]||this[_0x209d70(0x9e)][((_0x1bc182=config===null||config===void 0x0?void 0x0:config['bodyXml'])===null||_0x1bc182===void 0x0?void 0x0:_0x1bc182['key'])||_0x209d70(0x9f)]||{},this[_0x209d70(0x9e)][_0x209d70(0x9a)]||{});return _0x4b2a41?lodash[_0x209d70(0xa4)](_0x2045d2,_0x4b2a41,_0x3cbdc9):_0x2045d2;}},'when':{'value':async function(_0x276ab7,_0x2e3c81){const _0xd38e5f=_0xc0265c,_0x54412d=this['input'](_0x276ab7,null);if(!lodash[_0xd38e5f(0xa3)](_0x54412d))return await _0x2e3c81(_0x54412d);}},'only':{'value':function(_0x28ea31){const _0x680cd6=_0xc0265c,_0x52b840={};for(let _0x459011=0x0;_0x459011<_0x28ea31['length'];_0x459011++){lodash['isArray'](_0x28ea31[_0x459011])&&_0x28ea31[_0x459011][_0x680cd6(0xac)]>0x0&&lodash[_0x680cd6(0xbd)](_0x28ea31[_0x459011][0x0])&&(_0x52b840[_0x28ea31[_0x459011][0x0]]=this[_0x680cd6(0xcc)](_0x28ea31[_0x459011][0x0],_0x28ea31[_0x459011]['length']>0x1?_0x28ea31[_0x459011][0x1]:null));}return _0x52b840;}}});});}async[a2_0xdc800a(0xda)](){const _0xa3d90d=a2_0xdc800a;var _0x45dcc1,_0x8a6719,_0x7dcb03,_0x3e2cfe,_0x3e03fe,_0x26bc13;const _0x2d1dd6=this[_0xa3d90d(0xf4)][_0xa3d90d(0xc9)]();((_0x8a6719=(_0x45dcc1=_0x2d1dd6===null||_0x2d1dd6===void 0x0?void 0x0:_0x2d1dd6['anncicapi'])===null||_0x45dcc1===void 0x0?void 0x0:_0x45dcc1[_0xa3d90d(0xb7)])===null||_0x8a6719===void 0x0?void 0x0:_0x8a6719[_0xa3d90d(0xd8)])&&Object[_0xa3d90d(0xde)](_0x2d1dd6[_0xa3d90d(0xea)][_0xa3d90d(0xb7)])[_0xa3d90d(0xac)]>0x1&&delete _0x2d1dd6['anncicapi'][_0xa3d90d(0xb7)]['DEFAULT'];if((_0x7dcb03=_0x2d1dd6===null||_0x2d1dd6===void 0x0?void 0x0:_0x2d1dd6[_0xa3d90d(0xc3)])===null||_0x7dcb03===void 0x0?void 0x0:_0x7dcb03['dirs'])for(const _0x434fde in _0x2d1dd6[_0xa3d90d(0xc3)][_0xa3d90d(0xe5)]){((_0x3e2cfe=_0x2d1dd6[_0xa3d90d(0xc3)][_0xa3d90d(0xe5)][_0x434fde])===null||_0x3e2cfe===void 0x0?void 0x0:_0x3e2cfe[_0xa3d90d(0xd9)])&&typeof((_0x3e03fe=_0x2d1dd6[_0xa3d90d(0xc3)][_0xa3d90d(0xe5)][_0x434fde])===null||_0x3e03fe===void 0x0?void 0x0:_0x3e03fe[_0xa3d90d(0xd9)])==_0xa3d90d(0xf5)&&!fs[_0xa3d90d(0xd4)](_0x2d1dd6['staticFile']['dirs'][_0x434fde][_0xa3d90d(0xd9)])&&(fs['mkdirSync'](_0x2d1dd6['staticFile'][_0xa3d90d(0xe5)][_0x434fde][_0xa3d90d(0xd9)],{'recursive':!![]}),console[_0xa3d90d(0xd7)](_0xa3d90d(0xec)+_0x2d1dd6[_0xa3d90d(0xc3)][_0xa3d90d(0xe5)][_0x434fde][_0xa3d90d(0xd9)]));}((_0x26bc13=_0x2d1dd6===null||_0x2d1dd6===void 0x0?void 0x0:_0x2d1dd6['upload'])===null||_0x26bc13===void 0x0?void 0x0:_0x26bc13[_0xa3d90d(0xdd)])&&!fs['existsSync'](_0x2d1dd6[_0xa3d90d(0xb4)][_0xa3d90d(0xdd)])&&(fs[_0xa3d90d(0xce)](_0x2d1dd6[_0xa3d90d(0xb4)][_0xa3d90d(0xdd)],{'recursive':!![]}),console[_0xa3d90d(0xd7)](_0xa3d90d(0x90)+_0x2d1dd6[_0xa3d90d(0xb4)][_0xa3d90d(0xdd)])),this[_0xa3d90d(0xf4)][_0xa3d90d(0xee)](_0x2d1dd6);}};__decorate([(0x0,decorator_1[a2_0xdc800a(0xf9)])(),__metadata(a2_0xdc800a(0xa5),core_1[a2_0xdc800a(0xb9)])],CustomConfiguration[a2_0xdc800a(0xba)],a2_0xdc800a(0xf4),void 0x0),__decorate([(0x0,decorator_1[a2_0xdc800a(0xf9)])(),__metadata(a2_0xdc800a(0xa5),core_1['MidwayDecoratorService'])],CustomConfiguration[a2_0xdc800a(0xba)],a2_0xdc800a(0xa1),void 0x0),__decorate([(0x0,decorator_1[a2_0xdc800a(0xf9)])(),__metadata(a2_0xdc800a(0xa5),core_1['MidwayApplicationManager'])],CustomConfiguration[a2_0xdc800a(0xba)],a2_0xdc800a(0xf2),void 0x0),__decorate([(0x0,decorator_1[a2_0xdc800a(0xf9)])(),__metadata(a2_0xdc800a(0xa5),core_1[a2_0xdc800a(0xed)])],CustomConfiguration[a2_0xdc800a(0xba)],a2_0xdc800a(0xaa),void 0x0),__decorate([(0x0,decorator_1[a2_0xdc800a(0xf9)])(),__metadata('design:type',ApiService_1[a2_0xdc800a(0x9c)])],CustomConfiguration[a2_0xdc800a(0xba)],a2_0xdc800a(0x9c),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a2_0xdc800a(0xad)])({'imports':[koa,i18n,upload,staticFile,crossDomain,anncic,anncicCache,anncicEvent,anncicTypeorm,anncicValidator,anncicHelper,task],'namespace':a2_0xdc800a(0xb6),'conflictCheck':![],'importConfigs':[{'default':ConfigDefault,'production':ConfigProduction}]})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;function a2_0x99be(){const _0x491401=['config','string','@midwayjs/upload','186qajoRq','checkConfigKeys','Inject','Anncic-api\x20upload-tmpdir\x20:\x20mkdir\x20','CustomConfiguration','metadata','__metadata','method','@midwayjs/task','device','intercept','REQUEST_OBJ_CTX_KEY','3328605llzjAa','query','anncic-apihelper','ApiService','ACTION_ROUTE_KEY','request','body','defineProperty','decorator','defineProperties','isNull','get','design:type','_matchedRoute','proceed','8XPRidn','156416jgzVln','environment','isClass','length','Configuration','344650vRZDSU','@anncic-api/cache','./exception/ApiError','177mSvEKz','ApiError','7342SCRhmZ','upload','forEach','anncic-api','devices','@anncic-api/event','MidwayConfigService','prototype','toLowerCase','@midwayjs/static-file','isString','headers','handler','@anncic-api/typeorm','@anncic-api/core','apimit','staticFile','getApplications','489995EGYpFz','__decorate','./service/ApiService','@midwayjs/cross-domain','getConfiguration','10LgsEdA','getOwnPropertyDescriptor','input','onReady','mkdirSync','koa','@midwayjs/decorator','function','defaultsDeep','hanlderApplications','existsSync','@midwayjs/koa','isFunction','log','DEFAULT','dir','filterConfig','HEADERS_SIGNATURE','decorate','tmpdir','keys','target','getAsync','context','5439oZYLTS','@midwayjs/i18n','./config/config.default','dirs','requestContext','Types','@midwayjs/core','7232588WRSeeh','anncicapi','__esModule','Anncic-api\x20static-file\x20:\x20mkdir\x20','MidwayEnvironmentService','addObject','handlerActionRoute','checksign','object','application','isArray'];a2_0x99be=function(){return _0x491401;};return a2_0x99be();}
1
+ 'use strict';function a2_0x43f3(){const _0xadb141=['265440EEredr','keys','body','dirs','Inject','isArray','isFunction','decorator','length','getConfiguration','apimit','defineProperty','anncic-api','onReady','design:type','Types','defineProperties','MidwayDecoratorService','@midwayjs/decorator','intercept','@anncic-api/event','MidwayApplicationManager','ApiService','filterConfig','headers','Anncic-api\x20static-file\x20:\x20mkdir\x20','@anncic-api/typeorm','616171tjGNQO','function','isNull','isClass','bodyXml','@midwayjs/cross-domain','getOwnPropertyDescriptor','3483964iGgQoI','getApplications','target','@midwayjs/task','handlerActionRoute','_matchedRoute','metadata','toLowerCase','object','environment','checkConfigKeys','HEADERS_SIGNATURE','handler','addObject','./config/config.default','request','CustomConfiguration','47572WQoXdb','args','96pXngvS','__esModule','dir','hanlderApplications','@midwayjs/core','decorate','upload','222eiGGMC','DEFAULT','Configuration','log','30HxwIPq','12xHuHWf','@anncic-api/cache','input','config','5779998HocrGD','./service/ApiService','496345rXzYua','29788wDcQMc','Anncic-api\x20upload-tmpdir\x20:\x20mkdir\x20','devices','isString','anncicapi','device','mkdirSync','existsSync','staticFile','registerMethodHandler','method','@midwayjs/i18n','tmpdir','query','./types/action','string','checksign','context','defaultsDeep','prototype'];a2_0x43f3=function(){return _0xadb141;};return a2_0x43f3();}const a2_0x4dbd26=a2_0x49a6;(function(_0x44bdbf,_0x382cab){const _0xb394bb=a2_0x49a6,_0x13caf6=_0x44bdbf();while(!![]){try{const _0xf0f275=-parseInt(_0xb394bb(0x20c))/0x1+-parseInt(_0xb394bb(0x224))/0x2+parseInt(_0xb394bb(0x1d1))/0x3*(parseInt(_0xb394bb(0x1dd))/0x4)+parseInt(_0xb394bb(0x1dc))/0x5*(-parseInt(_0xb394bb(0x1d6))/0x6)+parseInt(_0xb394bb(0x1f1))/0x7*(parseInt(_0xb394bb(0x226))/0x8)+-parseInt(_0xb394bb(0x1da))/0x9+-parseInt(_0xb394bb(0x1d5))/0xa*(-parseInt(_0xb394bb(0x213))/0xb);if(_0xf0f275===_0x382cab)break;else _0x13caf6['push'](_0x13caf6['shift']());}catch(_0x3624c7){_0x13caf6['push'](_0x13caf6['shift']());}}}(a2_0x43f3,0x741b5));function a2_0x49a6(_0x4c90cb,_0x182660){const _0x43f3a1=a2_0x43f3();return a2_0x49a6=function(_0x49a650,_0x28abc9){_0x49a650=_0x49a650-0x1d0;let _0x2a2c3f=_0x43f3a1[_0x49a650];return _0x2a2c3f;},a2_0x49a6(_0x4c90cb,_0x182660);}var __decorate=this&&this['__decorate']||function(_0x3f3e17,_0x1c98fd,_0x200f1b,_0x27ca3f){const _0x15df87=a2_0x49a6;var _0x1925aa=arguments['length'],_0xc814b1=_0x1925aa<0x3?_0x1c98fd:_0x27ca3f===null?_0x27ca3f=Object[_0x15df87(0x212)](_0x1c98fd,_0x200f1b):_0x27ca3f,_0x4d79c6;if(typeof Reflect===_0x15df87(0x21b)&&typeof Reflect[_0x15df87(0x22b)]===_0x15df87(0x20d))_0xc814b1=Reflect[_0x15df87(0x22b)](_0x3f3e17,_0x1c98fd,_0x200f1b,_0x27ca3f);else{for(var _0x32c087=_0x3f3e17[_0x15df87(0x1f9)]-0x1;_0x32c087>=0x0;_0x32c087--)if(_0x4d79c6=_0x3f3e17[_0x32c087])_0xc814b1=(_0x1925aa<0x3?_0x4d79c6(_0xc814b1):_0x1925aa>0x3?_0x4d79c6(_0x1c98fd,_0x200f1b,_0xc814b1):_0x4d79c6(_0x1c98fd,_0x200f1b))||_0xc814b1;}return _0x1925aa>0x3&&_0xc814b1&&Object[_0x15df87(0x1fc)](_0x1c98fd,_0x200f1b,_0xc814b1),_0xc814b1;},__metadata=this&&this['__metadata']||function(_0x21a764,_0x4ad2f1){const _0x55d0d1=a2_0x49a6;if(typeof Reflect===_0x55d0d1(0x21b)&&typeof Reflect[_0x55d0d1(0x219)]===_0x55d0d1(0x20d))return Reflect[_0x55d0d1(0x219)](_0x21a764,_0x4ad2f1);};Object[a2_0x4dbd26(0x1fc)](exports,a2_0x4dbd26(0x227),{'value':!![]}),exports[a2_0x4dbd26(0x223)]=void 0x0;const decorator_1=require(a2_0x4dbd26(0x203)),core_1=require(a2_0x4dbd26(0x22a)),ApiError_1=require('./exception/ApiError'),ApiService_1=require(a2_0x4dbd26(0x1db)),action_1=require(a2_0x4dbd26(0x1eb)),fs=require('fs'),koa=require('@midwayjs/koa'),i18n=require(a2_0x4dbd26(0x1e8)),task=require(a2_0x4dbd26(0x216)),upload=require('@midwayjs/upload'),staticFile=require('@midwayjs/static-file'),crossDomain=require(a2_0x4dbd26(0x211)),ConfigDefault=require(a2_0x4dbd26(0x221)),ConfigProduction=require('./config/config.production'),anncic=require('@anncic-api/core'),anncicCache=require(a2_0x4dbd26(0x1d7)),anncicEvent=require(a2_0x4dbd26(0x205)),anncicTypeorm=require(a2_0x4dbd26(0x20b)),anncicValidator=require('@anncic-api/validator'),anncicHelper=require('anncic-apihelper');let CustomConfiguration=class CustomConfiguration{async[a2_0x4dbd26(0x1fe)](){const _0x6b0d0=a2_0x4dbd26;await this[_0x6b0d0(0x208)](),await this[_0x6b0d0(0x21d)](),await this[_0x6b0d0(0x217)](),await this[_0x6b0d0(0x229)]();}async[a2_0x4dbd26(0x21d)](){}async[a2_0x4dbd26(0x217)](){const _0x17ac0e=a2_0x4dbd26,_0x2e7c8f=this[_0x17ac0e(0x1d9)][_0x17ac0e(0x1fa)]();this[_0x17ac0e(0x1f8)][_0x17ac0e(0x1e6)](action_1['ACTION_ROUTE_KEY'],_0x383397=>{const _0x25ffce=_0x17ac0e,_0x2d2679=_0x383397[_0x25ffce(0x219)];return{'before':async _0x32800=>{const _0x3184c7=_0x25ffce;var _0x2d5154,_0x3098f8;const _0x1efc10=(_0x2d5154=_0x32800===null||_0x32800===void 0x0?void 0x0:_0x32800[_0x3184c7(0x215)])===null||_0x2d5154===void 0x0?void 0x0:_0x2d5154[core_1['REQUEST_OBJ_CTX_KEY']];if(_0x1efc10&&(_0x2d2679===null||_0x2d2679===void 0x0?void 0x0:_0x2d2679[_0x3184c7(0x1fb)])){if(!this[_0x3184c7(0x207)][_0x3184c7(0x1ed)]((_0x3098f8=_0x1efc10===null||_0x1efc10===void 0x0?void 0x0:_0x1efc10[_0x3184c7(0x222)])===null||_0x3098f8===void 0x0?void 0x0:_0x3098f8[_0x3184c7(0x209)]))throw new AnnError(ApiError_1['ApiError'][_0x3184c7(0x21e)]);}},'around':async _0x19de3f=>{const _0x4e59d0=_0x25ffce;var _0x327602,_0x10bcb6,_0x302f51,_0x5829c5,_0x417e45;const _0xcbc475=(_0x327602=_0x19de3f===null||_0x19de3f===void 0x0?void 0x0:_0x19de3f['target'])===null||_0x327602===void 0x0?void 0x0:_0x327602[core_1['REQUEST_OBJ_CTX_KEY']];if(_0xcbc475&&(_0x2d2679===null||_0x2d2679===void 0x0?void 0x0:_0x2d2679[_0x4e59d0(0x1fb)])){if(((_0x10bcb6=_0xcbc475[_0x4e59d0(0x209)])===null||_0x10bcb6===void 0x0?void 0x0:_0x10bcb6[_0x4e59d0(0x1e2)])&&((_0x417e45=(_0x5829c5=(_0x302f51=_0x2e7c8f===null||_0x2e7c8f===void 0x0?void 0x0:_0x2e7c8f[_0x4e59d0(0x1e1)])===null||_0x302f51===void 0x0?void 0x0:_0x302f51[_0x4e59d0(0x1df)])===null||_0x5829c5===void 0x0?void 0x0:_0x5829c5[_0xcbc475[_0x4e59d0(0x209)]['device']])===null||_0x417e45===void 0x0?void 0x0:_0x417e45[_0x4e59d0(0x204)])){const _0x51d22d=Array[_0x4e59d0(0x1f6)](_0x2e7c8f['anncicapi'][_0x4e59d0(0x1df)][_0xcbc475[_0x4e59d0(0x209)][_0x4e59d0(0x1e2)]][_0x4e59d0(0x204)])?_0x2e7c8f[_0x4e59d0(0x1e1)][_0x4e59d0(0x1df)][_0xcbc475[_0x4e59d0(0x209)][_0x4e59d0(0x1e2)]]['intercept']:[_0x2e7c8f[_0x4e59d0(0x1e1)][_0x4e59d0(0x1df)][_0xcbc475['headers']['device']][_0x4e59d0(0x204)]];for(const _0x5d9465 of _0x51d22d){if(decorator_1[_0x4e59d0(0x200)][_0x4e59d0(0x20f)](_0x5d9465)||typeof _0x5d9465==_0x4e59d0(0x1ec)){const _0x354c0d=await _0xcbc475['requestContext']['getAsync'](_0x5d9465);typeof(_0x354c0d===null||_0x354c0d===void 0x0?void 0x0:_0x354c0d[_0x4e59d0(0x21f)])==_0x4e59d0(0x20d)&&await _0x354c0d[_0x4e59d0(0x21f)](typeof(_0xcbc475===null||_0xcbc475===void 0x0?void 0x0:_0xcbc475['method'])==_0x4e59d0(0x1ec)&&(_0xcbc475===null||_0xcbc475===void 0x0?void 0x0:_0xcbc475[_0x4e59d0(0x218)])?_0xcbc475[_0x4e59d0(0x1e7)][_0x4e59d0(0x21a)]()+'@'+(_0xcbc475===null||_0xcbc475===void 0x0?void 0x0:_0xcbc475['_matchedRoute']):undefined,_0xcbc475,_0x2d2679);}else decorator_1['Types'][_0x4e59d0(0x1f7)](_0x5d9465)&&await _0x5d9465(typeof(_0xcbc475===null||_0xcbc475===void 0x0?void 0x0:_0xcbc475[_0x4e59d0(0x1e7)])==_0x4e59d0(0x1ec)&&(_0xcbc475===null||_0xcbc475===void 0x0?void 0x0:_0xcbc475[_0x4e59d0(0x218)])?_0xcbc475[_0x4e59d0(0x1e7)]['toLowerCase']()+'@'+(_0xcbc475===null||_0xcbc475===void 0x0?void 0x0:_0xcbc475[_0x4e59d0(0x218)]):undefined,_0xcbc475,_0x2d2679);}}}return await _0x19de3f['proceed'](..._0x19de3f[_0x4e59d0(0x225)]);},'afterThrow':(_0x3b1fd6,_0x41c10b)=>{throw _0x41c10b;}};});}async[a2_0x4dbd26(0x229)](){const _0x5748c3=a2_0x4dbd26;this['application'][_0x5748c3(0x214)](['koa'])['forEach'](_0x307f10=>{const _0x13c34f=_0x5748c3;(_0x307f10===null||_0x307f10===void 0x0?void 0x0:_0x307f10['context'])&&Object[_0x13c34f(0x201)](_0x307f10[_0x13c34f(0x1ee)],{'ok':{'value':function(_0x32d66b,_0x20e0aa,_0x30d9e5=0x0){return{'code':_0x30d9e5,'data':_0x32d66b,'extra':_0x20e0aa};}},'input':{'value':function(_0x1ed530,_0x1bfed9){const _0x561fce=_0x13c34f;var _0x205b68;const _0x391785=lodash[_0x561fce(0x1ef)]({},this[_0x561fce(0x222)][_0x561fce(0x1f3)]||this[_0x561fce(0x222)][((_0x205b68=config===null||config===void 0x0?void 0x0:config[_0x561fce(0x210)])===null||_0x205b68===void 0x0?void 0x0:_0x205b68['key'])||_0x561fce(0x1f3)]||{},this['request'][_0x561fce(0x1ea)]||{});return _0x1ed530?lodash['get'](_0x391785,_0x1ed530,_0x1bfed9):_0x391785;}},'when':{'value':async function(_0x269890,_0x124b4e){const _0x18aaff=_0x13c34f,_0xba01ca=this[_0x18aaff(0x1d8)](_0x269890,null);if(!lodash[_0x18aaff(0x20e)](_0xba01ca))return await _0x124b4e(_0xba01ca);}},'only':{'value':function(_0x429f64){const _0x3a0158=_0x13c34f,_0x201fef={};for(let _0x15b4cb=0x0;_0x15b4cb<_0x429f64[_0x3a0158(0x1f9)];_0x15b4cb++){lodash[_0x3a0158(0x1f6)](_0x429f64[_0x15b4cb])&&_0x429f64[_0x15b4cb][_0x3a0158(0x1f9)]>0x0&&lodash[_0x3a0158(0x1e0)](_0x429f64[_0x15b4cb][0x0])&&(_0x201fef[_0x429f64[_0x15b4cb][0x0]]=this[_0x3a0158(0x1d8)](_0x429f64[_0x15b4cb][0x0],_0x429f64[_0x15b4cb][_0x3a0158(0x1f9)]>0x1?_0x429f64[_0x15b4cb][0x1]:null));}return _0x201fef;}}});});}async['filterConfig'](){const _0xe78258=a2_0x4dbd26;var _0x3882c2,_0x227d70,_0x1c2c97,_0x3e9bed,_0x44ea51,_0x21afc7;const _0x59e7c7=this[_0xe78258(0x1d9)][_0xe78258(0x1fa)]();((_0x227d70=(_0x3882c2=_0x59e7c7===null||_0x59e7c7===void 0x0?void 0x0:_0x59e7c7['anncicapi'])===null||_0x3882c2===void 0x0?void 0x0:_0x3882c2['devices'])===null||_0x227d70===void 0x0?void 0x0:_0x227d70[_0xe78258(0x1d2)])&&Object[_0xe78258(0x1f2)](_0x59e7c7['anncicapi'][_0xe78258(0x1df)])[_0xe78258(0x1f9)]>0x1&&delete _0x59e7c7['anncicapi'][_0xe78258(0x1df)][_0xe78258(0x1d2)];if((_0x1c2c97=_0x59e7c7===null||_0x59e7c7===void 0x0?void 0x0:_0x59e7c7[_0xe78258(0x1e5)])===null||_0x1c2c97===void 0x0?void 0x0:_0x1c2c97['dirs'])for(const _0x3dd1dc in _0x59e7c7['staticFile'][_0xe78258(0x1f4)]){((_0x3e9bed=_0x59e7c7[_0xe78258(0x1e5)][_0xe78258(0x1f4)][_0x3dd1dc])===null||_0x3e9bed===void 0x0?void 0x0:_0x3e9bed['dir'])&&typeof((_0x44ea51=_0x59e7c7[_0xe78258(0x1e5)][_0xe78258(0x1f4)][_0x3dd1dc])===null||_0x44ea51===void 0x0?void 0x0:_0x44ea51['dir'])==_0xe78258(0x1ec)&&!fs['existsSync'](_0x59e7c7[_0xe78258(0x1e5)][_0xe78258(0x1f4)][_0x3dd1dc]['dir'])&&(fs[_0xe78258(0x1e3)](_0x59e7c7[_0xe78258(0x1e5)][_0xe78258(0x1f4)][_0x3dd1dc]['dir'],{'recursive':!![]}),console[_0xe78258(0x1d4)](_0xe78258(0x20a)+_0x59e7c7['staticFile']['dirs'][_0x3dd1dc][_0xe78258(0x228)]));}((_0x21afc7=_0x59e7c7===null||_0x59e7c7===void 0x0?void 0x0:_0x59e7c7[_0xe78258(0x1d0)])===null||_0x21afc7===void 0x0?void 0x0:_0x21afc7[_0xe78258(0x1e9)])&&!fs[_0xe78258(0x1e4)](_0x59e7c7[_0xe78258(0x1d0)][_0xe78258(0x1e9)])&&(fs['mkdirSync'](_0x59e7c7[_0xe78258(0x1d0)][_0xe78258(0x1e9)],{'recursive':!![]}),console['log'](_0xe78258(0x1de)+_0x59e7c7['upload'][_0xe78258(0x1e9)])),this['config'][_0xe78258(0x220)](_0x59e7c7);}};__decorate([(0x0,decorator_1[a2_0x4dbd26(0x1f5)])(),__metadata(a2_0x4dbd26(0x1ff),core_1['MidwayConfigService'])],CustomConfiguration[a2_0x4dbd26(0x1f0)],a2_0x4dbd26(0x1d9),void 0x0),__decorate([(0x0,decorator_1[a2_0x4dbd26(0x1f5)])(),__metadata('design:type',core_1[a2_0x4dbd26(0x202)])],CustomConfiguration[a2_0x4dbd26(0x1f0)],a2_0x4dbd26(0x1f8),void 0x0),__decorate([(0x0,decorator_1[a2_0x4dbd26(0x1f5)])(),__metadata(a2_0x4dbd26(0x1ff),core_1[a2_0x4dbd26(0x206)])],CustomConfiguration['prototype'],'application',void 0x0),__decorate([(0x0,decorator_1[a2_0x4dbd26(0x1f5)])(),__metadata(a2_0x4dbd26(0x1ff),core_1['MidwayEnvironmentService'])],CustomConfiguration['prototype'],a2_0x4dbd26(0x21c),void 0x0),__decorate([(0x0,decorator_1['Inject'])(),__metadata('design:type',ApiService_1['ApiService'])],CustomConfiguration[a2_0x4dbd26(0x1f0)],a2_0x4dbd26(0x207),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a2_0x4dbd26(0x1d3)])({'imports':[koa,i18n,upload,staticFile,crossDomain,anncic,anncicCache,anncicEvent,anncicTypeorm,anncicValidator,anncicHelper,task],'namespace':a2_0x4dbd26(0x1fd),'conflictCheck':![],'importConfigs':[{'default':ConfigDefault,'production':ConfigProduction}]})],CustomConfiguration),exports[a2_0x4dbd26(0x223)]=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';function a3_0x31d7(){const _0x447a89=['join','/apps/','existsSync','startsWith','/config.','cwd','APPSCONFIG_KEY','rootpath','apps/','defineProperty','AppsConfigTmp','module','21chZESQ','endsWith','replace','81568DwSJJl','/controller/','prefix','-controller','parseRoute','133555VoNhzO','splice','24nKEYMC','\x20文件请放在app/controller/文件下','Action','filter','__esModule','tagName','25430cPOwtd','substring','split','501510OZWnCH','127uyhWNs','ACTION_KEY','1111jDkEWq','Controller','filepath','route','length','9SRXUus','getClassMetadata','922RytyXR','toLowerCase','3905456ACPHHH','isArray','11963616hERloy','-action','match','saveClassMetadata','saveModule','indexOf','app/controller/','middleware'];a3_0x31d7=function(){return _0x447a89;};return a3_0x31d7();}function a3_0x1424(_0x11a583,_0x39e793){const _0x31d7ec=a3_0x31d7();return a3_0x1424=function(_0x1424a2,_0x28fb1a){_0x1424a2=_0x1424a2-0x8c;let _0x38a3fb=_0x31d7ec[_0x1424a2];return _0x38a3fb;},a3_0x1424(_0x11a583,_0x39e793);}const a3_0x3daae1=a3_0x1424;(function(_0x1bfe9d,_0x85af2d){const _0x476185=a3_0x1424,_0x2575a1=_0x1bfe9d();while(!![]){try{const _0x545d9b=parseInt(_0x476185(0xa5))/0x1*(parseInt(_0x476185(0xae))/0x2)+-parseInt(_0x476185(0x9b))/0x3*(parseInt(_0x476185(0x94))/0x4)+-parseInt(_0x476185(0x99))/0x5+-parseInt(_0x476185(0xa4))/0x6*(-parseInt(_0x476185(0x91))/0x7)+-parseInt(_0x476185(0xb0))/0x8*(parseInt(_0x476185(0xac))/0x9)+-parseInt(_0x476185(0xa1))/0xa*(parseInt(_0x476185(0xa7))/0xb)+parseInt(_0x476185(0xb2))/0xc;if(_0x545d9b===_0x85af2d)break;else _0x2575a1['push'](_0x2575a1['shift']());}catch(_0x1fe02c){_0x2575a1['push'](_0x2575a1['shift']());}}}(a3_0x31d7,0x5aac6));Object[a3_0x3daae1(0x8e)](exports,a3_0x3daae1(0x9f),{'value':!![]}),exports[a3_0x3daae1(0x98)]=exports[a3_0x3daae1(0x9d)]=void 0x0;const fs=require('fs'),decorator_1=require('@midwayjs/decorator'),action_1=require('../types/action');function Action(_0x3c0409,_0x240764,_0x4819a7={'middleware':[],'sensitive':!![]}){return _0x1967e5=>{const _0x19cc76=a3_0x1424;_0x4819a7[_0x19cc76(0xa0)]=_0x240764;const _0x389bf4=parseRoute(_0x3c0409);if(_0x389bf4[_0x19cc76(0x90)]){_0x4819a7[_0x19cc76(0x96)]=_0x4819a7[_0x19cc76(0x96)]?'/'+_0x389bf4[_0x19cc76(0x90)]+'/'+_0x4819a7['prefix']:'/'+_0x389bf4[_0x19cc76(0xaa)];_0x389bf4['prefix']&&(_0x4819a7[_0x19cc76(0x96)]='/'+_0x389bf4[_0x19cc76(0x96)]+'/'+_0x4819a7[_0x19cc76(0x96)]);if(fs[_0x19cc76(0xbc)](_0x389bf4['rootpath']+_0x19cc76(0xbb)+_0x389bf4[_0x19cc76(0x90)]+_0x19cc76(0xbe)+(lodash[_0x19cc76(0x92)](_0x389bf4[_0x19cc76(0xa9)],'ts')?'ts':'js'))){const _0x562771=include(_0x389bf4[_0x19cc76(0x8c)]+'/apps/'+_0x389bf4['module']+'/config.'+(lodash['endsWith'](_0x389bf4[_0x19cc76(0xa9)],'ts')?'ts':'js'));if(_0x562771[_0x19cc76(0xb9)]&&lodash[_0x19cc76(0xb1)](_0x562771['middleware'])&&_0x562771[_0x19cc76(0xb9)][_0x19cc76(0xab)]>0x0)for(let _0x5a18bd in _0x562771[_0x19cc76(0xb9)]){_0x562771['middlewareIgnore'][_0x19cc76(0xb7)](_0x562771[_0x19cc76(0xb9)][_0x5a18bd])==-0x1&&_0x4819a7[_0x19cc76(0xb9)]['push'](_0x562771[_0x19cc76(0xb9)][_0x5a18bd]);}const _0x2ae15e=(0x0,decorator_1[_0x19cc76(0xad)])(action_1['APPSCONFIG_KEY'],action_1[_0x19cc76(0x8f)])||{};_0x2ae15e[''+_0x389bf4[_0x19cc76(0x90)]]=_0x562771,(0x0,decorator_1[_0x19cc76(0xb5)])(action_1[_0x19cc76(0xc0)],_0x2ae15e,action_1['AppsConfigTmp']);}_0x4819a7['prefix']=_0x4819a7[_0x19cc76(0x96)][_0x19cc76(0xaf)]()['replace'](/\/{2,}/g,'/'),(0x0,decorator_1['saveModule'])(action_1['ACTION_KEY'],_0x1967e5),(0x0,decorator_1[_0x19cc76(0xa8)])(_0x4819a7[_0x19cc76(0x96)],_0x4819a7)(_0x1967e5),(0x0,decorator_1['saveClassMetadata'])(action_1[_0x19cc76(0xa6)],{'prefix':_0x4819a7[_0x19cc76(0x96)],'pprefix':_0x389bf4[_0x19cc76(0x96)],'module':_0x389bf4[_0x19cc76(0x90)],'filepath':_0x389bf4['filepath'],'routerOptions':_0x4819a7},_0x1967e5);}else _0x4819a7[_0x19cc76(0x96)]=_0x4819a7[_0x19cc76(0x96)]?'/'+_0x4819a7[_0x19cc76(0x96)]:'/'+_0x389bf4[_0x19cc76(0xaa)],_0x389bf4[_0x19cc76(0x96)]&&(_0x4819a7[_0x19cc76(0x96)]='/'+_0x389bf4[_0x19cc76(0x96)]+'/'+_0x4819a7['prefix']),_0x4819a7[_0x19cc76(0x96)]=_0x4819a7[_0x19cc76(0x96)][_0x19cc76(0xaf)]()[_0x19cc76(0x93)](/\/{2,}/g,'/'),(0x0,decorator_1[_0x19cc76(0xb6)])(action_1['ACTION_KEY'],_0x1967e5),(0x0,decorator_1[_0x19cc76(0xa8)])(_0x4819a7[_0x19cc76(0x96)],_0x4819a7)(_0x1967e5),(0x0,decorator_1[_0x19cc76(0xb5)])(action_1['ACTION_KEY'],{'prefix':_0x4819a7['prefix'],'module':_0x389bf4[_0x19cc76(0x90)],'pprefix':_0x389bf4[_0x19cc76(0x96)],'filepath':_0x389bf4[_0x19cc76(0xa9)],'routerOptions':_0x4819a7},_0x1967e5);};}exports[a3_0x3daae1(0x9d)]=Action;function parseRoute(_0x2bad2b){const _0x92c74a=a3_0x3daae1;_0x2bad2b=_0x2bad2b[_0x92c74a(0x93)](/(\\|\/)/g,'/');const _0x358767=process[_0x92c74a(0xbf)]()[_0x92c74a(0x93)](/(\\|\/)/g,'/'),_0x1f200c=_0x2bad2b[_0x92c74a(0xa2)](0x0,_0x358767[_0x92c74a(0xab)]+_0x2bad2b['substring'](_0x358767[_0x92c74a(0xab)]+0x1)[_0x92c74a(0xb7)]('/')+0x1),_0x4ab776=_0x2bad2b[_0x92c74a(0xa2)](_0x1f200c['length']+0x1)['replace'](/(\\|\/)/g,'/'),_0x4cdb02={'route':'','prefix':![],'module':![],'rootpath':_0x1f200c,'filepath':_0x4ab776};if(_0x4ab776[_0x92c74a(0xbd)](_0x92c74a(0xb8))){const _0x1cb380=_0x4ab776[_0x92c74a(0xa2)]('app/controller/'[_0x92c74a(0xab)])[_0x92c74a(0xa3)]('/')['filter'](_0x4d498f=>_0x4d498f&&_0x4d498f['trim']());return _0x1cb380[_0x92c74a(0xab)]>0x1&&(_0x4cdb02['prefix']=_0x1cb380[0x0][_0x92c74a(0xaf)](),_0x1cb380[_0x92c74a(0x9a)](0x0,0x1)),_0x4cdb02[_0x92c74a(0xaa)]=('/'+_0x1cb380[_0x92c74a(0xba)]('/'))[_0x92c74a(0x93)](/(\.ts|\.js)$/,'')[_0x92c74a(0x93)](/\/{2,}/g,'/')[_0x92c74a(0xb4)](/[\/|A-Z]*[^A-Z]+/g)['join']('-')[_0x92c74a(0xaf)]()[_0x92c74a(0x93)](/\/\-/g,'/'),_0x4cdb02[_0x92c74a(0xaa)]['endsWith'](_0x92c74a(0xb3))&&(_0x4cdb02[_0x92c74a(0xaa)]=_0x4cdb02[_0x92c74a(0xaa)][_0x92c74a(0xa2)](0x0,_0x4cdb02[_0x92c74a(0xaa)][_0x92c74a(0xab)]-0x7)),_0x4cdb02['route'][_0x92c74a(0x92)](_0x92c74a(0x97))&&(_0x4cdb02[_0x92c74a(0xaa)]=_0x4cdb02['route'][_0x92c74a(0xa2)](0x0,_0x4cdb02[_0x92c74a(0xaa)][_0x92c74a(0xab)]-0xb)),_0x4cdb02;}else{if(_0x4ab776[_0x92c74a(0xbd)](_0x92c74a(0x8d))){const _0x95152b=_0x4ab776[_0x92c74a(0xa2)](0x0,_0x4ab776['indexOf']('/apps/')+0x5),_0x15376d=_0x4ab776[_0x92c74a(0xa2)](_0x95152b[_0x92c74a(0xab)]+0x1)[_0x92c74a(0x93)](/(\\|\/)/g,'/')[_0x92c74a(0xa3)]('/')[0x0];if(_0x4ab776[_0x92c74a(0xbd)](_0x92c74a(0x8d)+_0x15376d+_0x92c74a(0x95))){const _0x44beff=_0x4ab776['substring']((_0x95152b+'/'+_0x15376d+'/controller/')['length'])[_0x92c74a(0xa3)]('/')[_0x92c74a(0x9e)](_0x5d8ead=>_0x5d8ead&&_0x5d8ead['trim']());return _0x44beff[_0x92c74a(0xab)]>0x1&&(_0x4cdb02[_0x92c74a(0x96)]=_0x44beff[0x0]['toLowerCase'](),_0x44beff[_0x92c74a(0x9a)](0x0,0x1)),_0x4cdb02[_0x92c74a(0x90)]=_0x15376d,_0x4cdb02['route']=('/'+_0x15376d+'/'+_0x44beff[_0x92c74a(0xba)]('/'))['replace'](/(\.ts|\.js)$/,'')[_0x92c74a(0x93)](/\/{2,}/,'/')[_0x92c74a(0xb4)](/[\/|A-Z]*[^A-Z]+/g)[_0x92c74a(0xba)]('-')[_0x92c74a(0xaf)]()['replace'](/\/\-/g,'/'),_0x4cdb02['route'][_0x92c74a(0x92)](_0x92c74a(0xb3))&&(_0x4cdb02[_0x92c74a(0xaa)]=_0x4cdb02[_0x92c74a(0xaa)]['substring'](0x0,_0x4cdb02[_0x92c74a(0xaa)][_0x92c74a(0xab)]-0x7)),_0x4cdb02[_0x92c74a(0xaa)][_0x92c74a(0x92)](_0x92c74a(0x97))&&(_0x4cdb02[_0x92c74a(0xaa)]=_0x4cdb02['route'][_0x92c74a(0xa2)](0x0,_0x4cdb02['route']['length']-0xb)),_0x4cdb02;}throw new Error(_0x4ab776+'\x20文件请放在apps/'+_0x15376d+'/controller/文件下');}}throw new Error(_0x4ab776+_0x92c74a(0x9c));}exports['parseRoute']=parseRoute;
1
+ 'use strict';const a3_0x2aa4f5=a3_0x221e;(function(_0x3b44ba,_0x17dc6d){const _0x1579bb=a3_0x221e,_0x1ac04f=_0x3b44ba();while(!![]){try{const _0x493249=parseInt(_0x1579bb(0x165))/0x1*(parseInt(_0x1579bb(0x18c))/0x2)+parseInt(_0x1579bb(0x186))/0x3+-parseInt(_0x1579bb(0x15a))/0x4+-parseInt(_0x1579bb(0x158))/0x5*(-parseInt(_0x1579bb(0x16f))/0x6)+-parseInt(_0x1579bb(0x16e))/0x7+parseInt(_0x1579bb(0x176))/0x8*(-parseInt(_0x1579bb(0x159))/0x9)+parseInt(_0x1579bb(0x174))/0xa*(-parseInt(_0x1579bb(0x187))/0xb);if(_0x493249===_0x17dc6d)break;else _0x1ac04f['push'](_0x1ac04f['shift']());}catch(_0x57f379){_0x1ac04f['push'](_0x1ac04f['shift']());}}}(a3_0x5b20,0x8702d));function a3_0x221e(_0x37b35f,_0x32fb7e){const _0x5b2018=a3_0x5b20();return a3_0x221e=function(_0x221e80,_0x554217){_0x221e80=_0x221e80-0x157;let _0x2b2df6=_0x5b2018[_0x221e80];return _0x2b2df6;},a3_0x221e(_0x37b35f,_0x32fb7e);}Object[a3_0x2aa4f5(0x188)](exports,a3_0x2aa4f5(0x161),{'value':!![]}),exports[a3_0x2aa4f5(0x180)]=exports[a3_0x2aa4f5(0x16a)]=void 0x0;function a3_0x5b20(){const _0x3ceafa=['2534283zDNTQt','297JchMwV','defineProperty','rootpath','-controller','startsWith','214036aYXiJi','length','5JeEvvV','27ReLXEg','317028jQWHPa','-action','saveClassMetadata','join','substring','route','middleware','__esModule','prefix','APPSCONFIG_KEY','ACTION_KEY','10WEusNO','AppsConfigTmp','endsWith','push','filter','Action','@midwayjs/decorator','filepath','\x20文件请放在app/controller/文件下','958426EecTUq','4921410EsBzAv','replace','match','middlewareIgnore','indexOf','699590QZWQoP','/config.','205608MueuQn','cwd','apps/','trim','app/controller/','/controller/','/apps/','saveModule','tagName','../types/action','parseRoute','split','Controller','\x20文件请放在apps/','toLowerCase','module'];a3_0x5b20=function(){return _0x3ceafa;};return a3_0x5b20();}const fs=require('fs'),decorator_1=require(a3_0x2aa4f5(0x16b)),action_1=require(a3_0x2aa4f5(0x17f));function Action(_0xb89ebb,_0x12ba15,_0x5240b9={'middleware':[],'sensitive':!![]}){return _0x3c26e5=>{const _0x690fc3=a3_0x221e;_0x5240b9[_0x690fc3(0x17e)]=_0x12ba15;const _0x5e6d3d=parseRoute(_0xb89ebb);if(_0x5e6d3d['module']){_0x5240b9[_0x690fc3(0x162)]=_0x5240b9['prefix']?'/'+_0x5e6d3d['module']+'/'+_0x5240b9[_0x690fc3(0x162)]:'/'+_0x5e6d3d[_0x690fc3(0x15f)];_0x5e6d3d['prefix']&&(_0x5240b9[_0x690fc3(0x162)]='/'+_0x5e6d3d['prefix']+'/'+_0x5240b9[_0x690fc3(0x162)]);if(fs['existsSync'](_0x5e6d3d[_0x690fc3(0x189)]+_0x690fc3(0x17c)+_0x5e6d3d[_0x690fc3(0x185)]+_0x690fc3(0x175)+(lodash[_0x690fc3(0x167)](_0x5e6d3d[_0x690fc3(0x16c)],'ts')?'ts':'js'))){const _0x1d90f1=include(_0x5e6d3d[_0x690fc3(0x189)]+_0x690fc3(0x17c)+_0x5e6d3d[_0x690fc3(0x185)]+_0x690fc3(0x175)+(lodash[_0x690fc3(0x167)](_0x5e6d3d[_0x690fc3(0x16c)],'ts')?'ts':'js'));if(_0x1d90f1['middleware']&&lodash['isArray'](_0x1d90f1['middleware'])&&_0x1d90f1[_0x690fc3(0x160)]['length']>0x0)for(let _0x553e05 in _0x1d90f1[_0x690fc3(0x160)]){_0x1d90f1[_0x690fc3(0x172)]['indexOf'](_0x1d90f1[_0x690fc3(0x160)][_0x553e05])==-0x1&&_0x5240b9[_0x690fc3(0x160)][_0x690fc3(0x168)](_0x1d90f1[_0x690fc3(0x160)][_0x553e05]);}const _0x59fc23=(0x0,decorator_1['getClassMetadata'])(action_1[_0x690fc3(0x163)],action_1['AppsConfigTmp'])||{};_0x59fc23[''+_0x5e6d3d[_0x690fc3(0x185)]]=_0x1d90f1,(0x0,decorator_1[_0x690fc3(0x15c)])(action_1[_0x690fc3(0x163)],_0x59fc23,action_1[_0x690fc3(0x166)]);}_0x5240b9['prefix']=_0x5240b9[_0x690fc3(0x162)][_0x690fc3(0x184)]()['replace'](/\/{2,}/g,'/'),(0x0,decorator_1[_0x690fc3(0x17d)])(action_1['ACTION_KEY'],_0x3c26e5),(0x0,decorator_1[_0x690fc3(0x182)])(_0x5240b9[_0x690fc3(0x162)],_0x5240b9)(_0x3c26e5),(0x0,decorator_1[_0x690fc3(0x15c)])(action_1[_0x690fc3(0x164)],{'prefix':_0x5240b9[_0x690fc3(0x162)],'pprefix':_0x5e6d3d[_0x690fc3(0x162)],'module':_0x5e6d3d[_0x690fc3(0x185)],'filepath':_0x5e6d3d[_0x690fc3(0x16c)],'routerOptions':_0x5240b9},_0x3c26e5);}else _0x5240b9[_0x690fc3(0x162)]=_0x5240b9[_0x690fc3(0x162)]?'/'+_0x5240b9[_0x690fc3(0x162)]:'/'+_0x5e6d3d[_0x690fc3(0x15f)],_0x5e6d3d[_0x690fc3(0x162)]&&(_0x5240b9['prefix']='/'+_0x5e6d3d[_0x690fc3(0x162)]+'/'+_0x5240b9[_0x690fc3(0x162)]),_0x5240b9[_0x690fc3(0x162)]=_0x5240b9[_0x690fc3(0x162)][_0x690fc3(0x184)]()[_0x690fc3(0x170)](/\/{2,}/g,'/'),(0x0,decorator_1[_0x690fc3(0x17d)])(action_1[_0x690fc3(0x164)],_0x3c26e5),(0x0,decorator_1[_0x690fc3(0x182)])(_0x5240b9['prefix'],_0x5240b9)(_0x3c26e5),(0x0,decorator_1['saveClassMetadata'])(action_1[_0x690fc3(0x164)],{'prefix':_0x5240b9[_0x690fc3(0x162)],'module':_0x5e6d3d['module'],'pprefix':_0x5e6d3d[_0x690fc3(0x162)],'filepath':_0x5e6d3d[_0x690fc3(0x16c)],'routerOptions':_0x5240b9},_0x3c26e5);};}exports['Action']=Action;function parseRoute(_0x5c539d){const _0x295791=a3_0x2aa4f5;_0x5c539d=_0x5c539d[_0x295791(0x170)](/(\\|\/)/g,'/');const _0x5941bd=process[_0x295791(0x177)]()[_0x295791(0x170)](/(\\|\/)/g,'/'),_0x1d1810=_0x5c539d['substring'](0x0,_0x5941bd[_0x295791(0x157)]+_0x5c539d['substring'](_0x5941bd['length']+0x1)['indexOf']('/')+0x1),_0x142d5c=_0x5c539d['substring'](_0x1d1810[_0x295791(0x157)]+0x1)[_0x295791(0x170)](/(\\|\/)/g,'/'),_0x511a4e={'route':'','prefix':![],'module':![],'rootpath':_0x1d1810,'filepath':_0x142d5c};if(_0x142d5c[_0x295791(0x18b)](_0x295791(0x17a))){const _0x282e4e=_0x142d5c[_0x295791(0x15e)](_0x295791(0x17a)[_0x295791(0x157)])[_0x295791(0x181)]('/')['filter'](_0x57d85f=>_0x57d85f&&_0x57d85f[_0x295791(0x179)]());return _0x282e4e[_0x295791(0x157)]>0x1&&(_0x511a4e['prefix']=_0x282e4e[0x0][_0x295791(0x184)](),_0x282e4e['splice'](0x0,0x1)),_0x511a4e['route']=('/'+_0x282e4e[_0x295791(0x15d)]('/'))[_0x295791(0x170)](/(\.ts|\.js)$/,'')[_0x295791(0x170)](/\/{2,}/g,'/')[_0x295791(0x171)](/[\/|A-Z]*[^A-Z]+/g)[_0x295791(0x15d)]('-')[_0x295791(0x184)]()[_0x295791(0x170)](/\/\-/g,'/'),_0x511a4e[_0x295791(0x15f)]['endsWith'](_0x295791(0x15b))&&(_0x511a4e[_0x295791(0x15f)]=_0x511a4e[_0x295791(0x15f)][_0x295791(0x15e)](0x0,_0x511a4e[_0x295791(0x15f)][_0x295791(0x157)]-0x7)),_0x511a4e[_0x295791(0x15f)][_0x295791(0x167)]('-controller')&&(_0x511a4e[_0x295791(0x15f)]=_0x511a4e[_0x295791(0x15f)][_0x295791(0x15e)](0x0,_0x511a4e[_0x295791(0x15f)]['length']-0xb)),_0x511a4e;}else{if(_0x142d5c[_0x295791(0x18b)](_0x295791(0x178))){const _0x4596a9=_0x142d5c['substring'](0x0,_0x142d5c[_0x295791(0x173)](_0x295791(0x17c))+0x5),_0x15cb1f=_0x142d5c[_0x295791(0x15e)](_0x4596a9[_0x295791(0x157)]+0x1)['replace'](/(\\|\/)/g,'/')[_0x295791(0x181)]('/')[0x0];if(_0x142d5c['startsWith'](_0x295791(0x178)+_0x15cb1f+'/controller/')){const _0x3edda1=_0x142d5c[_0x295791(0x15e)]((_0x4596a9+'/'+_0x15cb1f+_0x295791(0x17b))[_0x295791(0x157)])[_0x295791(0x181)]('/')[_0x295791(0x169)](_0x1976b0=>_0x1976b0&&_0x1976b0[_0x295791(0x179)]());return _0x3edda1[_0x295791(0x157)]>0x1&&(_0x511a4e[_0x295791(0x162)]=_0x3edda1[0x0][_0x295791(0x184)](),_0x3edda1['splice'](0x0,0x1)),_0x511a4e['module']=_0x15cb1f,_0x511a4e[_0x295791(0x15f)]=('/'+_0x15cb1f+'/'+_0x3edda1[_0x295791(0x15d)]('/'))[_0x295791(0x170)](/(\.ts|\.js)$/,'')[_0x295791(0x170)](/\/{2,}/,'/')[_0x295791(0x171)](/[\/|A-Z]*[^A-Z]+/g)['join']('-')['toLowerCase']()['replace'](/\/\-/g,'/'),_0x511a4e[_0x295791(0x15f)][_0x295791(0x167)](_0x295791(0x15b))&&(_0x511a4e['route']=_0x511a4e['route']['substring'](0x0,_0x511a4e[_0x295791(0x15f)][_0x295791(0x157)]-0x7)),_0x511a4e[_0x295791(0x15f)][_0x295791(0x167)](_0x295791(0x18a))&&(_0x511a4e[_0x295791(0x15f)]=_0x511a4e[_0x295791(0x15f)][_0x295791(0x15e)](0x0,_0x511a4e[_0x295791(0x15f)][_0x295791(0x157)]-0xb)),_0x511a4e;}throw new Error(_0x142d5c+_0x295791(0x183)+_0x15cb1f+'/controller/文件下');}}throw new Error(_0x142d5c+_0x295791(0x16d));}exports[a3_0x2aa4f5(0x180)]=parseRoute;
@@ -1 +1 @@
1
- 'use strict';function a4_0x4ee9(_0x538f2c,_0x36daaa){const _0xfba28d=a4_0xfba2();return a4_0x4ee9=function(_0x4ee946,_0x484394){_0x4ee946=_0x4ee946-0x14a;let _0x5701bf=_0xfba28d[_0x4ee946];return _0x5701bf;},a4_0x4ee9(_0x538f2c,_0x36daaa);}const a4_0x47a6a0=a4_0x4ee9;(function(_0x1004d8,_0x426c48){const _0x5e3e87=a4_0x4ee9,_0x219c8b=_0x1004d8();while(!![]){try{const _0x3c35a5=-parseInt(_0x5e3e87(0x159))/0x1+parseInt(_0x5e3e87(0x162))/0x2+-parseInt(_0x5e3e87(0x15e))/0x3*(parseInt(_0x5e3e87(0x164))/0x4)+-parseInt(_0x5e3e87(0x16b))/0x5*(parseInt(_0x5e3e87(0x15d))/0x6)+parseInt(_0x5e3e87(0x15a))/0x7+-parseInt(_0x5e3e87(0x14d))/0x8*(parseInt(_0x5e3e87(0x160))/0x9)+parseInt(_0x5e3e87(0x155))/0xa;if(_0x3c35a5===_0x426c48)break;else _0x219c8b['push'](_0x219c8b['shift']());}catch(_0x143a50){_0x219c8b['push'](_0x219c8b['shift']());}}}(a4_0xfba2,0x4dbf2));Object['defineProperty'](exports,a4_0x47a6a0(0x16c),{'value':!![]}),exports[a4_0x47a6a0(0x158)]=void 0x0;const validator_1=require(a4_0x47a6a0(0x14c)),decorator_1=require(a4_0x47a6a0(0x163)),action_1=require(a4_0x47a6a0(0x151));function Api(_0x5835e4,_0x469005=a4_0x47a6a0(0x169),_0x42bbee='/',_0x4006d1={'apimit':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x104d2b,_0x4f3524,_0x5d9dd2)=>{const _0x7e0cc1=a4_0x4ee9;var _0xef22b0,_0xfa5f00,_0x4ea774;!_0x4006d1['middleware']&&(_0x4006d1[_0x7e0cc1(0x14a)]=[]);!((_0xef22b0=_0x4006d1===null||_0x4006d1===void 0x0?void 0x0:_0x4006d1[_0x7e0cc1(0x157)])===null||_0xef22b0===void 0x0?void 0x0:_0xef22b0[_0x7e0cc1(0x15c)])&&(_0x4006d1[_0x7e0cc1(0x157)]={'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':_0x7e0cc1(0x165)}});if(((_0xfa5f00=_0x4006d1===null||_0x4006d1===void 0x0?void 0x0:_0x4006d1[_0x7e0cc1(0x14a)])===null||_0xfa5f00===void 0x0?void 0x0:_0xfa5f00[_0x7e0cc1(0x14b)])>0x0&&((_0x4ea774=_0x4006d1===null||_0x4006d1===void 0x0?void 0x0:_0x4006d1[_0x7e0cc1(0x168)])===null||_0x4ea774===void 0x0?void 0x0:_0x4ea774['length'])>0x0)for(let _0x3c7883 in _0x4006d1[_0x7e0cc1(0x14a)]){_0x4006d1[_0x7e0cc1(0x168)]['indexOf'](_0x4006d1[_0x7e0cc1(0x14a)][_0x3c7883])!==-0x1&&(_0x4006d1['middleware'][_0x3c7883]=null);}_0x4006d1['routerName']=_0x5835e4,(0x0,validator_1[_0x7e0cc1(0x150)])(_0x4006d1['validate'])(_0x104d2b,_0x4f3524,_0x5d9dd2),(0x0,decorator_1[_0x7e0cc1(0x154)])(Object[_0x7e0cc1(0x14f)](_0x4006d1,{'path':_0x42bbee,'requestMethod':(_0x469005=='del'?_0x7e0cc1(0x167):_0x469005)['toLowerCase']()}))(_0x104d2b,_0x4f3524,_0x5d9dd2),(0x0,decorator_1[_0x7e0cc1(0x15f)])(action_1[_0x7e0cc1(0x15b)],{'path':_0x42bbee,'method':_0x4f3524,'apimit':_0x4006d1[_0x7e0cc1(0x166)],'routerName':_0x4006d1[_0x7e0cc1(0x156)],'description':_0x4006d1[_0x7e0cc1(0x161)],'middleware':(_0x4006d1[_0x7e0cc1(0x14a)]||[])['filter'](_0x7ad810=>!!_0x7ad810),'requestMethod':(_0x469005==_0x7e0cc1(0x14e)?'delete':_0x469005)[_0x7e0cc1(0x152)]()},_0x104d2b),(0x0,decorator_1[_0x7e0cc1(0x16a)])(action_1['ACTION_ROUTE_KEY'],{'path':_0x42bbee,'method':_0x4f3524,'apimit':_0x4006d1['apimit'],'routerName':_0x4006d1[_0x7e0cc1(0x156)],'description':_0x4006d1[_0x7e0cc1(0x161)],'middleware':(_0x4006d1[_0x7e0cc1(0x14a)]||[])[_0x7e0cc1(0x153)](_0x5d0165=>!!_0x5d0165),'requestMethod':(_0x469005=='del'?_0x7e0cc1(0x167):_0x469005)[_0x7e0cc1(0x152)]()})(_0x104d2b,_0x4f3524,_0x5d9dd2);};}exports[a4_0x47a6a0(0x158)]=Api;function a4_0xfba2(){const _0x561302=['get','createCustomMethodDecorator','145HkfaGx','__esModule','middleware','length','@anncic-api/validator','32hVGsfs','del','assign','Validator','../types/action','toLowerCase','filter','RequestMapping','4370110kCenBr','routerName','validate','Api','136756huwLkr','2828609pcuFwv','ACTION_ROUTE_KEY','validationOptions','34218sSzPMI','57YaJDkl','attachClassMetadata','1323423LuhlcV','description','952460MZmdEn','@midwayjs/decorator','22852IBBUEB','utc','apimit','delete','middlewareIgnore'];a4_0xfba2=function(){return _0x561302;};return a4_0xfba2();}
1
+ 'use strict';function a4_0x4639(_0x1d5d06,_0x979f58){const _0x190625=a4_0x1906();return a4_0x4639=function(_0x463909,_0x2a8482){_0x463909=_0x463909-0x10d;let _0x515adf=_0x190625[_0x463909];return _0x515adf;},a4_0x4639(_0x1d5d06,_0x979f58);}const a4_0x14b39f=a4_0x4639;(function(_0x54d165,_0x574b76){const _0x1312c0=a4_0x4639,_0x4bff82=_0x54d165();while(!![]){try{const _0x30c823=-parseInt(_0x1312c0(0x11c))/0x1*(parseInt(_0x1312c0(0x10f))/0x2)+-parseInt(_0x1312c0(0x12a))/0x3+-parseInt(_0x1312c0(0x122))/0x4+parseInt(_0x1312c0(0x128))/0x5+-parseInt(_0x1312c0(0x10d))/0x6+parseInt(_0x1312c0(0x11a))/0x7*(-parseInt(_0x1312c0(0x11b))/0x8)+-parseInt(_0x1312c0(0x120))/0x9*(-parseInt(_0x1312c0(0x115))/0xa);if(_0x30c823===_0x574b76)break;else _0x4bff82['push'](_0x4bff82['shift']());}catch(_0x173185){_0x4bff82['push'](_0x4bff82['shift']());}}}(a4_0x1906,0xc43b7));Object[a4_0x14b39f(0x121)](exports,a4_0x14b39f(0x118),{'value':!![]}),exports['Api']=void 0x0;const validator_1=require(a4_0x14b39f(0x129)),decorator_1=require('@midwayjs/decorator'),action_1=require('../types/action');function Api(_0x2b5577,_0x308829='get',_0x58920d='/',_0x3e344b={'apimit':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x18ea98,_0x2222b7,_0x5b3e7d)=>{const _0x545ec7=a4_0x4639;var _0x2671a8,_0xb52ac3,_0x6e7d2f;!_0x3e344b['middleware']&&(_0x3e344b[_0x545ec7(0x10e)]=[]);!((_0x2671a8=_0x3e344b===null||_0x3e344b===void 0x0?void 0x0:_0x3e344b[_0x545ec7(0x11f)])===null||_0x2671a8===void 0x0?void 0x0:_0x2671a8[_0x545ec7(0x113)])&&(_0x3e344b[_0x545ec7(0x11f)]={'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':'utc'}});if(((_0xb52ac3=_0x3e344b===null||_0x3e344b===void 0x0?void 0x0:_0x3e344b[_0x545ec7(0x10e)])===null||_0xb52ac3===void 0x0?void 0x0:_0xb52ac3[_0x545ec7(0x12b)])>0x0&&((_0x6e7d2f=_0x3e344b===null||_0x3e344b===void 0x0?void 0x0:_0x3e344b['middlewareIgnore'])===null||_0x6e7d2f===void 0x0?void 0x0:_0x6e7d2f[_0x545ec7(0x12b)])>0x0)for(let _0x30de8c in _0x3e344b[_0x545ec7(0x10e)]){_0x3e344b[_0x545ec7(0x124)][_0x545ec7(0x112)](_0x3e344b[_0x545ec7(0x10e)][_0x30de8c])!==-0x1&&(_0x3e344b[_0x545ec7(0x10e)][_0x30de8c]=null);}_0x3e344b[_0x545ec7(0x11e)]=_0x2b5577,(0x0,validator_1[_0x545ec7(0x110)])(_0x3e344b[_0x545ec7(0x11f)])(_0x18ea98,_0x2222b7,_0x5b3e7d),(0x0,decorator_1[_0x545ec7(0x119)])(Object['assign'](_0x3e344b,{'path':_0x58920d,'requestMethod':(_0x308829==_0x545ec7(0x116)?_0x545ec7(0x117):_0x308829)[_0x545ec7(0x11d)]()}))(_0x18ea98,_0x2222b7,_0x5b3e7d),(0x0,decorator_1['attachClassMetadata'])(action_1['ACTION_ROUTE_KEY'],{'path':_0x58920d,'method':_0x2222b7,'apimit':_0x3e344b['apimit'],'routerName':_0x3e344b[_0x545ec7(0x11e)],'description':_0x3e344b[_0x545ec7(0x114)],'middleware':(_0x3e344b[_0x545ec7(0x10e)]||[])[_0x545ec7(0x125)](_0x43789c=>!!_0x43789c),'requestMethod':(_0x308829=='del'?_0x545ec7(0x117):_0x308829)[_0x545ec7(0x11d)]()},_0x18ea98),(0x0,decorator_1[_0x545ec7(0x126)])(action_1[_0x545ec7(0x123)],{'path':_0x58920d,'method':_0x2222b7,'apimit':_0x3e344b[_0x545ec7(0x111)],'routerName':_0x3e344b[_0x545ec7(0x11e)],'description':_0x3e344b['description'],'middleware':(_0x3e344b[_0x545ec7(0x10e)]||[])[_0x545ec7(0x125)](_0x43dd1e=>!!_0x43dd1e),'requestMethod':(_0x308829==_0x545ec7(0x116)?_0x545ec7(0x117):_0x308829)[_0x545ec7(0x11d)]()})(_0x18ea98,_0x2222b7,_0x5b3e7d);};}exports[a4_0x14b39f(0x127)]=Api;function a4_0x1906(){const _0x549373=['routerName','validate','9nuRlXa','defineProperty','6177780lVYncc','ACTION_ROUTE_KEY','middlewareIgnore','filter','createCustomMethodDecorator','Api','5480390QoQZUK','@anncic-api/validator','908661BRBlNb','length','5547414JmQWCo','middleware','32cNIKKG','Validator','apimit','indexOf','validationOptions','description','34678430wPArxp','del','delete','__esModule','RequestMapping','4403GEjidW','11464bGOHUU','5431AZXQKg','toLowerCase'];a4_0x1906=function(){return _0x549373;};return a4_0x1906();}
@@ -1 +1 @@
1
- 'use strict';const a5_0x3fde31=a5_0x4230;(function(_0x4e87a1,_0x272be2){const _0x229a93=a5_0x4230,_0x2b0b67=_0x4e87a1();while(!![]){try{const _0x5abe5d=-parseInt(_0x229a93(0x1b2))/0x1+-parseInt(_0x229a93(0x1c4))/0x2+parseInt(_0x229a93(0x1ca))/0x3+-parseInt(_0x229a93(0x1c6))/0x4*(-parseInt(_0x229a93(0x1b6))/0x5)+parseInt(_0x229a93(0x1bd))/0x6*(-parseInt(_0x229a93(0x1b4))/0x7)+parseInt(_0x229a93(0x1cb))/0x8*(-parseInt(_0x229a93(0x1ba))/0x9)+-parseInt(_0x229a93(0x1c5))/0xa*(-parseInt(_0x229a93(0x1be))/0xb);if(_0x5abe5d===_0x272be2)break;else _0x2b0b67['push'](_0x2b0b67['shift']());}catch(_0x15f350){_0x2b0b67['push'](_0x2b0b67['shift']());}}}(a5_0xf0cc,0xdd198));function a5_0xf0cc(){const _0x3e338e=['apidoc','apitest','getConfig','REQUEST_OBJ_CTX_KEY','953586PfXWHa','20xHtMGt','31300mZzGZP','Apitest','getApplicationContext','defineProperty','3213459PSNnBd','32MhIVRQ','1538365DkkIIs','filepath','25459VPfRbu','getAsync','1045oEBjyA','app','get','MidwayEnvironmentService','3052629GoZrJT','@midwayjs/core','isDevelopmentEnvironment','168fqHGlo','9200202lIUwyy','ApitestService'];a5_0xf0cc=function(){return _0x3e338e;};return a5_0xf0cc();}function a5_0x4230(_0x15c9dd,_0x249faf){const _0xf0cc12=a5_0xf0cc();return a5_0x4230=function(_0x42304b,_0x359bb2){_0x42304b=_0x42304b-0x1b2;let _0x434935=_0xf0cc12[_0x42304b];return _0x434935;},a5_0x4230(_0x15c9dd,_0x249faf);}Object[a5_0x3fde31(0x1c9)](exports,'__esModule',{'value':!![]}),exports[a5_0x3fde31(0x1c7)]=void 0x0;const decorator_1=require('@midwayjs/decorator'),core_1=require(a5_0x3fde31(0x1bb)),ApitestService_1=require('../service/ApitestService');function Apitest(_0x246785='/apitest',_0x408c01){return(_0x4c75a2,_0x1e9529,_0x2679e3)=>{const _0x5a33b4=a5_0x4230;return(0x0,decorator_1['RequestMapping'])({'path':_0x246785,'requestMethod':_0x5a33b4(0x1b8)})(_0x4c75a2,_0x1e9529,_0x2679e3),_0x2679e3['value']=async function(..._0x381dfc){const _0x53ea4a=_0x5a33b4;var _0x2d7c2d;const _0xdc05e9=(_0x2d7c2d=this[core_1[_0x53ea4a(0x1c3)]])===null||_0x2d7c2d===void 0x0?void 0x0:_0x2d7c2d[_0x53ea4a(0x1b7)];if(_0xdc05e9&&_0xdc05e9[_0x53ea4a(0x1c2)](_0x53ea4a(0x1c1))){const _0x70b0ee=await _0xdc05e9[_0x53ea4a(0x1c8)]()[_0x53ea4a(0x1b5)](ApitestService_1[_0x53ea4a(0x1bf)]),_0x9476e2=await _0xdc05e9[_0x53ea4a(0x1c8)]()[_0x53ea4a(0x1b5)](core_1[_0x53ea4a(0x1b9)]);return _0x9476e2[_0x53ea4a(0x1bc)]()&&(_0x408c01[_0x53ea4a(0x1b3)]=!![]),await _0x70b0ee[_0x53ea4a(0x1c0)](_0x408c01);}return'';},_0x2679e3;};}exports['Apitest']=Apitest;
1
+ 'use strict';const a5_0xdc8305=a5_0x37cd;function a5_0x37cd(_0x47f12a,_0x5a9f34){const _0x388890=a5_0x3888();return a5_0x37cd=function(_0x37cde4,_0x563cd9){_0x37cde4=_0x37cde4-0x170;let _0xebfad6=_0x388890[_0x37cde4];return _0xebfad6;},a5_0x37cd(_0x47f12a,_0x5a9f34);}(function(_0x49a568,_0x3fa435){const _0x7e6483=a5_0x37cd,_0xa544f6=_0x49a568();while(!![]){try{const _0x4450a2=parseInt(_0x7e6483(0x184))/0x1+parseInt(_0x7e6483(0x17a))/0x2+parseInt(_0x7e6483(0x18a))/0x3*(-parseInt(_0x7e6483(0x174))/0x4)+parseInt(_0x7e6483(0x189))/0x5*(parseInt(_0x7e6483(0x172))/0x6)+-parseInt(_0x7e6483(0x177))/0x7*(parseInt(_0x7e6483(0x17f))/0x8)+-parseInt(_0x7e6483(0x175))/0x9+parseInt(_0x7e6483(0x17d))/0xa;if(_0x4450a2===_0x3fa435)break;else _0xa544f6['push'](_0xa544f6['shift']());}catch(_0x4cae10){_0xa544f6['push'](_0xa544f6['shift']());}}}(a5_0x3888,0x9339d));Object[a5_0xdc8305(0x181)](exports,a5_0xdc8305(0x186),{'value':!![]}),exports[a5_0xdc8305(0x183)]=void 0x0;const decorator_1=require(a5_0xdc8305(0x170)),core_1=require(a5_0xdc8305(0x182)),ApitestService_1=require(a5_0xdc8305(0x187));function a5_0x3888(){const _0x2e9228=['Apitest','376363ilFysZ','filepath','__esModule','../service/ApitestService','RequestMapping','5slqfIx','3610284aeaUKO','@midwayjs/decorator','ApitestService','2821818xzCOME','apidoc','4mcBYBt','3504825SQqKUD','getAsync','434ZnBzYt','REQUEST_OBJ_CTX_KEY','getApplicationContext','561426lYhFNN','app','MidwayEnvironmentService','21812250PoiZxe','get','143576QfRcDc','apitest','defineProperty','@midwayjs/core'];a5_0x3888=function(){return _0x2e9228;};return a5_0x3888();}function Apitest(_0x47b57c='/apitest',_0x394c2d){return(_0x4fd5a9,_0x39908,_0x273a9b)=>{const _0xeae9b0=a5_0x37cd;return(0x0,decorator_1[_0xeae9b0(0x188)])({'path':_0x47b57c,'requestMethod':_0xeae9b0(0x17e)})(_0x4fd5a9,_0x39908,_0x273a9b),_0x273a9b['value']=async function(..._0xf5ae92){const _0x1c1baa=_0xeae9b0;var _0x1ba166;const _0x157b9a=(_0x1ba166=this[core_1[_0x1c1baa(0x178)]])===null||_0x1ba166===void 0x0?void 0x0:_0x1ba166[_0x1c1baa(0x17b)];if(_0x157b9a&&_0x157b9a['getConfig'](_0x1c1baa(0x180))){const _0x34566a=await _0x157b9a[_0x1c1baa(0x179)]()[_0x1c1baa(0x176)](ApitestService_1[_0x1c1baa(0x171)]),_0x4aa13f=await _0x157b9a[_0x1c1baa(0x179)]()[_0x1c1baa(0x176)](core_1[_0x1c1baa(0x17c)]);return _0x4aa13f['isDevelopmentEnvironment']()&&(_0x394c2d[_0x1c1baa(0x185)]=!![]),await _0x34566a[_0x1c1baa(0x173)](_0x394c2d);}return'';},_0x273a9b;};}exports[a5_0xdc8305(0x183)]=Apitest;
@@ -1 +1 @@
1
- 'use strict';var a6_0x439fa3=a6_0x46b8;(function(_0x139fe9,_0x2046bd){var _0x5172b1=a6_0x46b8,_0x50ddaf=_0x139fe9();while(!![]){try{var _0x50259e=-parseInt(_0x5172b1(0x16b))/0x1*(-parseInt(_0x5172b1(0x14e))/0x2)+-parseInt(_0x5172b1(0x160))/0x3*(-parseInt(_0x5172b1(0x16a))/0x4)+parseInt(_0x5172b1(0x154))/0x5*(parseInt(_0x5172b1(0x14d))/0x6)+-parseInt(_0x5172b1(0x159))/0x7+parseInt(_0x5172b1(0x158))/0x8+parseInt(_0x5172b1(0x16c))/0x9*(-parseInt(_0x5172b1(0x15e))/0xa)+-parseInt(_0x5172b1(0x15b))/0xb;if(_0x50259e===_0x2046bd)break;else _0x50ddaf['push'](_0x50ddaf['shift']());}catch(_0x3f156e){_0x50ddaf['push'](_0x50ddaf['shift']());}}}(a6_0x5b7e,0x3bdbc));var __decorate=this&&this[a6_0x439fa3(0x168)]||function(_0x87eff0,_0x4a6d1f,_0x2b959f,_0x3b4b71){var _0x300fd9=a6_0x439fa3,_0x5a4472=arguments[_0x300fd9(0x169)],_0xf5914d=_0x5a4472<0x3?_0x4a6d1f:_0x3b4b71===null?_0x3b4b71=Object[_0x300fd9(0x162)](_0x4a6d1f,_0x2b959f):_0x3b4b71,_0x11c11f;if(typeof Reflect===_0x300fd9(0x15a)&&typeof Reflect[_0x300fd9(0x164)]===_0x300fd9(0x161))_0xf5914d=Reflect['decorate'](_0x87eff0,_0x4a6d1f,_0x2b959f,_0x3b4b71);else{for(var _0x3ae472=_0x87eff0['length']-0x1;_0x3ae472>=0x0;_0x3ae472--)if(_0x11c11f=_0x87eff0[_0x3ae472])_0xf5914d=(_0x5a4472<0x3?_0x11c11f(_0xf5914d):_0x5a4472>0x3?_0x11c11f(_0x4a6d1f,_0x2b959f,_0xf5914d):_0x11c11f(_0x4a6d1f,_0x2b959f))||_0xf5914d;}return _0x5a4472>0x3&&_0xf5914d&&Object['defineProperty'](_0x4a6d1f,_0x2b959f,_0xf5914d),_0xf5914d;},__metadata=this&&this[a6_0x439fa3(0x163)]||function(_0x7b5258,_0x2df53f){var _0x5df9e0=a6_0x439fa3;if(typeof Reflect===_0x5df9e0(0x15a)&&typeof Reflect[_0x5df9e0(0x166)]==='function')return Reflect['metadata'](_0x7b5258,_0x2df53f);};Object[a6_0x439fa3(0x15d)](exports,a6_0x439fa3(0x152),{'value':!![]}),exports[a6_0x439fa3(0x14f)]=void 0x0;function a6_0x5b7e(){var _0x363e89=['请使用正确的设备','305936PMoIgY','2054178FvTVDc','object','342639OCLIeF','design:type','defineProperty','352700GzuVJB','网络繁忙,请稍后重试','36219rpIuGL','function','getOwnPropertyDescriptor','__metadata','decorate','TIMEOUT','metadata','HEADERS_SIGNATURE','__decorate','length','68RCWzgd','1zXDPXV','9naMgBv','4206MqzTav','200194iByhis','ApiError','signature验证失败','HEADERS_LACK','__esModule','请求头信息不完整','1865FJHsXf','HEADERS_CHECKCODE','HEADERS_DEVICE'];a6_0x5b7e=function(){return _0x363e89;};return a6_0x5b7e();}class ApiError{}function a6_0x46b8(_0x2df86f,_0x542c32){var _0x5b7edf=a6_0x5b7e();return a6_0x46b8=function(_0x46b86d,_0x2a68a3){_0x46b86d=_0x46b86d-0x14d;var _0x255fec=_0x5b7edf[_0x46b86d];return _0x255fec;},a6_0x46b8(_0x2df86f,_0x542c32);}ApiError[a6_0x439fa3(0x165)]=0x3d7e31,ApiError[a6_0x439fa3(0x151)]=0x3d7e32,ApiError[a6_0x439fa3(0x156)]=0x3d7e33,ApiError[a6_0x439fa3(0x155)]=0x3d7e34,ApiError[a6_0x439fa3(0x167)]=0x3d7e35,__decorate([AnnErrorMsg(a6_0x439fa3(0x15f)),__metadata(a6_0x439fa3(0x15c),Object)],ApiError,a6_0x439fa3(0x165),void 0x0),__decorate([AnnErrorMsg(a6_0x439fa3(0x153)),__metadata(a6_0x439fa3(0x15c),Object)],ApiError,a6_0x439fa3(0x151),void 0x0),__decorate([AnnErrorMsg(a6_0x439fa3(0x157)),__metadata(a6_0x439fa3(0x15c),Object)],ApiError,'HEADERS_DEVICE',void 0x0),__decorate([AnnErrorMsg('checkcode验证失败'),__metadata(a6_0x439fa3(0x15c),Object)],ApiError,a6_0x439fa3(0x155),void 0x0),__decorate([AnnErrorMsg(a6_0x439fa3(0x150)),__metadata(a6_0x439fa3(0x15c),Object)],ApiError,a6_0x439fa3(0x167),void 0x0),exports['ApiError']=ApiError;
1
+ 'use strict';var a6_0x528bfb=a6_0x4f37;(function(_0x549b5f,_0x57a6c1){var _0x48465e=a6_0x4f37,_0x411524=_0x549b5f();while(!![]){try{var _0x20c432=-parseInt(_0x48465e(0xa3))/0x1+-parseInt(_0x48465e(0x91))/0x2*(-parseInt(_0x48465e(0xa8))/0x3)+-parseInt(_0x48465e(0x99))/0x4+parseInt(_0x48465e(0x8d))/0x5+-parseInt(_0x48465e(0xa4))/0x6+parseInt(_0x48465e(0xa0))/0x7+parseInt(_0x48465e(0x9d))/0x8;if(_0x20c432===_0x57a6c1)break;else _0x411524['push'](_0x411524['shift']());}catch(_0x1ba699){_0x411524['push'](_0x411524['shift']());}}}(a6_0x2a5c,0x32668));var __decorate=this&&this[a6_0x528bfb(0x92)]||function(_0x598078,_0x3802e0,_0x499d37,_0x7342ab){var _0x58cdf0=a6_0x528bfb,_0x4d39d2=arguments[_0x58cdf0(0xa1)],_0x177bff=_0x4d39d2<0x3?_0x3802e0:_0x7342ab===null?_0x7342ab=Object[_0x58cdf0(0x8e)](_0x3802e0,_0x499d37):_0x7342ab,_0x452691;if(typeof Reflect===_0x58cdf0(0x9e)&&typeof Reflect[_0x58cdf0(0x94)]===_0x58cdf0(0x95))_0x177bff=Reflect[_0x58cdf0(0x94)](_0x598078,_0x3802e0,_0x499d37,_0x7342ab);else{for(var _0x527a78=_0x598078['length']-0x1;_0x527a78>=0x0;_0x527a78--)if(_0x452691=_0x598078[_0x527a78])_0x177bff=(_0x4d39d2<0x3?_0x452691(_0x177bff):_0x4d39d2>0x3?_0x452691(_0x3802e0,_0x499d37,_0x177bff):_0x452691(_0x3802e0,_0x499d37))||_0x177bff;}return _0x4d39d2>0x3&&_0x177bff&&Object[_0x58cdf0(0x93)](_0x3802e0,_0x499d37,_0x177bff),_0x177bff;},__metadata=this&&this[a6_0x528bfb(0xa7)]||function(_0x5bb5be,_0x37abb8){var _0x1abae1=a6_0x528bfb;if(typeof Reflect===_0x1abae1(0x9e)&&typeof Reflect[_0x1abae1(0xa2)]==='function')return Reflect[_0x1abae1(0xa2)](_0x5bb5be,_0x37abb8);};Object[a6_0x528bfb(0x93)](exports,a6_0x528bfb(0x9a),{'value':!![]}),exports[a6_0x528bfb(0x9f)]=void 0x0;class ApiError{}function a6_0x4f37(_0x1bada4,_0x113f26){var _0x2a5cc9=a6_0x2a5c();return a6_0x4f37=function(_0x4f37bf,_0x246255){_0x4f37bf=_0x4f37bf-0x8d;var _0x2e50b4=_0x2a5cc9[_0x4f37bf];return _0x2e50b4;},a6_0x4f37(_0x1bada4,_0x113f26);}function a6_0x2a5c(){var _0x507850=['2286318GosycH','signature验证失败','HEADERS_SIGNATURE','__metadata','354NfjDWM','1850415mBIrFd','getOwnPropertyDescriptor','HEADERS_CHECKCODE','TIMEOUT','354QdWzYY','__decorate','defineProperty','decorate','function','请使用正确的设备','design:type','请求头信息不完整','182256hvjThf','__esModule','网络繁忙,请稍后重试','checkcode验证失败','2085328ibjilW','object','ApiError','1795192IfaUeF','length','metadata','275034HlUNFo'];a6_0x2a5c=function(){return _0x507850;};return a6_0x2a5c();}ApiError['TIMEOUT']=0x3d7e31,ApiError['HEADERS_LACK']=0x3d7e32,ApiError['HEADERS_DEVICE']=0x3d7e33,ApiError[a6_0x528bfb(0x8f)]=0x3d7e34,ApiError[a6_0x528bfb(0xa6)]=0x3d7e35,__decorate([AnnErrorMsg(a6_0x528bfb(0x9b)),__metadata('design:type',Object)],ApiError,a6_0x528bfb(0x90),void 0x0),__decorate([AnnErrorMsg(a6_0x528bfb(0x98)),__metadata(a6_0x528bfb(0x97),Object)],ApiError,'HEADERS_LACK',void 0x0),__decorate([AnnErrorMsg(a6_0x528bfb(0x96)),__metadata(a6_0x528bfb(0x97),Object)],ApiError,'HEADERS_DEVICE',void 0x0),__decorate([AnnErrorMsg(a6_0x528bfb(0x9c)),__metadata(a6_0x528bfb(0x97),Object)],ApiError,'HEADERS_CHECKCODE',void 0x0),__decorate([AnnErrorMsg(a6_0x528bfb(0xa5)),__metadata(a6_0x528bfb(0x97),Object)],ApiError,'HEADERS_SIGNATURE',void 0x0),exports[a6_0x528bfb(0x9f)]=ApiError;
@@ -1 +1 @@
1
- 'use strict';const a7_0x3e0f72=a7_0x1846;(function(_0x3d37ea,_0x36814d){const _0x46a311=a7_0x1846,_0x1af3d2=_0x3d37ea();while(!![]){try{const _0x5295ed=parseInt(_0x46a311(0xfc))/0x1+-parseInt(_0x46a311(0x100))/0x2+-parseInt(_0x46a311(0xf2))/0x3+-parseInt(_0x46a311(0xf6))/0x4*(parseInt(_0x46a311(0xfb))/0x5)+-parseInt(_0x46a311(0xf7))/0x6*(parseInt(_0x46a311(0xfd))/0x7)+parseInt(_0x46a311(0xf8))/0x8+parseInt(_0x46a311(0x101))/0x9;if(_0x5295ed===_0x36814d)break;else _0x1af3d2['push'](_0x1af3d2['shift']());}catch(_0x40cb50){_0x1af3d2['push'](_0x1af3d2['shift']());}}}(a7_0x391e,0xc1f43));function a7_0x1846(_0x18e87d,_0x5e69de){const _0x391e75=a7_0x391e();return a7_0x1846=function(_0x1846b1,_0x26d1eb){_0x1846b1=_0x1846b1-0xf2;let _0x5d1882=_0x391e75[_0x1846b1];return _0x5d1882;},a7_0x1846(_0x18e87d,_0x5e69de);}Object[a7_0x3e0f72(0xfe)](exports,a7_0x3e0f72(0xfa),{'value':!![]}),exports['getAppsConfig']=void 0x0;const decorator_1=require(a7_0x3e0f72(0xf5)),action_1=require(a7_0x3e0f72(0xff));function getAppsConfig(_0x4b921d){const _0x14ac6d=a7_0x3e0f72,_0x321fb6=(0x0,decorator_1[_0x14ac6d(0xf4)])(action_1[_0x14ac6d(0xf3)],action_1['AppsConfigTmp'])||{};return _0x4b921d?lodash['get'](_0x321fb6,_0x4b921d):_0x321fb6;}function a7_0x391e(){const _0x2002b6=['APPSCONFIG_KEY','getClassMetadata','@midwayjs/decorator','28NFUegY','3667194vWqBNJ','1185240RGhAHT','getAppsConfig','__esModule','1124905XpGmqB','910088vzTUXr','7siDbJW','defineProperty','../types/action','1742378fFQIIX','28215225JULwAO','1024734lmdtAN'];a7_0x391e=function(){return _0x2002b6;};return a7_0x391e();}exports[a7_0x3e0f72(0xf9)]=getAppsConfig;
1
+ 'use strict';function a7_0x4008(_0x35f124,_0x3f48d3){const _0x4acc05=a7_0x4acc();return a7_0x4008=function(_0x40085f,_0x422eeb){_0x40085f=_0x40085f-0x198;let _0xf199b0=_0x4acc05[_0x40085f];return _0xf199b0;},a7_0x4008(_0x35f124,_0x3f48d3);}const a7_0x14ebbc=a7_0x4008;(function(_0x5d1fd9,_0xa44f7b){const _0x4b4869=a7_0x4008,_0x3ad571=_0x5d1fd9();while(!![]){try{const _0x8b54d=-parseInt(_0x4b4869(0x1a7))/0x1+-parseInt(_0x4b4869(0x1a8))/0x2*(parseInt(_0x4b4869(0x198))/0x3)+parseInt(_0x4b4869(0x19f))/0x4*(parseInt(_0x4b4869(0x1a6))/0x5)+parseInt(_0x4b4869(0x19d))/0x6*(parseInt(_0x4b4869(0x1a0))/0x7)+parseInt(_0x4b4869(0x1a1))/0x8*(parseInt(_0x4b4869(0x1aa))/0x9)+-parseInt(_0x4b4869(0x1a5))/0xa+-parseInt(_0x4b4869(0x1a9))/0xb*(-parseInt(_0x4b4869(0x19a))/0xc);if(_0x8b54d===_0xa44f7b)break;else _0x3ad571['push'](_0x3ad571['shift']());}catch(_0x54b6b8){_0x3ad571['push'](_0x3ad571['shift']());}}}(a7_0x4acc,0x25b28));Object['defineProperty'](exports,a7_0x14ebbc(0x199),{'value':!![]}),exports['getAppsConfig']=void 0x0;const decorator_1=require(a7_0x14ebbc(0x1a4)),action_1=require('../types/action');function a7_0x4acc(){const _0x36c931=['676629EHGXKN','__esModule','1884nIhJlL','APPSCONFIG_KEY','getAppsConfig','36QOmpNL','get','4jpfliM','138334CYVTJp','72nklFtI','getClassMetadata','AppsConfigTmp','@midwayjs/decorator','499290QUKltM','1427515quggfP','139130cRQJii','2txAaaE','572Eimkos','156771ZcygeN'];a7_0x4acc=function(){return _0x36c931;};return a7_0x4acc();}function getAppsConfig(_0x56541a){const _0x24b6c5=a7_0x14ebbc,_0x12bf98=(0x0,decorator_1[_0x24b6c5(0x1a2)])(action_1[_0x24b6c5(0x19b)],action_1[_0x24b6c5(0x1a3)])||{};return _0x56541a?lodash[_0x24b6c5(0x19e)](_0x12bf98,_0x56541a):_0x12bf98;}exports[a7_0x14ebbc(0x19c)]=getAppsConfig;
@@ -1 +1 @@
1
- 'use strict';const a8_0x1530ab=a8_0x59f0;(function(_0x4273b0,_0x45e0a6){const _0xfef910=a8_0x59f0,_0x3fe776=_0x4273b0();while(!![]){try{const _0x54a1b9=-parseInt(_0xfef910(0xc6))/0x1+parseInt(_0xfef910(0xc4))/0x2+-parseInt(_0xfef910(0xab))/0x3*(parseInt(_0xfef910(0x9b))/0x4)+parseInt(_0xfef910(0xae))/0x5+parseInt(_0xfef910(0xa9))/0x6+parseInt(_0xfef910(0x97))/0x7*(-parseInt(_0xfef910(0xaa))/0x8)+-parseInt(_0xfef910(0xc5))/0x9*(parseInt(_0xfef910(0xa8))/0xa);if(_0x54a1b9===_0x45e0a6)break;else _0x3fe776['push'](_0x3fe776['shift']());}catch(_0x4e5390){_0x3fe776['push'](_0x3fe776['shift']());}}}(a8_0x28fd,0x3aafb));function a8_0x28fd(){const _0x48ec26=['title','RouteParamTypes','QUERY','getClassExtendedMetadata','prefix','Boolean','-array','flags.default','defineProperty','HEADERS','max','pprefix','677174mOOKiy','11268ELQTjg','373647JaKIaF','ACTION_KEY','WEB_ROUTER_PARAM_KEY','length','body','required','File','split','metadata','String','routes','文件上传-','route','min','push','module','allow','/static/apitest','type','default','summary','children','FILESTREAM','filter','只允许:[','indexOf','routerOptions','listModule','flags.description','__esModule','header','routerName','getRoutes','concat','key','describe','path','log','@anncic-api/validator','get','join','boolean','filepath','find','limit','@midwayjs/decorator','rules','INJECT_CUSTOM_PARAM','Object','543053EvNtFN','array','items','description','356wCSXKI','keys','function','args','string','propertyData','replace','ACTION_ROUTE_KEY','tagName','noreq','FIELDS','requestMethod','getClassMetadata','1430shOZgC','2059026vOhfFH','8ZeBQBW','5178YIxPly','object','isArray','1712485OSZSaR','request','file','query','name','flags.label','RULES_KEY','method','startsWith','BODY'];a8_0x28fd=function(){return _0x48ec26;};return a8_0x28fd();}Object[a8_0x1530ab(0xc0)](exports,a8_0x1530ab(0x83),{'value':!![]}),exports[a8_0x1530ab(0x86)]=void 0x0;const lodash_1=require('lodash'),validator_1=require(a8_0x1530ab(0x8c)),decorator_1=require('@midwayjs/decorator'),decorator_2=require(a8_0x1530ab(0x93)),decorator_3=require(a8_0x1530ab(0x93)),action_1=require('../types/action');function a8_0x59f0(_0x27367b,_0x405f18){const _0x28fd1c=a8_0x28fd();return a8_0x59f0=function(_0x59f0c5,_0x2f6897){_0x59f0c5=_0x59f0c5-0x72;let _0x1441ec=_0x28fd1c[_0x59f0c5];return _0x1441ec;},a8_0x59f0(_0x27367b,_0x405f18);}function getRoutes(_0x3ceaa5={'prefix':'/','module':![]}){const _0x26b7d2=a8_0x1530ab;var _0x20a1a7,_0xdc8aeb;const _0x15f2e9=(0x0,decorator_3[_0x26b7d2(0x81)])(action_1[_0x26b7d2(0xc7)]),_0x8ef242={},_0x3e8f4c=Array['isArray'](_0x3ceaa5['filter']||[])?_0x3ceaa5[_0x26b7d2(0x7d)]||[]:[_0x3ceaa5[_0x26b7d2(0x7d)]];_0xa4e7bd:for(const _0x10a1e8 of _0x15f2e9){let _0x396b19=(0x0,decorator_3[_0x26b7d2(0xa7)])(action_1[_0x26b7d2(0xc7)],_0x10a1e8),_0x52f4e9=(0x0,decorator_3[_0x26b7d2(0xa7)])(action_1[_0x26b7d2(0xa2)],_0x10a1e8);if(_0x396b19&&_0x52f4e9){let _0x11340d=_0x396b19[_0x26b7d2(0xbc)],_0x4cb29a={};if(_0x3ceaa5[_0x26b7d2(0x75)]&&(0x0,lodash_1[_0x26b7d2(0x8d)])(_0x396b19,_0x26b7d2(0x75),![])!=_0x3ceaa5[_0x26b7d2(0x75)])continue _0xa4e7bd;else{if(_0x3ceaa5[_0x26b7d2(0x75)]===![]&&!!(0x0,lodash_1[_0x26b7d2(0x8d)])(_0x396b19,_0x26b7d2(0x75),null))continue _0xa4e7bd;}if(_0x3ceaa5['prefix']&&!_0x11340d['startsWith'](_0x3ceaa5[_0x26b7d2(0xbc)]))continue _0xa4e7bd;_0x11340d!=='/'?(_0x4cb29a[_0x26b7d2(0x7a)]=(_0x396b19===null||_0x396b19===void 0x0?void 0x0:_0x396b19[_0x26b7d2(0x80)][_0x26b7d2(0xa3)])||(/^\//['test'](_0x11340d)?_0x11340d[_0x26b7d2(0xcd)]('/')[0x1]:_0x11340d),_0x4cb29a[_0x26b7d2(0x9a)]=(_0x396b19===null||_0x396b19===void 0x0?void 0x0:_0x396b19[_0x26b7d2(0x80)][_0x26b7d2(0x9a)])||_0x4cb29a[_0x26b7d2(0x7a)],_0x4cb29a[_0x26b7d2(0xd0)]=[]):(_0x4cb29a[_0x26b7d2(0x7a)]=(_0x396b19===null||_0x396b19===void 0x0?void 0x0:_0x396b19[_0x26b7d2(0x80)][_0x26b7d2(0xa3)])||'default',_0x4cb29a['description']=(_0x396b19===null||_0x396b19===void 0x0?void 0x0:_0x396b19[_0x26b7d2(0x80)][_0x26b7d2(0x9a)])||'',_0x4cb29a[_0x26b7d2(0xd0)]=[]);_0x3ceaa5[_0x26b7d2(0x90)]&&(_0x4cb29a[_0x26b7d2(0x90)]=_0x396b19===null||_0x396b19===void 0x0?void 0x0:_0x396b19[_0x26b7d2(0x90)]);(_0x396b19===null||_0x396b19===void 0x0?void 0x0:_0x396b19[_0x26b7d2(0xc3)])&&(_0x4cb29a[_0x26b7d2(0xbc)]=_0x396b19[_0x26b7d2(0xc3)]);(_0x396b19===null||_0x396b19===void 0x0?void 0x0:_0x396b19['module'])&&(_0x4cb29a[_0x26b7d2(0x75)]=_0x396b19['module']);let _0x43545b=(0x0,decorator_3[_0x26b7d2(0xa7)])(decorator_2[_0x26b7d2(0x95)],_0x10a1e8)||{};if(typeof _0x52f4e9[Symbol['iterator']]==='function')for(let _0x4fa996 of _0x52f4e9){let _0x3b2aa3={};_0x3b2aa3[_0x26b7d2(0xb5)]=_0x4fa996[_0x26b7d2(0xa6)],_0x3b2aa3[_0x26b7d2(0x72)]=(_0x11340d+_0x4fa996[_0x26b7d2(0x8a)])[_0x26b7d2(0xa1)](/\/{1,}/,'/'),_0x3b2aa3[_0x26b7d2(0x7a)]=(_0x4fa996===null||_0x4fa996===void 0x0?void 0x0:_0x4fa996[_0x26b7d2(0x85)])||_0x4cb29a['summary']||_0x26b7d2(0x79),_0x3b2aa3['description']=(_0x4fa996===null||_0x4fa996===void 0x0?void 0x0:_0x4fa996[_0x26b7d2(0x9a)])||'',_0x3b2aa3[_0x26b7d2(0xaf)]=[];if(!(0x0,lodash_1['startsWith'])(_0x3b2aa3['route'],'static/apitest')&&!(0x0,lodash_1[_0x26b7d2(0xb6)])(_0x3b2aa3[_0x26b7d2(0x72)],_0x26b7d2(0x77))&&_0x3e8f4c['indexOf'](_0x3b2aa3[_0x26b7d2(0x72)])===-0x1){if(!(_0x3ceaa5===null||_0x3ceaa5===void 0x0?void 0x0:_0x3ceaa5[_0x26b7d2(0xa4)])){let _0xbc39ca=(0x0,decorator_3['getMethodParamTypes'])(new _0x10a1e8(),_0x4fa996[_0x26b7d2(0xb5)]);for(const _0x529cec in _0xbc39ca){let _0x28e4f0=(_0x20a1a7=_0x43545b[_0x4fa996[_0x26b7d2(0xb5)]])===null||_0x20a1a7===void 0x0?void 0x0:_0x20a1a7['find'](_0x1beaec=>_0x1beaec['parameterIndex']==_0x529cec&&_0x1beaec['key']===decorator_2[_0x26b7d2(0xc8)]&&(_0x1beaec===null||_0x1beaec===void 0x0?void 0x0:_0x1beaec[_0x26b7d2(0xce)]));if(_0x28e4f0===null||_0x28e4f0===void 0x0?void 0x0:_0x28e4f0[_0x26b7d2(0xce)]){let _0x390350=convertTypeToString(_0x28e4f0[_0x26b7d2(0xce)][_0x26b7d2(0x78)]||0x0);if([_0x26b7d2(0xb1),'body'][_0x26b7d2(0x7f)](_0x390350)!=-0x1&&_0x28e4f0[_0x26b7d2(0xce)][_0x26b7d2(0xa0)]['indexOf'](':')==-0x1&&!_0x3b2aa3[_0x26b7d2(0xaf)][_0x26b7d2(0x91)](_0x2ff030=>_0x2ff030[_0x26b7d2(0x88)]==_0x28e4f0['metadata'][_0x26b7d2(0xa0)]))_0x3b2aa3[_0x26b7d2(0xaf)][_0x26b7d2(0x74)]({'key':_0x28e4f0['metadata'][_0x26b7d2(0xa0)],'title':_0x28e4f0['metadata'][_0x26b7d2(0xa0)],'type':convertSchemaType(_0xbc39ca[_0x28e4f0['parameterIndex']][_0x26b7d2(0xb2)]),'required':![],'default':'','desc':''});else{if(_0x390350==_0x26b7d2(0xb0)){let _0x309581=((_0xdc8aeb=_0x28e4f0===null||_0x28e4f0===void 0x0?void 0x0:_0x28e4f0[_0x26b7d2(0xce)])===null||_0xdc8aeb===void 0x0?void 0x0:_0xdc8aeb[_0x26b7d2(0xa0)])||'file';_0x309581[_0x26b7d2(0x7f)](':')==-0x1&&!_0x3b2aa3[_0x26b7d2(0xaf)][_0x26b7d2(0x91)](_0xd75d5b=>_0xd75d5b[_0x26b7d2(0x88)]==_0x309581&&_0xd75d5b[_0x26b7d2(0x78)]==_0x26b7d2(0xb0))&&_0x3b2aa3[_0x26b7d2(0xaf)]['push']({'key':_0x309581,'title':_0x26b7d2(0xd1)+_0x309581,'type':_0x26b7d2(0xb0),'required':!![],'default':'','desc':''});}}}else{const _0x49769f=(0x0,decorator_3[_0x26b7d2(0xbb)])(validator_1[_0x26b7d2(0xb4)],_0xbc39ca[_0x529cec]);_0x49769f&&_0x3b2aa3[_0x26b7d2(0xaf)]['push'](...getJoiRequest(_0x49769f));}}}_0x4cb29a[_0x26b7d2(0xd0)][_0x26b7d2(0x74)](_0x3b2aa3);}}if(_0x4cb29a['routes'][_0x26b7d2(0xc9)]>0x0){let _0x1dbef5=_0x8ef242[_0x11340d];_0x1dbef5?(_0x1dbef5[_0x26b7d2(0x7a)]!=_0x4cb29a[_0x26b7d2(0x7a)]&&(_0x1dbef5['summary']=_0x1dbef5[_0x26b7d2(0x7a)]+','+_0x4cb29a[_0x26b7d2(0x7a)]),_0x1dbef5[_0x26b7d2(0x9a)]!=_0x4cb29a[_0x26b7d2(0x9a)]&&(_0x1dbef5['description']=_0x1dbef5['description']+','+_0x4cb29a[_0x26b7d2(0x9a)]),_0x1dbef5[_0x26b7d2(0xd0)]=_0x1dbef5[_0x26b7d2(0xd0)][_0x26b7d2(0x87)](_0x4cb29a['routes']),_0x8ef242[_0x11340d]=_0x1dbef5):_0x8ef242[_0x11340d]=_0x4cb29a;}}}return _0x8ef242;}exports['getRoutes']=getRoutes;function getJoiRequest(_0x24eeff){const _0x3a6843=a8_0x1530ab,_0x1fb03b=[];for(let _0x29a520 in _0x24eeff){const _0x2dbc4f={'title':'','key':'','type':'','description':'','rules':{},'children':[]},_0x11c637=typeof _0x24eeff[_0x29a520]['describe']==_0x3a6843(0x9d)?_0x24eeff[_0x29a520][_0x3a6843(0x89)]():_0x24eeff[_0x29a520];_0x2dbc4f[_0x3a6843(0x88)]=_0x29a520,_0x2dbc4f[_0x3a6843(0x78)]=_0x11c637[_0x3a6843(0x78)],_0x2dbc4f['title']=(0x0,lodash_1[_0x3a6843(0x8d)])(_0x11c637,_0x3a6843(0xb3),_0x29a520),_0x2dbc4f['default']=(0x0,lodash_1[_0x3a6843(0x8d)])(_0x11c637,_0x3a6843(0xbf),''),_0x2dbc4f['required']=(0x0,lodash_1[_0x3a6843(0x8d)])(_0x11c637,'flags.presence','')==_0x3a6843(0xcb),_0x2dbc4f['description']=(0x0,lodash_1[_0x3a6843(0x8d)])(_0x11c637,_0x3a6843(0x82),'');if(_0x11c637['type']==_0x3a6843(0xac))_0x2dbc4f[_0x3a6843(0x7b)]=getJoiRequest(_0x11c637[_0x3a6843(0x9c)]);else _0x11c637[_0x3a6843(0x78)]==_0x3a6843(0x98)&&_0x11c637[_0x3a6843(0x99)]&&Array['isArray'](_0x11c637['items'])&&_0x11c637['items'][0x0]&&console[_0x3a6843(0x8b)](_0x29a520+_0x3a6843(0xbe),_0x11c637);_0x11c637[_0x3a6843(0x76)]&&Array[_0x3a6843(0xad)](_0x11c637[_0x3a6843(0x76)])&&_0x11c637['allow']['length']>0x0&&(_0x2dbc4f[_0x3a6843(0x9a)]=_0x3a6843(0x7e)+_0x11c637[_0x3a6843(0x76)][_0x3a6843(0x8e)](',')+'];'+_0x2dbc4f['description']);if(_0x2dbc4f[_0x3a6843(0x88)]&&_0x2dbc4f[_0x3a6843(0x78)]){const _0x2838ca={};for(const _0xc2a3f7 of _0x11c637[_0x3a6843(0x94)]||[]){if(_0xc2a3f7[_0x3a6843(0xb2)]===_0x3a6843(0x73)&&_0xc2a3f7[_0x3a6843(0x9e)])_0x2838ca[_0x3a6843(0x73)]=_0xc2a3f7[_0x3a6843(0x9e)][_0x3a6843(0x92)];else _0xc2a3f7['name']==='max'&&(_0x2838ca[_0x3a6843(0xc2)]=_0xc2a3f7[_0x3a6843(0x9e)]['limit']);}_0x2dbc4f[_0x3a6843(0x94)]=_0x2838ca;}_0x2dbc4f[_0x3a6843(0x88)]&&_0x2dbc4f[_0x3a6843(0xb8)]&&_0x1fb03b['push'](_0x2dbc4f);}return _0x1fb03b;}function convertSchemaType(_0x57711e){const _0x5eb29f=a8_0x1530ab;switch(_0x57711e){case _0x5eb29f(0x96):return _0x5eb29f(0xac);case _0x5eb29f(0xbd):return _0x5eb29f(0x8f);case'Number':return'number';case _0x5eb29f(0xcf):return _0x5eb29f(0x9f);case _0x5eb29f(0xcc):return _0x5eb29f(0xb0);default:return _0x5eb29f(0x9f);}}function convertTypeToString(_0x1ced43){const _0x299ffb=a8_0x1530ab;switch(_0x1ced43){case decorator_1[_0x299ffb(0xb9)][_0x299ffb(0xc1)]:return'header';case decorator_1[_0x299ffb(0xb9)][_0x299ffb(0xba)]:return _0x299ffb(0xb1);case decorator_1['RouteParamTypes']['PARAM']:return'path';case decorator_1[_0x299ffb(0xb9)][_0x299ffb(0xb7)]:return _0x299ffb(0xca);case decorator_1[_0x299ffb(0xb9)][_0x299ffb(0xa5)]:case decorator_1[_0x299ffb(0xb9)]['FILESSTREAM']:case decorator_1[_0x299ffb(0xb9)][_0x299ffb(0x7c)]:return'file';default:return _0x299ffb(0x84);}}
1
+ 'use strict';function a8_0x2e6f(){const _0x3f77c4=['pprefix','metadata','3174LGKXMR','FILESTREAM','routerOptions','994VFXlfA','number','/static/apitest','HEADERS','summary','name','4961817KsugpJ','flags.description','object','method','filepath','routes','limit','@midwayjs/decorator','prefix','log','getClassExtendedMetadata','max','57gpzOaX','12484fsNjvO','static/apitest','listModule','items','getMethodParamTypes','string','86533CSbVkf','BODY','getRoutes','test','header','path','split','file','default','routerName','isArray','-array','type','key','RULES_KEY','ACTION_KEY','module','children','min','push','indexOf','propertyData','flags.label','route','flags.default','parameterIndex','requestMethod','@anncic-api/validator','describe','allow','67710BmenxR','Number','PARAM','defineProperty','tagName','request','rules','getClassMetadata','FIELDS','FILESSTREAM','Boolean','function','757352PyRAPm','length','filter','ACTION_ROUTE_KEY','lodash','description','1097096omTGfl','required','File','startsWith','body','replace','title','Object','只允许:[','query','get','RouteParamTypes','args','noreq','find'];a8_0x2e6f=function(){return _0x3f77c4;};return a8_0x2e6f();}const a8_0x5afa02=a8_0x3e1c;(function(_0x28ff83,_0x4a2797){const _0x2115fb=a8_0x3e1c,_0x6d9e87=_0x28ff83();while(!![]){try{const _0x4fc234=parseInt(_0x2115fb(0x10f))/0x1+parseInt(_0x2115fb(0x109))/0x2*(-parseInt(_0x2115fb(0x108))/0x3)+-parseInt(_0x2115fb(0xdc))/0x4+-parseInt(_0x2115fb(0x12d))/0x5+-parseInt(_0x2115fb(0xf3))/0x6*(parseInt(_0x2115fb(0xf6))/0x7)+-parseInt(_0x2115fb(0xe2))/0x8+parseInt(_0x2115fb(0xfc))/0x9;if(_0x4fc234===_0x4a2797)break;else _0x6d9e87['push'](_0x6d9e87['shift']());}catch(_0xfe97c){_0x6d9e87['push'](_0x6d9e87['shift']());}}}(a8_0x2e6f,0x196b1));Object[a8_0x5afa02(0x130)](exports,'__esModule',{'value':!![]}),exports['getRoutes']=void 0x0;const lodash_1=require(a8_0x5afa02(0xe0)),validator_1=require(a8_0x5afa02(0x12a)),decorator_1=require('@midwayjs/decorator'),decorator_2=require(a8_0x5afa02(0x103)),decorator_3=require(a8_0x5afa02(0x103)),action_1=require('../types/action');function getRoutes(_0x19eb63={'prefix':'/','module':![]}){const _0x58f878=a8_0x5afa02;var _0x35b94f,_0x32b526;const _0x42e0b1=(0x0,decorator_3[_0x58f878(0x10b)])(action_1['ACTION_KEY']),_0xdf969f={},_0x162353=Array['isArray'](_0x19eb63[_0x58f878(0xde)]||[])?_0x19eb63[_0x58f878(0xde)]||[]:[_0x19eb63[_0x58f878(0xde)]];_0x4ea10e:for(const _0x3f8c14 of _0x42e0b1){let _0x5dd79a=(0x0,decorator_3[_0x58f878(0x134)])(action_1[_0x58f878(0x11e)],_0x3f8c14),_0x3abf53=(0x0,decorator_3[_0x58f878(0x134)])(action_1[_0x58f878(0xdf)],_0x3f8c14);if(_0x5dd79a&&_0x3abf53){let _0x54f1e7=_0x5dd79a['prefix'],_0x4bb7af={};if(_0x19eb63[_0x58f878(0x11f)]&&(0x0,lodash_1[_0x58f878(0xec)])(_0x5dd79a,_0x58f878(0x11f),![])!=_0x19eb63[_0x58f878(0x11f)])continue _0x4ea10e;else{if(_0x19eb63[_0x58f878(0x11f)]===![]&&!!(0x0,lodash_1[_0x58f878(0xec)])(_0x5dd79a,_0x58f878(0x11f),null))continue _0x4ea10e;}if(_0x19eb63[_0x58f878(0x104)]&&!_0x54f1e7[_0x58f878(0xe5)](_0x19eb63[_0x58f878(0x104)]))continue _0x4ea10e;_0x54f1e7!=='/'?(_0x4bb7af[_0x58f878(0xfa)]=(_0x5dd79a===null||_0x5dd79a===void 0x0?void 0x0:_0x5dd79a[_0x58f878(0xf5)][_0x58f878(0x131)])||(/^\//[_0x58f878(0x112)](_0x54f1e7)?_0x54f1e7[_0x58f878(0x115)]('/')[0x1]:_0x54f1e7),_0x4bb7af['description']=(_0x5dd79a===null||_0x5dd79a===void 0x0?void 0x0:_0x5dd79a['routerOptions'][_0x58f878(0xe1)])||_0x4bb7af[_0x58f878(0xfa)],_0x4bb7af[_0x58f878(0x101)]=[]):(_0x4bb7af[_0x58f878(0xfa)]=(_0x5dd79a===null||_0x5dd79a===void 0x0?void 0x0:_0x5dd79a['routerOptions'][_0x58f878(0x131)])||_0x58f878(0x117),_0x4bb7af[_0x58f878(0xe1)]=(_0x5dd79a===null||_0x5dd79a===void 0x0?void 0x0:_0x5dd79a['routerOptions'][_0x58f878(0xe1)])||'',_0x4bb7af[_0x58f878(0x101)]=[]);_0x19eb63[_0x58f878(0x100)]&&(_0x4bb7af[_0x58f878(0x100)]=_0x5dd79a===null||_0x5dd79a===void 0x0?void 0x0:_0x5dd79a[_0x58f878(0x100)]);(_0x5dd79a===null||_0x5dd79a===void 0x0?void 0x0:_0x5dd79a[_0x58f878(0xf1)])&&(_0x4bb7af[_0x58f878(0x104)]=_0x5dd79a[_0x58f878(0xf1)]);(_0x5dd79a===null||_0x5dd79a===void 0x0?void 0x0:_0x5dd79a[_0x58f878(0x11f)])&&(_0x4bb7af[_0x58f878(0x11f)]=_0x5dd79a['module']);let _0x44f99e=(0x0,decorator_3[_0x58f878(0x134)])(decorator_2['INJECT_CUSTOM_PARAM'],_0x3f8c14)||{};if(typeof _0x3abf53[Symbol['iterator']]===_0x58f878(0xdb))for(let _0x2987cd of _0x3abf53){let _0x5213c5={};_0x5213c5[_0x58f878(0xff)]=_0x2987cd[_0x58f878(0x129)],_0x5213c5[_0x58f878(0x126)]=(_0x54f1e7+_0x2987cd[_0x58f878(0x114)])[_0x58f878(0xe7)](/\/{1,}/,'/'),_0x5213c5[_0x58f878(0xfa)]=(_0x2987cd===null||_0x2987cd===void 0x0?void 0x0:_0x2987cd[_0x58f878(0x118)])||_0x4bb7af[_0x58f878(0xfa)]||_0x58f878(0x117),_0x5213c5[_0x58f878(0xe1)]=(_0x2987cd===null||_0x2987cd===void 0x0?void 0x0:_0x2987cd[_0x58f878(0xe1)])||'',_0x5213c5[_0x58f878(0x132)]=[];if(!(0x0,lodash_1[_0x58f878(0xe5)])(_0x5213c5[_0x58f878(0x126)],_0x58f878(0x10a))&&!(0x0,lodash_1[_0x58f878(0xe5)])(_0x5213c5[_0x58f878(0x126)],_0x58f878(0xf8))&&_0x162353[_0x58f878(0x123)](_0x5213c5['route'])===-0x1){if(!(_0x19eb63===null||_0x19eb63===void 0x0?void 0x0:_0x19eb63[_0x58f878(0xef)])){let _0x582703=(0x0,decorator_3[_0x58f878(0x10d)])(new _0x3f8c14(),_0x2987cd['method']);for(const _0x27ee03 in _0x582703){let _0x5b0298=(_0x35b94f=_0x44f99e[_0x2987cd[_0x58f878(0xff)]])===null||_0x35b94f===void 0x0?void 0x0:_0x35b94f[_0x58f878(0xf0)](_0xad220d=>_0xad220d[_0x58f878(0x128)]==_0x27ee03&&_0xad220d[_0x58f878(0x11c)]===decorator_2['WEB_ROUTER_PARAM_KEY']&&(_0xad220d===null||_0xad220d===void 0x0?void 0x0:_0xad220d['metadata']));if(_0x5b0298===null||_0x5b0298===void 0x0?void 0x0:_0x5b0298[_0x58f878(0xf2)]){let _0x97c935=convertTypeToString(_0x5b0298[_0x58f878(0xf2)][_0x58f878(0x11b)]||0x0);if([_0x58f878(0xeb),_0x58f878(0xe6)][_0x58f878(0x123)](_0x97c935)!=-0x1&&_0x5b0298[_0x58f878(0xf2)][_0x58f878(0x124)][_0x58f878(0x123)](':')==-0x1&&!_0x5213c5[_0x58f878(0x132)][_0x58f878(0xf0)](_0x30bc98=>_0x30bc98[_0x58f878(0x11c)]==_0x5b0298[_0x58f878(0xf2)][_0x58f878(0x124)]))_0x5213c5['request'][_0x58f878(0x122)]({'key':_0x5b0298[_0x58f878(0xf2)][_0x58f878(0x124)],'title':_0x5b0298[_0x58f878(0xf2)][_0x58f878(0x124)],'type':convertSchemaType(_0x582703[_0x5b0298[_0x58f878(0x128)]]['name']),'required':![],'default':'','desc':''});else{if(_0x97c935==_0x58f878(0x116)){let _0x292567=((_0x32b526=_0x5b0298===null||_0x5b0298===void 0x0?void 0x0:_0x5b0298[_0x58f878(0xf2)])===null||_0x32b526===void 0x0?void 0x0:_0x32b526['propertyData'])||_0x58f878(0x116);_0x292567[_0x58f878(0x123)](':')==-0x1&&!_0x5213c5[_0x58f878(0x132)][_0x58f878(0xf0)](_0x16c440=>_0x16c440[_0x58f878(0x11c)]==_0x292567&&_0x16c440[_0x58f878(0x11b)]==_0x58f878(0x116))&&_0x5213c5[_0x58f878(0x132)][_0x58f878(0x122)]({'key':_0x292567,'title':'文件上传-'+_0x292567,'type':_0x58f878(0x116),'required':!![],'default':'','desc':''});}}}else{const _0x293220=(0x0,decorator_3[_0x58f878(0x106)])(validator_1[_0x58f878(0x11d)],_0x582703[_0x27ee03]);_0x293220&&_0x5213c5[_0x58f878(0x132)][_0x58f878(0x122)](...getJoiRequest(_0x293220));}}}_0x4bb7af['routes'][_0x58f878(0x122)](_0x5213c5);}}if(_0x4bb7af[_0x58f878(0x101)][_0x58f878(0xdd)]>0x0){let _0xb288b2=_0xdf969f[_0x54f1e7];_0xb288b2?(_0xb288b2[_0x58f878(0xfa)]!=_0x4bb7af[_0x58f878(0xfa)]&&(_0xb288b2[_0x58f878(0xfa)]=_0xb288b2[_0x58f878(0xfa)]+','+_0x4bb7af['summary']),_0xb288b2[_0x58f878(0xe1)]!=_0x4bb7af[_0x58f878(0xe1)]&&(_0xb288b2['description']=_0xb288b2[_0x58f878(0xe1)]+','+_0x4bb7af[_0x58f878(0xe1)]),_0xb288b2[_0x58f878(0x101)]=_0xb288b2['routes']['concat'](_0x4bb7af[_0x58f878(0x101)]),_0xdf969f[_0x54f1e7]=_0xb288b2):_0xdf969f[_0x54f1e7]=_0x4bb7af;}}}return _0xdf969f;}exports[a8_0x5afa02(0x111)]=getRoutes;function a8_0x3e1c(_0x51a662,_0x54baff){const _0x2e6f0d=a8_0x2e6f();return a8_0x3e1c=function(_0x3e1c87,_0x445362){_0x3e1c87=_0x3e1c87-0xda;let _0x22d614=_0x2e6f0d[_0x3e1c87];return _0x22d614;},a8_0x3e1c(_0x51a662,_0x54baff);}function getJoiRequest(_0x466467){const _0x56195b=a8_0x5afa02,_0x3d27d6=[];for(let _0x5ff6a6 in _0x466467){const _0x3a3d8e={'title':'','key':'','type':'','description':'','rules':{},'children':[]},_0x437be8=typeof _0x466467[_0x5ff6a6][_0x56195b(0x12b)]=='function'?_0x466467[_0x5ff6a6][_0x56195b(0x12b)]():_0x466467[_0x5ff6a6];_0x3a3d8e[_0x56195b(0x11c)]=_0x5ff6a6,_0x3a3d8e[_0x56195b(0x11b)]=_0x437be8['type'],_0x3a3d8e['title']=(0x0,lodash_1[_0x56195b(0xec)])(_0x437be8,_0x56195b(0x125),_0x5ff6a6),_0x3a3d8e[_0x56195b(0x117)]=(0x0,lodash_1[_0x56195b(0xec)])(_0x437be8,_0x56195b(0x127),''),_0x3a3d8e[_0x56195b(0xe3)]=(0x0,lodash_1['get'])(_0x437be8,'flags.presence','')==_0x56195b(0xe3),_0x3a3d8e[_0x56195b(0xe1)]=(0x0,lodash_1[_0x56195b(0xec)])(_0x437be8,_0x56195b(0xfd),'');if(_0x437be8['type']==_0x56195b(0xfe))_0x3a3d8e[_0x56195b(0x120)]=getJoiRequest(_0x437be8['keys']);else _0x437be8[_0x56195b(0x11b)]=='array'&&_0x437be8[_0x56195b(0x10c)]&&Array[_0x56195b(0x119)](_0x437be8[_0x56195b(0x10c)])&&_0x437be8[_0x56195b(0x10c)][0x0]&&console[_0x56195b(0x105)](_0x5ff6a6+_0x56195b(0x11a),_0x437be8);_0x437be8[_0x56195b(0x12c)]&&Array['isArray'](_0x437be8[_0x56195b(0x12c)])&&_0x437be8[_0x56195b(0x12c)][_0x56195b(0xdd)]>0x0&&(_0x3a3d8e[_0x56195b(0xe1)]=_0x56195b(0xea)+_0x437be8[_0x56195b(0x12c)]['join'](',')+'];'+_0x3a3d8e[_0x56195b(0xe1)]);if(_0x3a3d8e[_0x56195b(0x11c)]&&_0x3a3d8e[_0x56195b(0x11b)]){const _0x21fec6={};for(const _0x3ebf7e of _0x437be8[_0x56195b(0x133)]||[]){if(_0x3ebf7e[_0x56195b(0xfb)]===_0x56195b(0x121)&&_0x3ebf7e[_0x56195b(0xee)])_0x21fec6[_0x56195b(0x121)]=_0x3ebf7e[_0x56195b(0xee)]['limit'];else _0x3ebf7e[_0x56195b(0xfb)]===_0x56195b(0x107)&&(_0x21fec6[_0x56195b(0x107)]=_0x3ebf7e[_0x56195b(0xee)][_0x56195b(0x102)]);}_0x3a3d8e['rules']=_0x21fec6;}_0x3a3d8e['key']&&_0x3a3d8e[_0x56195b(0xe8)]&&_0x3d27d6[_0x56195b(0x122)](_0x3a3d8e);}return _0x3d27d6;}function convertSchemaType(_0x569502){const _0x1c4ff9=a8_0x5afa02;switch(_0x569502){case _0x1c4ff9(0xe9):return'object';case _0x1c4ff9(0xda):return'boolean';case _0x1c4ff9(0x12e):return _0x1c4ff9(0xf7);case'String':return'string';case _0x1c4ff9(0xe4):return _0x1c4ff9(0x116);default:return _0x1c4ff9(0x10e);}}function convertTypeToString(_0x11e344){const _0x7a06a0=a8_0x5afa02;switch(_0x11e344){case decorator_1[_0x7a06a0(0xed)][_0x7a06a0(0xf9)]:return'header';case decorator_1[_0x7a06a0(0xed)]['QUERY']:return'query';case decorator_1[_0x7a06a0(0xed)][_0x7a06a0(0x12f)]:return _0x7a06a0(0x114);case decorator_1[_0x7a06a0(0xed)][_0x7a06a0(0x110)]:return _0x7a06a0(0xe6);case decorator_1[_0x7a06a0(0xed)][_0x7a06a0(0x135)]:case decorator_1[_0x7a06a0(0xed)][_0x7a06a0(0x136)]:case decorator_1[_0x7a06a0(0xed)][_0x7a06a0(0xf4)]:return _0x7a06a0(0x116);default:return _0x7a06a0(0x113);}}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a9_0x55587a=a9_0x3909;(function(_0x547696,_0x13f1ae){var _0xaefba1=a9_0x3909,_0x595c7f=_0x547696();while(!![]){try{var _0x350240=-parseInt(_0xaefba1(0x155))/0x1+-parseInt(_0xaefba1(0x148))/0x2*(parseInt(_0xaefba1(0x162))/0x3)+-parseInt(_0xaefba1(0x143))/0x4+-parseInt(_0xaefba1(0x141))/0x5+parseInt(_0xaefba1(0x13d))/0x6+-parseInt(_0xaefba1(0x14a))/0x7*(parseInt(_0xaefba1(0x164))/0x8)+parseInt(_0xaefba1(0x133))/0x9*(parseInt(_0xaefba1(0x150))/0xa);if(_0x350240===_0x13f1ae)break;else _0x595c7f['push'](_0x595c7f['shift']());}catch(_0x28e80f){_0x595c7f['push'](_0x595c7f['shift']());}}}(a9_0x5ae3,0x1a1f4));var __createBinding=this&&this[a9_0x55587a(0x145)]||(Object[a9_0x55587a(0x130)]?function(_0x2d2987,_0x265ac7,_0x33189d,_0x1f2326){var _0x2afbfe=a9_0x55587a;if(_0x1f2326===undefined)_0x1f2326=_0x33189d;var _0x1d21f1=Object[_0x2afbfe(0x15e)](_0x265ac7,_0x33189d);(!_0x1d21f1||(_0x2afbfe(0x139)in _0x1d21f1?!_0x265ac7[_0x2afbfe(0x15b)]:_0x1d21f1['writable']||_0x1d21f1[_0x2afbfe(0x138)]))&&(_0x1d21f1={'enumerable':!![],'get':function(){return _0x265ac7[_0x33189d];}}),Object['defineProperty'](_0x2d2987,_0x1f2326,_0x1d21f1);}:function(_0x554226,_0xdc4342,_0x4fd59e,_0x46dc1c){if(_0x46dc1c===undefined)_0x46dc1c=_0x4fd59e;_0x554226[_0x46dc1c]=_0xdc4342[_0x4fd59e];}),__exportStar=this&&this['__exportStar']||function(_0x50ece2,_0x4f3384){var _0x170104=a9_0x55587a;for(var _0x339ad6 in _0x50ece2)if(_0x339ad6!==_0x170104(0x12b)&&!Object[_0x170104(0x12d)][_0x170104(0x163)][_0x170104(0x149)](_0x4f3384,_0x339ad6))__createBinding(_0x4f3384,_0x50ece2,_0x339ad6);};function a9_0x3909(_0x19347e,_0x2b3c81){var _0x5ae3ab=a9_0x5ae3();return a9_0x3909=function(_0x3909c6,_0xe7346c){_0x3909c6=_0x3909c6-0x129;var _0x57f02c=_0x5ae3ab[_0x3909c6];return _0x57f02c;},a9_0x3909(_0x19347e,_0x2b3c81);}Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x15b),{'value':!![]}),exports[a9_0x55587a(0x142)]=exports[a9_0x55587a(0x156)]=exports['Scope']=exports[a9_0x55587a(0x132)]=exports[a9_0x55587a(0x12f)]=exports[a9_0x55587a(0x137)]=exports[a9_0x55587a(0x159)]=exports['App']=exports[a9_0x55587a(0x13c)]=exports[a9_0x55587a(0x12a)]=exports[a9_0x55587a(0x14e)]=exports[a9_0x55587a(0x131)]=exports[a9_0x55587a(0x144)]=exports[a9_0x55587a(0x14f)]=exports[a9_0x55587a(0x14d)]=exports['File']=exports['Configuration']=exports['ValidatorService']=exports[a9_0x55587a(0x135)]=exports['ExcelService']=exports[a9_0x55587a(0x151)]=exports[a9_0x55587a(0x161)]=exports[a9_0x55587a(0x153)]=exports['QueueService']=exports[a9_0x55587a(0x13e)]=exports[a9_0x55587a(0x14b)]=exports[a9_0x55587a(0x160)]=exports[a9_0x55587a(0x154)]=exports[a9_0x55587a(0x129)]=void 0x0;const getAppsConfig_1=require(a9_0x55587a(0x15f));Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x142),{'enumerable':!![],'get':function(){var _0x3b3a05=a9_0x55587a;return getAppsConfig_1[_0x3b3a05(0x142)];}}),__exportStar(require(a9_0x55587a(0x12e)),exports),__exportStar(require(a9_0x55587a(0x158)),exports);var ActionApi_1=require('./decorator/ActionApi');Object['defineProperty'](exports,'Api',{'enumerable':!![],'get':function(){var _0x351aa9=a9_0x55587a;return ActionApi_1[_0x351aa9(0x129)];}});var Action_1=require(a9_0x55587a(0x136));Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x154),{'enumerable':!![],'get':function(){return Action_1['Action'];}});var ActionApitest_1=require(a9_0x55587a(0x140));Object['defineProperty'](exports,a9_0x55587a(0x160),{'enumerable':!![],'get':function(){var _0xb2538=a9_0x55587a;return ActionApitest_1[_0xb2538(0x160)];}});var getRoutes_1=require('./helper/getRoutes');Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x14b),{'enumerable':!![],'get':function(){var _0x55b8e2=a9_0x55587a;return getRoutes_1[_0x55b8e2(0x14b)];}});var ApiError_1=require(a9_0x55587a(0x13f));Object[a9_0x55587a(0x134)](exports,'ApiError',{'enumerable':!![],'get':function(){var _0x545ef3=a9_0x55587a;return ApiError_1[_0x545ef3(0x13e)];}});var task_1=require(a9_0x55587a(0x157));Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x13a),{'enumerable':!![],'get':function(){var _0x51e3f6=a9_0x55587a;return task_1[_0x51e3f6(0x13a)];}});var cache_1=require('@anncic-api/cache');Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x153),{'enumerable':!![],'get':function(){var _0x3918dd=a9_0x55587a;return cache_1[_0x3918dd(0x153)];}});var event_1=require(a9_0x55587a(0x152));Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x161),{'enumerable':!![],'get':function(){var _0x45b2e3=a9_0x55587a;return event_1[_0x45b2e3(0x161)];}});var ApiService_1=require('./service/ApiService');Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x151),{'enumerable':!![],'get':function(){var _0x51b4ed=a9_0x55587a;return ApiService_1[_0x51b4ed(0x151)];}});var ExcelService_1=require('./service/ExcelService');Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x15a),{'enumerable':!![],'get':function(){return ExcelService_1['ExcelService'];}});var validator_1=require('@anncic-api/validator');Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x135),{'enumerable':!![],'get':function(){var _0x3b05b0=a9_0x55587a;return validator_1[_0x3b05b0(0x135)];}}),Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x15d),{'enumerable':!![],'get':function(){return validator_1['ValidatorService'];}});var configuration_1=require('./configuration');Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x15c),{'enumerable':!![],'get':function(){var _0x1f8ae8=a9_0x55587a;return configuration_1[_0x1f8ae8(0x147)];}});function a9_0x5ae3(){var _0x290651=['ApiService','@anncic-api/event','CacheService','Action','60912xNPkNP','ScopeEnum','@midwayjs/task','./service/ApitestService','Config','ExcelService','__esModule','Configuration','ValidatorService','getOwnPropertyDescriptor','./helper/getAppsConfig','Apitest','EventService','485493ePgtZG','hasOwnProperty','544vfOqdq','Api','Headers','default','File','prototype','./types/common','Provide','create','Param','Inject','2350305hlXpUf','defineProperty','ValidatorError','./decorator/Action','Logger','configurable','get','QueueService','@midwayjs/decorator','Init','130776MgRqjb','ApiError','./exception/ApiError','./decorator/ActionApitest','570040vToSsX','getAppsConfig','317308LrsQuy','Body','__createBinding','Scope','CustomConfiguration','2PzgWHl','call','2163LyZLuK','getRoutes','App','Files','Query','Fields','20nkaOcz'];a9_0x5ae3=function(){return _0x290651;};return a9_0x5ae3();}var decorator_1=require(a9_0x55587a(0x13b));Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x12c),{'enumerable':!![],'get':function(){var _0x34acc7=a9_0x55587a;return decorator_1[_0x34acc7(0x12c)];}}),Object[a9_0x55587a(0x134)](exports,'Files',{'enumerable':!![],'get':function(){return decorator_1['Files'];}}),Object['defineProperty'](exports,a9_0x55587a(0x14f),{'enumerable':!![],'get':function(){var _0x5a3e67=a9_0x55587a;return decorator_1[_0x5a3e67(0x14f)];}}),Object[a9_0x55587a(0x134)](exports,'Body',{'enumerable':!![],'get':function(){var _0x4ce4c3=a9_0x55587a;return decorator_1[_0x4ce4c3(0x144)];}}),Object['defineProperty'](exports,a9_0x55587a(0x131),{'enumerable':!![],'get':function(){var _0x540631=a9_0x55587a;return decorator_1[_0x540631(0x131)];}}),Object['defineProperty'](exports,a9_0x55587a(0x14e),{'enumerable':!![],'get':function(){var _0x2bcdf3=a9_0x55587a;return decorator_1[_0x2bcdf3(0x14e)];}}),Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x12a),{'enumerable':!![],'get':function(){var _0x59716e=a9_0x55587a;return decorator_1[_0x59716e(0x12a)];}}),Object['defineProperty'](exports,a9_0x55587a(0x13c),{'enumerable':!![],'get':function(){return decorator_1['Init'];}});var decorator_2=require(a9_0x55587a(0x13b));Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x14c),{'enumerable':!![],'get':function(){var _0x4487f3=a9_0x55587a;return decorator_2[_0x4487f3(0x14c)];}}),Object['defineProperty'](exports,a9_0x55587a(0x159),{'enumerable':!![],'get':function(){var _0x19e210=a9_0x55587a;return decorator_2[_0x19e210(0x159)];}}),Object[a9_0x55587a(0x134)](exports,'Logger',{'enumerable':!![],'get':function(){var _0x4c2535=a9_0x55587a;return decorator_2[_0x4c2535(0x137)];}}),Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x12f),{'enumerable':!![],'get':function(){var _0x306c1c=a9_0x55587a;return decorator_2[_0x306c1c(0x12f)];}}),Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x132),{'enumerable':!![],'get':function(){return decorator_2['Inject'];}}),Object['defineProperty'](exports,a9_0x55587a(0x146),{'enumerable':!![],'get':function(){var _0x5e28f9=a9_0x55587a;return decorator_2[_0x5e28f9(0x146)];}}),Object[a9_0x55587a(0x134)](exports,a9_0x55587a(0x156),{'enumerable':!![],'get':function(){var _0x39eb02=a9_0x55587a;return decorator_2[_0x39eb02(0x156)];}}),global[a9_0x55587a(0x142)]=getAppsConfig_1[a9_0x55587a(0x142)];
1
+ 'use strict';var a9_0x298022=a9_0x2f2b;(function(_0x3d056a,_0x2ce759){var _0x111bcf=a9_0x2f2b,_0x54c2bf=_0x3d056a();while(!![]){try{var _0x5e3b9b=parseInt(_0x111bcf(0x168))/0x1+-parseInt(_0x111bcf(0x147))/0x2+-parseInt(_0x111bcf(0x15e))/0x3+parseInt(_0x111bcf(0x163))/0x4*(-parseInt(_0x111bcf(0x176))/0x5)+parseInt(_0x111bcf(0x175))/0x6+parseInt(_0x111bcf(0x155))/0x7*(parseInt(_0x111bcf(0x16a))/0x8)+-parseInt(_0x111bcf(0x170))/0x9*(-parseInt(_0x111bcf(0x16d))/0xa);if(_0x5e3b9b===_0x2ce759)break;else _0x54c2bf['push'](_0x54c2bf['shift']());}catch(_0x175d23){_0x54c2bf['push'](_0x54c2bf['shift']());}}}(a9_0x29e9,0x6fdbe));var __createBinding=this&&this[a9_0x298022(0x156)]||(Object[a9_0x298022(0x146)]?function(_0x5eeca6,_0x1f0183,_0x19e677,_0x5e6d78){var _0x4a2e83=a9_0x298022;if(_0x5e6d78===undefined)_0x5e6d78=_0x19e677;var _0x4a50d4=Object['getOwnPropertyDescriptor'](_0x1f0183,_0x19e677);(!_0x4a50d4||(_0x4a2e83(0x154)in _0x4a50d4?!_0x1f0183[_0x4a2e83(0x166)]:_0x4a50d4[_0x4a2e83(0x140)]||_0x4a50d4['configurable']))&&(_0x4a50d4={'enumerable':!![],'get':function(){return _0x1f0183[_0x19e677];}}),Object[_0x4a2e83(0x157)](_0x5eeca6,_0x5e6d78,_0x4a50d4);}:function(_0x52466e,_0x4a1e43,_0x5cdc5b,_0x5b2b26){if(_0x5b2b26===undefined)_0x5b2b26=_0x5cdc5b;_0x52466e[_0x5b2b26]=_0x4a1e43[_0x5cdc5b];}),__exportStar=this&&this[a9_0x298022(0x172)]||function(_0x45fca2,_0x188ef0){var _0x2e9e1f=a9_0x298022;for(var _0xdae2a3 in _0x45fca2)if(_0xdae2a3!==_0x2e9e1f(0x158)&&!Object[_0x2e9e1f(0x152)][_0x2e9e1f(0x13c)]['call'](_0x188ef0,_0xdae2a3))__createBinding(_0x188ef0,_0x45fca2,_0xdae2a3);};Object[a9_0x298022(0x157)](exports,a9_0x298022(0x166),{'value':!![]}),exports[a9_0x298022(0x16e)]=exports['ScopeEnum']=exports[a9_0x298022(0x16b)]=exports[a9_0x298022(0x16c)]=exports[a9_0x298022(0x16f)]=exports[a9_0x298022(0x173)]=exports[a9_0x298022(0x159)]=exports[a9_0x298022(0x162)]=exports[a9_0x298022(0x15b)]=exports[a9_0x298022(0x144)]=exports[a9_0x298022(0x165)]=exports[a9_0x298022(0x14f)]=exports['Body']=exports[a9_0x298022(0x145)]=exports[a9_0x298022(0x13b)]=exports[a9_0x298022(0x150)]=exports[a9_0x298022(0x161)]=exports['ValidatorService']=exports[a9_0x298022(0x148)]=exports['ExcelService']=exports[a9_0x298022(0x14e)]=exports['EventService']=exports[a9_0x298022(0x167)]=exports[a9_0x298022(0x15a)]=exports[a9_0x298022(0x13e)]=exports[a9_0x298022(0x14a)]=exports[a9_0x298022(0x171)]=exports[a9_0x298022(0x15c)]=exports['Api']=void 0x0;const getAppsConfig_1=require('./helper/getAppsConfig');function a9_0x29e9(){var _0x4e43b2=['@midwayjs/decorator','getRoutes','./decorator/Action','@anncic-api/validator','ValidatorService','ApiService','Param','File','@midwayjs/task','prototype','./helper/getRoutes','get','2394098WDrqQr','__createBinding','defineProperty','default','Config','QueueService','Init','Action','Api','2160765RYxqMz','@anncic-api/cache','ExcelService','Configuration','App','2306364TFpLZX','./service/ApitestService','Query','__esModule','CacheService','358013CbKkmW','./configuration','8NPFILQ','Scope','Inject','2370zwTSZl','getAppsConfig','Provide','63099QgeuPU','Apitest','__exportStar','Logger','EventService','1482492wdcWit','5zHwCth','./service/ApiService','ScopeEnum','Files','hasOwnProperty','./exception/ApiError','ApiError','./decorator/ActionApi','writable','./service/ExcelService','Body','CustomConfiguration','Headers','Fields','create','1707392WiaXZi','ValidatorError'];a9_0x29e9=function(){return _0x4e43b2;};return a9_0x29e9();}Object[a9_0x298022(0x157)](exports,'getAppsConfig',{'enumerable':!![],'get':function(){var _0x4c560a=a9_0x298022;return getAppsConfig_1[_0x4c560a(0x16e)];}}),__exportStar(require('./types/common'),exports),__exportStar(require(a9_0x298022(0x164)),exports);var ActionApi_1=require(a9_0x298022(0x13f));Object['defineProperty'](exports,'Api',{'enumerable':!![],'get':function(){var _0x8a3131=a9_0x298022;return ActionApi_1[_0x8a3131(0x15d)];}});var Action_1=require(a9_0x298022(0x14b));Object['defineProperty'](exports,a9_0x298022(0x15c),{'enumerable':!![],'get':function(){var _0x2cfe89=a9_0x298022;return Action_1[_0x2cfe89(0x15c)];}});var ActionApitest_1=require('./decorator/ActionApitest');Object[a9_0x298022(0x157)](exports,a9_0x298022(0x171),{'enumerable':!![],'get':function(){var _0x51e264=a9_0x298022;return ActionApitest_1[_0x51e264(0x171)];}});var getRoutes_1=require(a9_0x298022(0x153));Object[a9_0x298022(0x157)](exports,a9_0x298022(0x14a),{'enumerable':!![],'get':function(){var _0x12e95d=a9_0x298022;return getRoutes_1[_0x12e95d(0x14a)];}});var ApiError_1=require(a9_0x298022(0x13d));Object[a9_0x298022(0x157)](exports,'ApiError',{'enumerable':!![],'get':function(){return ApiError_1['ApiError'];}});var task_1=require(a9_0x298022(0x151));Object[a9_0x298022(0x157)](exports,a9_0x298022(0x15a),{'enumerable':!![],'get':function(){return task_1['QueueService'];}});var cache_1=require(a9_0x298022(0x15f));Object[a9_0x298022(0x157)](exports,'CacheService',{'enumerable':!![],'get':function(){var _0x393b1d=a9_0x298022;return cache_1[_0x393b1d(0x167)];}});function a9_0x2f2b(_0xb60312,_0xcc0d5a){var _0x29e968=a9_0x29e9();return a9_0x2f2b=function(_0x2f2ba4,_0x4198b0){_0x2f2ba4=_0x2f2ba4-0x13a;var _0x282468=_0x29e968[_0x2f2ba4];return _0x282468;},a9_0x2f2b(_0xb60312,_0xcc0d5a);}var event_1=require('@anncic-api/event');Object[a9_0x298022(0x157)](exports,'EventService',{'enumerable':!![],'get':function(){var _0x1e80de=a9_0x298022;return event_1[_0x1e80de(0x174)];}});var ApiService_1=require(a9_0x298022(0x177));Object['defineProperty'](exports,'ApiService',{'enumerable':!![],'get':function(){return ApiService_1['ApiService'];}});var ExcelService_1=require(a9_0x298022(0x141));Object[a9_0x298022(0x157)](exports,a9_0x298022(0x160),{'enumerable':!![],'get':function(){return ExcelService_1['ExcelService'];}});var validator_1=require(a9_0x298022(0x14c));Object['defineProperty'](exports,a9_0x298022(0x148),{'enumerable':!![],'get':function(){var _0x47a297=a9_0x298022;return validator_1[_0x47a297(0x148)];}}),Object[a9_0x298022(0x157)](exports,'ValidatorService',{'enumerable':!![],'get':function(){var _0x57daab=a9_0x298022;return validator_1[_0x57daab(0x14d)];}});var configuration_1=require(a9_0x298022(0x169));Object['defineProperty'](exports,a9_0x298022(0x161),{'enumerable':!![],'get':function(){var _0x357829=a9_0x298022;return configuration_1[_0x357829(0x143)];}});var decorator_1=require(a9_0x298022(0x149));Object[a9_0x298022(0x157)](exports,a9_0x298022(0x150),{'enumerable':!![],'get':function(){var _0x5a2c53=a9_0x298022;return decorator_1[_0x5a2c53(0x150)];}}),Object[a9_0x298022(0x157)](exports,a9_0x298022(0x13b),{'enumerable':!![],'get':function(){return decorator_1['Files'];}}),Object[a9_0x298022(0x157)](exports,a9_0x298022(0x145),{'enumerable':!![],'get':function(){return decorator_1['Fields'];}}),Object['defineProperty'](exports,a9_0x298022(0x142),{'enumerable':!![],'get':function(){var _0x124d63=a9_0x298022;return decorator_1[_0x124d63(0x142)];}}),Object[a9_0x298022(0x157)](exports,a9_0x298022(0x14f),{'enumerable':!![],'get':function(){var _0x1de970=a9_0x298022;return decorator_1[_0x1de970(0x14f)];}}),Object[a9_0x298022(0x157)](exports,a9_0x298022(0x165),{'enumerable':!![],'get':function(){return decorator_1['Query'];}}),Object[a9_0x298022(0x157)](exports,a9_0x298022(0x144),{'enumerable':!![],'get':function(){var _0x58d094=a9_0x298022;return decorator_1[_0x58d094(0x144)];}}),Object[a9_0x298022(0x157)](exports,a9_0x298022(0x15b),{'enumerable':!![],'get':function(){return decorator_1['Init'];}});var decorator_2=require('@midwayjs/decorator');Object['defineProperty'](exports,'App',{'enumerable':!![],'get':function(){return decorator_2['App'];}}),Object[a9_0x298022(0x157)](exports,'Config',{'enumerable':!![],'get':function(){var _0x5749de=a9_0x298022;return decorator_2[_0x5749de(0x159)];}}),Object[a9_0x298022(0x157)](exports,a9_0x298022(0x173),{'enumerable':!![],'get':function(){var _0x14ee85=a9_0x298022;return decorator_2[_0x14ee85(0x173)];}}),Object['defineProperty'](exports,a9_0x298022(0x16f),{'enumerable':!![],'get':function(){return decorator_2['Provide'];}}),Object['defineProperty'](exports,a9_0x298022(0x16c),{'enumerable':!![],'get':function(){var _0x2461a4=a9_0x298022;return decorator_2[_0x2461a4(0x16c)];}}),Object[a9_0x298022(0x157)](exports,a9_0x298022(0x16b),{'enumerable':!![],'get':function(){var _0x2b26d2=a9_0x298022;return decorator_2[_0x2b26d2(0x16b)];}}),Object[a9_0x298022(0x157)](exports,a9_0x298022(0x13a),{'enumerable':!![],'get':function(){return decorator_2['ScopeEnum'];}}),global[a9_0x298022(0x16e)]=getAppsConfig_1['getAppsConfig'];
@@ -1 +1 @@
1
- 'use strict';var a10_0x4921e7=a10_0x3ce9;(function(_0x1c658a,_0x4bc309){var _0x31d6da=a10_0x3ce9,_0xe5493e=_0x1c658a();while(!![]){try{var _0x25237e=-parseInt(_0x31d6da(0x156))/0x1+parseInt(_0x31d6da(0x14a))/0x2+parseInt(_0x31d6da(0x14d))/0x3*(-parseInt(_0x31d6da(0x142))/0x4)+-parseInt(_0x31d6da(0x147))/0x5*(parseInt(_0x31d6da(0x135))/0x6)+parseInt(_0x31d6da(0x129))/0x7+-parseInt(_0x31d6da(0x137))/0x8+parseInt(_0x31d6da(0x13f))/0x9;if(_0x25237e===_0x4bc309)break;else _0xe5493e['push'](_0xe5493e['shift']());}catch(_0x1d4465){_0xe5493e['push'](_0xe5493e['shift']());}}}(a10_0x3f89,0x4a302));function a10_0x3f89(){var _0xc90a5d=['76QmIVPG','devices','toLowerCase','push','fromEntries','263275iYJNyK','timeout','secret=','726810oPFbhu','HEADERS_SIGNATURE','object','39945kgQDKs','defineProperty','MD5','length','secret','Provide','requesttime','join','signature','35091EmhNVd','prototype','design:type','@midwayjs/decorator','HEADERS_DEVICE','device','logintime','token','缺少头信息:signature','getOwnPropertyDescriptor','Singleton','Config','anncicapi','function','ScopeEnum','entries','3721102jcnGCd','HEADERS_LACK','checkcode','getsign','sort','ApiError','__decorate','ApiService','now','crypto-js','checksign','TIMEOUT','30ENpTJQ','config','3446016bSkWyI','decorate','HEADERS_CHECKCODE','undefined','abs','__metadata','缺少头信息:','metadata','3518874FWBKQQ','map','toString'];a10_0x3f89=function(){return _0xc90a5d;};return a10_0x3f89();}function a10_0x3ce9(_0xe05f48,_0xd31237){var _0x3f89b4=a10_0x3f89();return a10_0x3ce9=function(_0x3ce94f,_0x5a5c40){_0x3ce94f=_0x3ce94f-0x11f;var _0x45ad1a=_0x3f89b4[_0x3ce94f];return _0x45ad1a;},a10_0x3ce9(_0xe05f48,_0xd31237);}var __decorate=this&&this[a10_0x4921e7(0x12f)]||function(_0x1be23d,_0x2b5be8,_0x48c320,_0x10adc5){var _0x55ce46=a10_0x4921e7,_0x3199a0=arguments[_0x55ce46(0x150)],_0x1ebcc6=_0x3199a0<0x3?_0x2b5be8:_0x10adc5===null?_0x10adc5=Object[_0x55ce46(0x122)](_0x2b5be8,_0x48c320):_0x10adc5,_0x402796;if(typeof Reflect===_0x55ce46(0x14c)&&typeof Reflect[_0x55ce46(0x138)]===_0x55ce46(0x126))_0x1ebcc6=Reflect['decorate'](_0x1be23d,_0x2b5be8,_0x48c320,_0x10adc5);else{for(var _0x46706d=_0x1be23d['length']-0x1;_0x46706d>=0x0;_0x46706d--)if(_0x402796=_0x1be23d[_0x46706d])_0x1ebcc6=(_0x3199a0<0x3?_0x402796(_0x1ebcc6):_0x3199a0>0x3?_0x402796(_0x2b5be8,_0x48c320,_0x1ebcc6):_0x402796(_0x2b5be8,_0x48c320))||_0x1ebcc6;}return _0x3199a0>0x3&&_0x1ebcc6&&Object[_0x55ce46(0x14e)](_0x2b5be8,_0x48c320,_0x1ebcc6),_0x1ebcc6;},__metadata=this&&this[a10_0x4921e7(0x13c)]||function(_0x2fdede,_0x2ee730){var _0x50d57a=a10_0x4921e7;if(typeof Reflect===_0x50d57a(0x14c)&&typeof Reflect[_0x50d57a(0x13e)]===_0x50d57a(0x126))return Reflect['metadata'](_0x2fdede,_0x2ee730);};Object[a10_0x4921e7(0x14e)](exports,'__esModule',{'value':!![]}),exports[a10_0x4921e7(0x130)]=void 0x0;const crypto_js_1=require(a10_0x4921e7(0x132)),decorator_1=require(a10_0x4921e7(0x159)),ApiError_1=require('../exception/ApiError');let ApiService=class ApiService{['password'](_0x5b0ddf){var _0x45f1c9=a10_0x4921e7,_0x2a2650;return _0x5b0ddf?(0x0,crypto_js_1[_0x45f1c9(0x14f)])(_0x5b0ddf+(0x0,crypto_js_1[_0x45f1c9(0x14f)])((0x0,crypto_js_1[_0x45f1c9(0x14f)])(_0x5b0ddf)[_0x45f1c9(0x141)]()+((_0x2a2650=this[_0x45f1c9(0x136)])===null||_0x2a2650===void 0x0?void 0x0:_0x2a2650['password']))[_0x45f1c9(0x141)]())[_0x45f1c9(0x141)]():'';}['getcheck'](_0x2b2ff3,_0x4ec6da,_0x5c2056=Date[a10_0x4921e7(0x131)]()){var _0x135a37=a10_0x4921e7;return{'Token':_0x2b2ff3,'Logintime':_0x5c2056,'Checkcode':this[_0x135a37(0x12b)](_0x2b2ff3,_0x4ec6da,_0x5c2056)};}[a10_0x4921e7(0x12c)](_0x49c606={}){var _0xe82570=a10_0x4921e7;const _0xbf69e3=[],_0x100497=Object['fromEntries'](Object['entries'](_0x49c606)[_0xe82570(0x140)](_0x730b92=>[_0x730b92[0x0][_0xe82570(0x144)](),_0x730b92[0x1]]));for(let _0x482459 of['device',_0xe82570(0x153),_0xe82570(0x120),_0xe82570(0x11f),_0xe82570(0x12b)]){if(typeof _0x100497[_0x482459]==_0xe82570(0x13a))throw new AnnError(ApiError_1[_0xe82570(0x12e)][_0xe82570(0x12a)],{'message':_0xe82570(0x13d)+_0x482459});_0xbf69e3[_0xe82570(0x145)](_0x482459+'='+_0x100497[_0x482459]);}if(Math[_0xe82570(0x13b)](_0x100497[_0xe82570(0x153)])-Date[_0xe82570(0x131)]()>this['config'][_0xe82570(0x148)])throw new AnnError(ApiError_1[_0xe82570(0x12e)][_0xe82570(0x134)]);if(!this[_0xe82570(0x136)]['devices'][_0x100497['device']]||!this[_0xe82570(0x136)][_0xe82570(0x143)][_0x100497[_0xe82570(0x15b)]][_0xe82570(0x151)]||!this['config'][_0xe82570(0x143)][_0x100497[_0xe82570(0x15b)]]['checkcode'])throw new AnnError(ApiError_1[_0xe82570(0x12e)][_0xe82570(0x15a)]);if(_0x100497[_0xe82570(0x120)]&&_0x100497[_0xe82570(0x12b)]!=this[_0xe82570(0x12b)](_0x100497[_0xe82570(0x120)],_0x100497[_0xe82570(0x15b)],_0x100497[_0xe82570(0x11f)]))throw new AnnError(ApiError_1[_0xe82570(0x12e)][_0xe82570(0x139)]);return _0xbf69e3[_0xe82570(0x145)](_0xe82570(0x149)+this[_0xe82570(0x136)]['devices'][_0x100497[_0xe82570(0x15b)]][_0xe82570(0x151)]),(0x0,crypto_js_1[_0xe82570(0x14f)])(_0xbf69e3[_0xe82570(0x12d)]()[_0xe82570(0x154)](''))[_0xe82570(0x141)]();}['checkcode'](_0x11c7ef,_0x5e55e6,_0x903638=Date['now']()){var _0x237ccc=a10_0x4921e7,_0x30614f,_0x3c0815,_0x686275;if(!((_0x30614f=this[_0x237ccc(0x136)])===null||_0x30614f===void 0x0?void 0x0:_0x30614f[_0x237ccc(0x143)][_0x5e55e6])||!((_0x686275=(_0x3c0815=this['config'])===null||_0x3c0815===void 0x0?void 0x0:_0x3c0815[_0x237ccc(0x143)][_0x5e55e6])===null||_0x686275===void 0x0?void 0x0:_0x686275[_0x237ccc(0x12b)]))throw new AnnError(ApiError_1['ApiError'][_0x237ccc(0x15a)]);return(0x0,crypto_js_1[_0x237ccc(0x14f)])(_0x11c7ef+(0x0,crypto_js_1[_0x237ccc(0x14f)])(_0x903638+this[_0x237ccc(0x136)][_0x237ccc(0x143)][_0x5e55e6][_0x237ccc(0x12b)])[_0x237ccc(0x141)]())[_0x237ccc(0x141)]();}[a10_0x4921e7(0x133)](_0x1e4b40={}){var _0x2447e3=a10_0x4921e7;const _0x629c26=Object[_0x2447e3(0x146)](Object[_0x2447e3(0x128)](_0x1e4b40)[_0x2447e3(0x140)](_0x44d482=>[_0x44d482[0x0]['toLowerCase'](),_0x44d482[0x1]]));if(!(_0x629c26===null||_0x629c26===void 0x0?void 0x0:_0x629c26[_0x2447e3(0x155)]))throw new AnnError(ApiError_1[_0x2447e3(0x12e)][_0x2447e3(0x12a)],{'message':_0x2447e3(0x121)});if((_0x629c26===null||_0x629c26===void 0x0?void 0x0:_0x629c26[_0x2447e3(0x155)])!=this[_0x2447e3(0x12c)](_0x629c26))throw new AnnError(ApiError_1['ApiError'][_0x2447e3(0x14b)]);return!![];}};__decorate([(0x0,decorator_1[a10_0x4921e7(0x124)])(a10_0x4921e7(0x125)),__metadata(a10_0x4921e7(0x158),Object)],ApiService[a10_0x4921e7(0x157)],a10_0x4921e7(0x136),void 0x0),ApiService=__decorate([(0x0,decorator_1[a10_0x4921e7(0x152)])(),(0x0,decorator_1['Scope'])(decorator_1[a10_0x4921e7(0x127)][a10_0x4921e7(0x123)])],ApiService),exports['ApiService']=ApiService;
1
+ 'use strict';var a10_0x404186=a10_0x54a2;(function(_0x591e05,_0x4ac06f){var _0xadf014=a10_0x54a2,_0x463f98=_0x591e05();while(!![]){try{var _0xa925=parseInt(_0xadf014(0x12d))/0x1+parseInt(_0xadf014(0x133))/0x2*(-parseInt(_0xadf014(0x123))/0x3)+parseInt(_0xadf014(0x14d))/0x4*(-parseInt(_0xadf014(0x12f))/0x5)+parseInt(_0xadf014(0x126))/0x6*(-parseInt(_0xadf014(0x132))/0x7)+-parseInt(_0xadf014(0x129))/0x8*(parseInt(_0xadf014(0x13d))/0x9)+parseInt(_0xadf014(0x124))/0xa*(parseInt(_0xadf014(0x142))/0xb)+parseInt(_0xadf014(0x146))/0xc*(parseInt(_0xadf014(0x149))/0xd);if(_0xa925===_0x4ac06f)break;else _0x463f98['push'](_0x463f98['shift']());}catch(_0x7c4f5){_0x463f98['push'](_0x463f98['shift']());}}}(a10_0x344d,0x888e0));var __decorate=this&&this[a10_0x404186(0x128)]||function(_0x2d268a,_0x393518,_0x446d47,_0x4b1f45){var _0x45f918=a10_0x404186,_0x4c2a07=arguments[_0x45f918(0x14e)],_0x4fe2ab=_0x4c2a07<0x3?_0x393518:_0x4b1f45===null?_0x4b1f45=Object[_0x45f918(0x144)](_0x393518,_0x446d47):_0x4b1f45,_0x43157b;if(typeof Reflect==='object'&&typeof Reflect[_0x45f918(0x12a)]===_0x45f918(0x151))_0x4fe2ab=Reflect['decorate'](_0x2d268a,_0x393518,_0x446d47,_0x4b1f45);else{for(var _0x3947aa=_0x2d268a[_0x45f918(0x14e)]-0x1;_0x3947aa>=0x0;_0x3947aa--)if(_0x43157b=_0x2d268a[_0x3947aa])_0x4fe2ab=(_0x4c2a07<0x3?_0x43157b(_0x4fe2ab):_0x4c2a07>0x3?_0x43157b(_0x393518,_0x446d47,_0x4fe2ab):_0x43157b(_0x393518,_0x446d47))||_0x4fe2ab;}return _0x4c2a07>0x3&&_0x4fe2ab&&Object['defineProperty'](_0x393518,_0x446d47,_0x4fe2ab),_0x4fe2ab;},__metadata=this&&this[a10_0x404186(0x13a)]||function(_0x1e1706,_0x194430){var _0x715e6d=a10_0x404186;if(typeof Reflect===_0x715e6d(0x131)&&typeof Reflect[_0x715e6d(0x12e)]==='function')return Reflect[_0x715e6d(0x12e)](_0x1e1706,_0x194430);};function a10_0x344d(){var _0xa4f84a=['__metadata','Singleton','fromEntries','1402965vByNjY','secret','getsign','ScopeEnum','HEADERS_LACK','355773MvsckA','../exception/ApiError','getOwnPropertyDescriptor','token','24XpnEXK','requesttime','toString','14707589XHFGaR','logintime','checkcode','devices','4371316VCsAIG','length','now','ApiService','function','entries','undefined','HEADERS_DEVICE','design:type','map','ApiError','signature','3eNniNs','310pDdZAb','abs','1232598VFNzof','config','__decorate','48XTBOWv','decorate','TIMEOUT','timeout','884644HnAWhQ','metadata','5tCdttU','push','object','35raBTOz','1070702rYlpGl','password','缺少头信息:','HEADERS_CHECKCODE','crypto-js','MD5','device'];a10_0x344d=function(){return _0xa4f84a;};return a10_0x344d();}function a10_0x54a2(_0x432dbe,_0x267714){var _0x344d6b=a10_0x344d();return a10_0x54a2=function(_0x54a2fb,_0x3b2912){_0x54a2fb=_0x54a2fb-0x121;var _0x2f089f=_0x344d6b[_0x54a2fb];return _0x2f089f;},a10_0x54a2(_0x432dbe,_0x267714);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a10_0x404186(0x150)]=void 0x0;const crypto_js_1=require(a10_0x404186(0x137)),decorator_1=require('@midwayjs/decorator'),ApiError_1=require(a10_0x404186(0x143));let ApiService=class ApiService{[a10_0x404186(0x134)](_0x5f02ef){var _0x5a0464=a10_0x404186,_0x473dc2;return _0x5f02ef?(0x0,crypto_js_1['MD5'])(_0x5f02ef+(0x0,crypto_js_1[_0x5a0464(0x138)])((0x0,crypto_js_1[_0x5a0464(0x138)])(_0x5f02ef)[_0x5a0464(0x148)]()+((_0x473dc2=this[_0x5a0464(0x127)])===null||_0x473dc2===void 0x0?void 0x0:_0x473dc2[_0x5a0464(0x134)]))[_0x5a0464(0x148)]())[_0x5a0464(0x148)]():'';}['getcheck'](_0x1af41f,_0x1cc056,_0x5afaa3=Date[a10_0x404186(0x14f)]()){var _0xaaa26b=a10_0x404186;return{'Token':_0x1af41f,'Logintime':_0x5afaa3,'Checkcode':this[_0xaaa26b(0x14b)](_0x1af41f,_0x1cc056,_0x5afaa3)};}['getsign'](_0x4a45eb={}){var _0xda2158=a10_0x404186;const _0x10a5eb=[],_0x428fd5=Object[_0xda2158(0x13c)](Object[_0xda2158(0x152)](_0x4a45eb)[_0xda2158(0x156)](_0x5371cd=>[_0x5371cd[0x0]['toLowerCase'](),_0x5371cd[0x1]]));for(let _0x353fee of[_0xda2158(0x139),_0xda2158(0x147),_0xda2158(0x145),_0xda2158(0x14a),_0xda2158(0x14b)]){if(typeof _0x428fd5[_0x353fee]==_0xda2158(0x153))throw new AnnError(ApiError_1[_0xda2158(0x121)][_0xda2158(0x141)],{'message':_0xda2158(0x135)+_0x353fee});_0x10a5eb[_0xda2158(0x130)](_0x353fee+'='+_0x428fd5[_0x353fee]);}if(Math[_0xda2158(0x125)](_0x428fd5[_0xda2158(0x147)])-Date['now']()>this[_0xda2158(0x127)][_0xda2158(0x12c)])throw new AnnError(ApiError_1[_0xda2158(0x121)][_0xda2158(0x12b)]);if(!this['config'][_0xda2158(0x14c)][_0x428fd5[_0xda2158(0x139)]]||!this[_0xda2158(0x127)][_0xda2158(0x14c)][_0x428fd5[_0xda2158(0x139)]][_0xda2158(0x13e)]||!this[_0xda2158(0x127)][_0xda2158(0x14c)][_0x428fd5[_0xda2158(0x139)]][_0xda2158(0x14b)])throw new AnnError(ApiError_1[_0xda2158(0x121)]['HEADERS_DEVICE']);if(_0x428fd5[_0xda2158(0x145)]&&_0x428fd5[_0xda2158(0x14b)]!=this[_0xda2158(0x14b)](_0x428fd5['token'],_0x428fd5[_0xda2158(0x139)],_0x428fd5[_0xda2158(0x14a)]))throw new AnnError(ApiError_1[_0xda2158(0x121)][_0xda2158(0x136)]);return _0x10a5eb[_0xda2158(0x130)]('secret='+this['config'][_0xda2158(0x14c)][_0x428fd5[_0xda2158(0x139)]][_0xda2158(0x13e)]),(0x0,crypto_js_1[_0xda2158(0x138)])(_0x10a5eb['sort']()['join'](''))[_0xda2158(0x148)]();}[a10_0x404186(0x14b)](_0x41b031,_0x219323,_0x331d24=Date[a10_0x404186(0x14f)]()){var _0x3ce983=a10_0x404186,_0x3355eb,_0x505a47,_0x535b35;if(!((_0x3355eb=this['config'])===null||_0x3355eb===void 0x0?void 0x0:_0x3355eb[_0x3ce983(0x14c)][_0x219323])||!((_0x535b35=(_0x505a47=this[_0x3ce983(0x127)])===null||_0x505a47===void 0x0?void 0x0:_0x505a47[_0x3ce983(0x14c)][_0x219323])===null||_0x535b35===void 0x0?void 0x0:_0x535b35['checkcode']))throw new AnnError(ApiError_1[_0x3ce983(0x121)][_0x3ce983(0x154)]);return(0x0,crypto_js_1['MD5'])(_0x41b031+(0x0,crypto_js_1[_0x3ce983(0x138)])(_0x331d24+this[_0x3ce983(0x127)]['devices'][_0x219323][_0x3ce983(0x14b)])[_0x3ce983(0x148)]())[_0x3ce983(0x148)]();}['checksign'](_0x421bb1={}){var _0x82edfe=a10_0x404186;const _0x14f416=Object[_0x82edfe(0x13c)](Object['entries'](_0x421bb1)[_0x82edfe(0x156)](_0x51a557=>[_0x51a557[0x0]['toLowerCase'](),_0x51a557[0x1]]));if(!(_0x14f416===null||_0x14f416===void 0x0?void 0x0:_0x14f416[_0x82edfe(0x122)]))throw new AnnError(ApiError_1[_0x82edfe(0x121)][_0x82edfe(0x141)],{'message':'缺少头信息:signature'});if((_0x14f416===null||_0x14f416===void 0x0?void 0x0:_0x14f416[_0x82edfe(0x122)])!=this[_0x82edfe(0x13f)](_0x14f416))throw new AnnError(ApiError_1[_0x82edfe(0x121)]['HEADERS_SIGNATURE']);return!![];}};__decorate([(0x0,decorator_1['Config'])('anncicapi'),__metadata(a10_0x404186(0x155),Object)],ApiService['prototype'],'config',void 0x0),ApiService=__decorate([(0x0,decorator_1['Provide'])(),(0x0,decorator_1['Scope'])(decorator_1[a10_0x404186(0x140)][a10_0x404186(0x13b)])],ApiService),exports[a10_0x404186(0x150)]=ApiService;
@@ -1 +1 @@
1
- 'use strict';const a11_0x1e70f1=a11_0xc041;(function(_0x51d56b,_0x52b5e4){const _0x22fdc5=a11_0xc041,_0x388d20=_0x51d56b();while(!![]){try{const _0x1010d5=parseInt(_0x22fdc5(0x1a3))/0x1*(parseInt(_0x22fdc5(0x182))/0x2)+-parseInt(_0x22fdc5(0x191))/0x3+parseInt(_0x22fdc5(0x16f))/0x4+-parseInt(_0x22fdc5(0x193))/0x5*(-parseInt(_0x22fdc5(0x167))/0x6)+parseInt(_0x22fdc5(0x15f))/0x7*(-parseInt(_0x22fdc5(0x16d))/0x8)+-parseInt(_0x22fdc5(0x17b))/0x9+parseInt(_0x22fdc5(0x17f))/0xa*(-parseInt(_0x22fdc5(0x196))/0xb);if(_0x1010d5===_0x52b5e4)break;else _0x388d20['push'](_0x388d20['shift']());}catch(_0x4ecc47){_0x388d20['push'](_0x388d20['shift']());}}}(a11_0x54b2,0x1f19c));var __decorate=this&&this['__decorate']||function(_0x3295ff,_0x4698fa,_0x3725f4,_0x3e33ee){const _0x577e11=a11_0xc041;var _0x1a77f0=arguments[_0x577e11(0x164)],_0x555e87=_0x1a77f0<0x3?_0x4698fa:_0x3e33ee===null?_0x3e33ee=Object[_0x577e11(0x17e)](_0x4698fa,_0x3725f4):_0x3e33ee,_0x2f5205;if(typeof Reflect==='object'&&typeof Reflect[_0x577e11(0x184)]===_0x577e11(0x15c))_0x555e87=Reflect[_0x577e11(0x184)](_0x3295ff,_0x4698fa,_0x3725f4,_0x3e33ee);else{for(var _0x10be2e=_0x3295ff[_0x577e11(0x164)]-0x1;_0x10be2e>=0x0;_0x10be2e--)if(_0x2f5205=_0x3295ff[_0x10be2e])_0x555e87=(_0x1a77f0<0x3?_0x2f5205(_0x555e87):_0x1a77f0>0x3?_0x2f5205(_0x4698fa,_0x3725f4,_0x555e87):_0x2f5205(_0x4698fa,_0x3725f4))||_0x555e87;}return _0x1a77f0>0x3&&_0x555e87&&Object[_0x577e11(0x15a)](_0x4698fa,_0x3725f4,_0x555e87),_0x555e87;},__metadata=this&&this[a11_0x1e70f1(0x18b)]||function(_0x144377,_0x3d8a24){const _0x1ef4f5=a11_0x1e70f1;if(typeof Reflect===_0x1ef4f5(0x176)&&typeof Reflect[_0x1ef4f5(0x19f)]===_0x1ef4f5(0x15c))return Reflect[_0x1ef4f5(0x19f)](_0x144377,_0x3d8a24);},__param=this&&this['__param']||function(_0xdead53,_0x57a9bc){return function(_0x44e9c4,_0x34ef03){_0x57a9bc(_0x44e9c4,_0x34ef03,_0xdead53);};};function a11_0xc041(_0x1cf10b,_0x529cd1){const _0x54b2cc=a11_0x54b2();return a11_0xc041=function(_0xc04106,_0x43e169){_0xc04106=_0xc04106-0x156;let _0xf9d355=_0x54b2cc[_0xc04106];return _0xf9d355;},a11_0xc041(_0x1cf10b,_0x529cd1);}function a11_0x54b2(){const _0x38724b=['filepath','apitesthtml','Controller','design:returntype','object','summary','public,\x20max-age=604800','apiteststatic','anncicapi','972162qvCyNb','content-type','apitest','getOwnPropertyDescriptor','2936860tnNeHM','push','substring','1432FGKRAl','Config','decorate','@midwayjs/core','config','ApitestService','set','isDevelopmentEnvironment','method','__metadata','.css','__devices__','/apiteststatic/','replace','__esModule','9657ZhnMsy','/index.html','89920unPlcN','description','MidwayEnvironmentService','11rKZvFF','../../public/index.html','ctx','apitestmodule','/apiteststatic/*','stringify','routes','existsSync','Provide','metadata','Request','join','.js','185jUaERn','design:paramtypes','Inject','utf-8','ApitestStaticController','apidoc','defineProperty','getRoutes','function','cache-control','ScopeEnum','78001MpggMT','/apitest-:module','request','text/css;\x20charset=utf-8','@midwayjs/decorator','length','devices','url','78lyLtyh','design:type','Param','/apitest','extname','prototype','56DknSzg','Environment','976240eJKaHc','Get','Scope'];a11_0x54b2=function(){return _0x38724b;};return a11_0x54b2();}Object[a11_0x1e70f1(0x15a)](exports,a11_0x1e70f1(0x190),{'value':!![]}),exports[a11_0x1e70f1(0x158)]=exports[a11_0x1e70f1(0x187)]=void 0x0;const path_1=require('path'),fs_1=require('fs'),core_1=require(a11_0x1e70f1(0x185)),decorator_1=require(a11_0x1e70f1(0x163)),decorator_2=require('@midwayjs/decorator'),getRoutes_1=require('../helper/getRoutes');let ApitestService=class ApitestService{async['apidoc'](_0x202f78){const _0x292888=a11_0x1e70f1,_0x44451c=(0x0,getRoutes_1[_0x292888(0x15b)])(_0x202f78),_0x3b7349=[];for(let _0x5a14c4 in _0x44451c){for(let _0x489bbb in _0x44451c[_0x5a14c4][_0x292888(0x19c)]){let _0x20b58c=_0x44451c[_0x5a14c4]['routes'][_0x489bbb],_0xdd1930=[];for(let _0x11b46a in _0x20b58c[_0x292888(0x161)]){_0xdd1930['push'](_0x20b58c['request'][_0x11b46a]);}_0x3b7349[_0x292888(0x180)]({'title':_0x44451c[_0x5a14c4][_0x292888(0x177)]+':'+_0x20b58c[_0x292888(0x177)],'prefix':_0x44451c[_0x5a14c4]['prefix'],'router':_0x20b58c['route'],'method':_0x20b58c[_0x292888(0x18a)],'describe':_0x20b58c[_0x292888(0x194)]||'','filepath':_0x44451c[_0x5a14c4][_0x292888(0x172)]||'','request':_0xdd1930});}}const _0x1d626a=(0x0,path_1[_0x292888(0x1a1)])(__dirname,_0x292888(0x197));return(0x0,fs_1['readFileSync'])(_0x1d626a,{'encoding':'utf-8'})[_0x292888(0x18f)](/__res__/g,_0x292888(0x18e))['replace']('__apiList__',JSON['stringify'](_0x3b7349))['replace'](_0x292888(0x18d),JSON[_0x292888(0x19b)](this[_0x292888(0x186)][_0x292888(0x165)]));}};__decorate([(0x0,decorator_2[a11_0x1e70f1(0x183)])(a11_0x1e70f1(0x17a)),__metadata(a11_0x1e70f1(0x168),Object)],ApitestService['prototype'],a11_0x1e70f1(0x186),void 0x0),ApitestService=__decorate([(0x0,decorator_1[a11_0x1e70f1(0x19e)])(a11_0x1e70f1(0x17d)),(0x0,decorator_2[a11_0x1e70f1(0x171)])(decorator_2[a11_0x1e70f1(0x15e)]['Singleton'])],ApitestService),exports[a11_0x1e70f1(0x187)]=ApitestService;let ApitestStaticController=class ApitestStaticController{async[a11_0x1e70f1(0x173)](){const _0x50a450=a11_0x1e70f1;if(this['apitest']){const _0x3bb34e={'module':![]};return this[_0x50a450(0x16e)][_0x50a450(0x189)]()&&(_0x3bb34e[_0x50a450(0x172)]=!![]),await this['ApitestService'][_0x50a450(0x159)](_0x3bb34e);}return'';}async[a11_0x1e70f1(0x199)](_0x4118c0){const _0x50b5e2=a11_0x1e70f1;if(this[_0x50b5e2(0x17d)]){const _0x2ef433={'module':_0x4118c0};return this['Environment']['isDevelopmentEnvironment']()&&(_0x2ef433[_0x50b5e2(0x172)]=!![]),await this[_0x50b5e2(0x187)][_0x50b5e2(0x159)](_0x2ef433);}return'';}async[a11_0x1e70f1(0x179)](){const _0x147f4e=a11_0x1e70f1;if((0x0,path_1[_0x147f4e(0x16b)])(this[_0x147f4e(0x198)][_0x147f4e(0x161)][_0x147f4e(0x166)])){var _0x10109c=(0x0,path_1[_0x147f4e(0x1a1)])(__dirname,'../../public/'+this[_0x147f4e(0x198)][_0x147f4e(0x161)]['url']['replace'](_0x147f4e(0x18e),'/'));if(_0x10109c[_0x147f4e(0x181)](_0x10109c['length']-0xb)!=_0x147f4e(0x192)){this['ctx']['set'](_0x147f4e(0x15d),_0x147f4e(0x178));if((0x0,path_1[_0x147f4e(0x16b)])(this[_0x147f4e(0x198)][_0x147f4e(0x161)][_0x147f4e(0x166)])==_0x147f4e(0x1a2))this[_0x147f4e(0x198)][_0x147f4e(0x188)](_0x147f4e(0x17c),'application/javascript;\x20charset=utf-8');else(0x0,path_1[_0x147f4e(0x16b)])(this['ctx'][_0x147f4e(0x161)]['url'])==_0x147f4e(0x18c)&&this[_0x147f4e(0x198)][_0x147f4e(0x188)]('content-type',_0x147f4e(0x162));return(0x0,fs_1[_0x147f4e(0x19d)])(_0x10109c)&&(0x0,fs_1['readFileSync'])(_0x10109c,{'encoding':_0x147f4e(0x157)});}}return'';}};__decorate([(0x0,decorator_2[a11_0x1e70f1(0x156)])(),__metadata('design:type',Object)],ApitestStaticController[a11_0x1e70f1(0x16c)],a11_0x1e70f1(0x198),void 0x0),__decorate([(0x0,decorator_2[a11_0x1e70f1(0x156)])(),__metadata(a11_0x1e70f1(0x168),core_1[a11_0x1e70f1(0x195)])],ApitestStaticController[a11_0x1e70f1(0x16c)],a11_0x1e70f1(0x16e),void 0x0),__decorate([(0x0,decorator_2['Inject'])(),__metadata(a11_0x1e70f1(0x168),ApitestService)],ApitestStaticController[a11_0x1e70f1(0x16c)],a11_0x1e70f1(0x187),void 0x0),__decorate([(0x0,decorator_2['Config'])('apitest'),__metadata(a11_0x1e70f1(0x168),Boolean)],ApitestStaticController[a11_0x1e70f1(0x16c)],a11_0x1e70f1(0x17d),void 0x0),__decorate([(0x0,decorator_2['Config'])(a11_0x1e70f1(0x17a)),__metadata(a11_0x1e70f1(0x168),Object)],ApitestStaticController[a11_0x1e70f1(0x16c)],'config',void 0x0),__decorate([(0x0,decorator_1['Get'])(a11_0x1e70f1(0x16a)),__metadata(a11_0x1e70f1(0x168),Function),__metadata('design:paramtypes',[]),__metadata(a11_0x1e70f1(0x175),Promise)],ApitestStaticController[a11_0x1e70f1(0x16c)],'apitesthtml',null),__decorate([(0x0,decorator_1[a11_0x1e70f1(0x170)])(a11_0x1e70f1(0x160)),__param(0x0,(0x0,decorator_1[a11_0x1e70f1(0x169)])('module')),__metadata(a11_0x1e70f1(0x168),Function),__metadata(a11_0x1e70f1(0x1a4),[String]),__metadata('design:returntype',Promise)],ApitestStaticController[a11_0x1e70f1(0x16c)],a11_0x1e70f1(0x199),null),__decorate([(0x0,decorator_1[a11_0x1e70f1(0x170)])(a11_0x1e70f1(0x19a)),__metadata(a11_0x1e70f1(0x168),Function),__metadata(a11_0x1e70f1(0x1a4),[]),__metadata(a11_0x1e70f1(0x175),Promise)],ApitestStaticController['prototype'],a11_0x1e70f1(0x179),null),ApitestStaticController=__decorate([(0x0,decorator_1[a11_0x1e70f1(0x174)])('/'),(0x0,decorator_2[a11_0x1e70f1(0x171)])(decorator_2[a11_0x1e70f1(0x15e)][a11_0x1e70f1(0x1a0)])],ApitestStaticController),exports[a11_0x1e70f1(0x158)]=ApitestStaticController;
1
+ 'use strict';const a11_0x84fdf6=a11_0x23e3;(function(_0x3d9975,_0x478c05){const _0x234e8c=a11_0x23e3,_0x51f5cd=_0x3d9975();while(!![]){try{const _0x184513=parseInt(_0x234e8c(0x10a))/0x1*(-parseInt(_0x234e8c(0x122))/0x2)+-parseInt(_0x234e8c(0x116))/0x3*(-parseInt(_0x234e8c(0x117))/0x4)+-parseInt(_0x234e8c(0xe8))/0x5+parseInt(_0x234e8c(0x113))/0x6*(parseInt(_0x234e8c(0xf2))/0x7)+-parseInt(_0x234e8c(0x10c))/0x8+-parseInt(_0x234e8c(0xe9))/0x9+-parseInt(_0x234e8c(0x10e))/0xa*(-parseInt(_0x234e8c(0xf1))/0xb);if(_0x184513===_0x478c05)break;else _0x51f5cd['push'](_0x51f5cd['shift']());}catch(_0x39eaac){_0x51f5cd['push'](_0x51f5cd['shift']());}}}(a11_0x1a5d,0xc9883));var __decorate=this&&this[a11_0x84fdf6(0xe4)]||function(_0x403a74,_0x5bf35f,_0x329c66,_0x51c5b4){const _0x385d7f=a11_0x84fdf6;var _0x45cd64=arguments[_0x385d7f(0xed)],_0x19018c=_0x45cd64<0x3?_0x5bf35f:_0x51c5b4===null?_0x51c5b4=Object['getOwnPropertyDescriptor'](_0x5bf35f,_0x329c66):_0x51c5b4,_0x35b71a;if(typeof Reflect===_0x385d7f(0x125)&&typeof Reflect[_0x385d7f(0x121)]===_0x385d7f(0xfc))_0x19018c=Reflect[_0x385d7f(0x121)](_0x403a74,_0x5bf35f,_0x329c66,_0x51c5b4);else{for(var _0x44c90f=_0x403a74['length']-0x1;_0x44c90f>=0x0;_0x44c90f--)if(_0x35b71a=_0x403a74[_0x44c90f])_0x19018c=(_0x45cd64<0x3?_0x35b71a(_0x19018c):_0x45cd64>0x3?_0x35b71a(_0x5bf35f,_0x329c66,_0x19018c):_0x35b71a(_0x5bf35f,_0x329c66))||_0x19018c;}return _0x45cd64>0x3&&_0x19018c&&Object[_0x385d7f(0x112)](_0x5bf35f,_0x329c66,_0x19018c),_0x19018c;},__metadata=this&&this[a11_0x84fdf6(0xf3)]||function(_0x4e6f4c,_0x3302f0){const _0x563577=a11_0x84fdf6;if(typeof Reflect===_0x563577(0x125)&&typeof Reflect[_0x563577(0x12c)]===_0x563577(0xfc))return Reflect[_0x563577(0x12c)](_0x4e6f4c,_0x3302f0);},__param=this&&this[a11_0x84fdf6(0x110)]||function(_0x30c0e4,_0x4d2831){return function(_0x1cf7c1,_0x4bb40d){_0x4d2831(_0x1cf7c1,_0x4bb40d,_0x30c0e4);};};Object[a11_0x84fdf6(0x112)](exports,a11_0x84fdf6(0x109),{'value':!![]}),exports[a11_0x84fdf6(0xff)]=exports[a11_0x84fdf6(0x11a)]=void 0x0;const path_1=require('path'),fs_1=require('fs'),core_1=require(a11_0x84fdf6(0xf7)),decorator_1=require(a11_0x84fdf6(0xfe)),decorator_2=require(a11_0x84fdf6(0xfe)),getRoutes_1=require(a11_0x84fdf6(0x126));let ApitestService=class ApitestService{async[a11_0x84fdf6(0x118)](_0x5c8fb9){const _0x482f30=a11_0x84fdf6,_0x274452=(0x0,getRoutes_1[_0x482f30(0xf8)])(_0x5c8fb9),_0x5b5474=[];for(let _0x3511c2 in _0x274452){for(let _0x1b3313 in _0x274452[_0x3511c2][_0x482f30(0xec)]){let _0x5a9248=_0x274452[_0x3511c2][_0x482f30(0xec)][_0x1b3313],_0x32a033=[];for(let _0x1c45d1 in _0x5a9248['request']){_0x32a033['push'](_0x5a9248[_0x482f30(0x104)][_0x1c45d1]);}_0x5b5474[_0x482f30(0x123)]({'title':_0x274452[_0x3511c2]['summary']+':'+_0x5a9248[_0x482f30(0x12a)],'prefix':_0x274452[_0x3511c2]['prefix'],'router':_0x5a9248[_0x482f30(0xf4)],'method':_0x5a9248[_0x482f30(0xfb)],'describe':_0x5a9248['description']||'','filepath':_0x274452[_0x3511c2]['filepath']||'','request':_0x32a033});}}const _0x30cd2c=(0x0,path_1[_0x482f30(0xe2)])(__dirname,'../../public/index.html');return(0x0,fs_1[_0x482f30(0xf5)])(_0x30cd2c,{'encoding':_0x482f30(0x105)})[_0x482f30(0xde)](/__res__/g,'/apiteststatic/')[_0x482f30(0xde)](_0x482f30(0x114),JSON[_0x482f30(0x100)](_0x5b5474))[_0x482f30(0xde)](_0x482f30(0xe0),JSON['stringify'](this[_0x482f30(0xf0)][_0x482f30(0x11d)]));}};__decorate([(0x0,decorator_2[a11_0x84fdf6(0xe5)])(a11_0x84fdf6(0xf9)),__metadata(a11_0x84fdf6(0x11f),Object)],ApitestService['prototype'],a11_0x84fdf6(0xf0),void 0x0),ApitestService=__decorate([(0x0,decorator_1['Provide'])(a11_0x84fdf6(0x127)),(0x0,decorator_2[a11_0x84fdf6(0xdd)])(decorator_2[a11_0x84fdf6(0xe3)][a11_0x84fdf6(0x12b)])],ApitestService),exports['ApitestService']=ApitestService;function a11_0x23e3(_0x3b6fb1,_0x249f5b){const _0x1a5dac=a11_0x1a5d();return a11_0x23e3=function(_0x23e3bd,_0x1a9430){_0x23e3bd=_0x23e3bd-0xdd;let _0x397ba0=_0x1a5dac[_0x23e3bd];return _0x397ba0;},a11_0x23e3(_0x3b6fb1,_0x249f5b);}let ApitestStaticController=class ApitestStaticController{async[a11_0x84fdf6(0x106)](){const _0x1cfe4d=a11_0x84fdf6;if(this['apitest']){const _0xbedd43={'module':![]};return this[_0x1cfe4d(0xe7)][_0x1cfe4d(0xe1)]()&&(_0xbedd43[_0x1cfe4d(0xef)]=!![]),await this[_0x1cfe4d(0x11a)][_0x1cfe4d(0x118)](_0xbedd43);}return'';}async[a11_0x84fdf6(0xdf)](_0x44fc0a){const _0x4129b0=a11_0x84fdf6;if(this[_0x4129b0(0x127)]){const _0x1cc32a={'module':_0x44fc0a};return this['Environment']['isDevelopmentEnvironment']()&&(_0x1cc32a[_0x4129b0(0xef)]=!![]),await this[_0x4129b0(0x11a)][_0x4129b0(0x118)](_0x1cc32a);}return'';}async[a11_0x84fdf6(0x11b)](){const _0x586f23=a11_0x84fdf6;if((0x0,path_1[_0x586f23(0x120)])(this['ctx']['request'][_0x586f23(0x102)])){var _0x2e0311=(0x0,path_1[_0x586f23(0xe2)])(__dirname,_0x586f23(0x115)+this[_0x586f23(0x10d)][_0x586f23(0x104)]['url'][_0x586f23(0xde)]('/apiteststatic/','/'));if(_0x2e0311[_0x586f23(0xee)](_0x2e0311[_0x586f23(0xed)]-0xb)!=_0x586f23(0x11e)){this[_0x586f23(0x10d)][_0x586f23(0xe6)]('cache-control',_0x586f23(0x10b));if((0x0,path_1[_0x586f23(0x120)])(this[_0x586f23(0x10d)][_0x586f23(0x104)][_0x586f23(0x102)])=='.js')this[_0x586f23(0x10d)]['set'](_0x586f23(0xea),_0x586f23(0xf6));else(0x0,path_1[_0x586f23(0x120)])(this['ctx'][_0x586f23(0x104)][_0x586f23(0x102)])=='.css'&&this[_0x586f23(0x10d)]['set'](_0x586f23(0xea),_0x586f23(0x119));return(0x0,fs_1[_0x586f23(0x10f)])(_0x2e0311)&&(0x0,fs_1['readFileSync'])(_0x2e0311,{'encoding':_0x586f23(0x105)});}}return'';}};function a11_0x1a5d(){const _0x5a3e79=['push','/apitest','object','../helper/getRoutes','apitest','design:paramtypes','Get','summary','Singleton','metadata','Scope','replace','apitestmodule','__devices__','isDevelopmentEnvironment','join','ScopeEnum','__decorate','Config','set','Environment','5683765fLIAXl','4690530FKchCk','content-type','Request','routes','length','substring','filepath','config','10120YDJBNP','7BltQFG','__metadata','route','readFileSync','application/javascript;\x20charset=utf-8','@midwayjs/core','getRoutes','anncicapi','Param','method','function','module','@midwayjs/decorator','ApitestStaticController','stringify','MidwayEnvironmentService','url','design:returntype','request','utf-8','apitesthtml','Controller','prototype','__esModule','34MruSHR','public,\x20max-age=604800','4650416XIhwTu','ctx','21520XzGTZz','existsSync','__param','/apiteststatic/*','defineProperty','6558000PpAewx','__apiList__','../../public/','24918PRqtNA','348DRqjbm','apidoc','text/css;\x20charset=utf-8','ApitestService','apiteststatic','Inject','devices','/index.html','design:type','extname','decorate','42986LYpgOY'];a11_0x1a5d=function(){return _0x5a3e79;};return a11_0x1a5d();}__decorate([(0x0,decorator_2[a11_0x84fdf6(0x11c)])(),__metadata(a11_0x84fdf6(0x11f),Object)],ApitestStaticController[a11_0x84fdf6(0x108)],a11_0x84fdf6(0x10d),void 0x0),__decorate([(0x0,decorator_2[a11_0x84fdf6(0x11c)])(),__metadata(a11_0x84fdf6(0x11f),core_1[a11_0x84fdf6(0x101)])],ApitestStaticController[a11_0x84fdf6(0x108)],a11_0x84fdf6(0xe7),void 0x0),__decorate([(0x0,decorator_2['Inject'])(),__metadata(a11_0x84fdf6(0x11f),ApitestService)],ApitestStaticController[a11_0x84fdf6(0x108)],a11_0x84fdf6(0x11a),void 0x0),__decorate([(0x0,decorator_2[a11_0x84fdf6(0xe5)])('apitest'),__metadata(a11_0x84fdf6(0x11f),Boolean)],ApitestStaticController[a11_0x84fdf6(0x108)],a11_0x84fdf6(0x127),void 0x0),__decorate([(0x0,decorator_2[a11_0x84fdf6(0xe5)])(a11_0x84fdf6(0xf9)),__metadata(a11_0x84fdf6(0x11f),Object)],ApitestStaticController[a11_0x84fdf6(0x108)],a11_0x84fdf6(0xf0),void 0x0),__decorate([(0x0,decorator_1[a11_0x84fdf6(0x129)])(a11_0x84fdf6(0x124)),__metadata(a11_0x84fdf6(0x11f),Function),__metadata(a11_0x84fdf6(0x128),[]),__metadata('design:returntype',Promise)],ApitestStaticController[a11_0x84fdf6(0x108)],a11_0x84fdf6(0x106),null),__decorate([(0x0,decorator_1[a11_0x84fdf6(0x129)])('/apitest-:module'),__param(0x0,(0x0,decorator_1[a11_0x84fdf6(0xfa)])(a11_0x84fdf6(0xfd))),__metadata(a11_0x84fdf6(0x11f),Function),__metadata(a11_0x84fdf6(0x128),[String]),__metadata('design:returntype',Promise)],ApitestStaticController[a11_0x84fdf6(0x108)],a11_0x84fdf6(0xdf),null),__decorate([(0x0,decorator_1[a11_0x84fdf6(0x129)])(a11_0x84fdf6(0x111)),__metadata(a11_0x84fdf6(0x11f),Function),__metadata(a11_0x84fdf6(0x128),[]),__metadata(a11_0x84fdf6(0x103),Promise)],ApitestStaticController[a11_0x84fdf6(0x108)],a11_0x84fdf6(0x11b),null),ApitestStaticController=__decorate([(0x0,decorator_1[a11_0x84fdf6(0x107)])('/'),(0x0,decorator_2[a11_0x84fdf6(0xdd)])(decorator_2[a11_0x84fdf6(0xe3)][a11_0x84fdf6(0xeb)])],ApitestStaticController),exports['ApitestStaticController']=ApitestStaticController;
@@ -1 +1 @@
1
- 'use strict';const a12_0x309b48=a12_0x218c;(function(_0x9539b7,_0x9d648b){const _0xf4fcd7=a12_0x218c,_0x32b5f6=_0x9539b7();while(!![]){try{const _0x1029f0=-parseInt(_0xf4fcd7(0xac))/0x1*(-parseInt(_0xf4fcd7(0xd1))/0x2)+-parseInt(_0xf4fcd7(0xdf))/0x3+parseInt(_0xf4fcd7(0xc2))/0x4*(-parseInt(_0xf4fcd7(0xcd))/0x5)+-parseInt(_0xf4fcd7(0xd8))/0x6*(-parseInt(_0xf4fcd7(0xab))/0x7)+parseInt(_0xf4fcd7(0xdd))/0x8*(-parseInt(_0xf4fcd7(0xd3))/0x9)+-parseInt(_0xf4fcd7(0xba))/0xa*(parseInt(_0xf4fcd7(0xad))/0xb)+parseInt(_0xf4fcd7(0xb2))/0xc;if(_0x1029f0===_0x9d648b)break;else _0x32b5f6['push'](_0x32b5f6['shift']());}catch(_0x1cd846){_0x32b5f6['push'](_0x32b5f6['shift']());}}}(a12_0xcc0f,0x9e558));function a12_0x218c(_0x4d54c4,_0x1ef8af){const _0xcc0f12=a12_0xcc0f();return a12_0x218c=function(_0x218c57,_0x374d5f){_0x218c57=_0x218c57-0xa9;let _0x39b43e=_0xcc0f12[_0x218c57];return _0x39b43e;},a12_0x218c(_0x4d54c4,_0x1ef8af);}var __decorate=this&&this[a12_0x309b48(0xb1)]||function(_0x4cdb6e,_0x375d7b,_0x37192d,_0x348c2c){const _0x76283d=a12_0x309b48;var _0x288dc0=arguments[_0x76283d(0xbf)],_0x539334=_0x288dc0<0x3?_0x375d7b:_0x348c2c===null?_0x348c2c=Object['getOwnPropertyDescriptor'](_0x375d7b,_0x37192d):_0x348c2c,_0x49bb30;if(typeof Reflect===_0x76283d(0xa9)&&typeof Reflect[_0x76283d(0xb9)]===_0x76283d(0xe3))_0x539334=Reflect[_0x76283d(0xb9)](_0x4cdb6e,_0x375d7b,_0x37192d,_0x348c2c);else{for(var _0x2643a1=_0x4cdb6e[_0x76283d(0xbf)]-0x1;_0x2643a1>=0x0;_0x2643a1--)if(_0x49bb30=_0x4cdb6e[_0x2643a1])_0x539334=(_0x288dc0<0x3?_0x49bb30(_0x539334):_0x288dc0>0x3?_0x49bb30(_0x375d7b,_0x37192d,_0x539334):_0x49bb30(_0x375d7b,_0x37192d))||_0x539334;}return _0x288dc0>0x3&&_0x539334&&Object['defineProperty'](_0x375d7b,_0x37192d,_0x539334),_0x539334;},__metadata=this&&this[a12_0x309b48(0xc1)]||function(_0x3e740e,_0x503dce){const _0x1d20e1=a12_0x309b48;if(typeof Reflect===_0x1d20e1(0xa9)&&typeof Reflect[_0x1d20e1(0xda)]===_0x1d20e1(0xe3))return Reflect[_0x1d20e1(0xda)](_0x3e740e,_0x503dce);};Object[a12_0x309b48(0xd5)](exports,'__esModule',{'value':!![]}),exports[a12_0x309b48(0xbe)]=void 0x0;const fs=require('fs'),exceljs=require(a12_0x309b48(0xe7)),koasend=require('koa-send'),decorator_1=require(a12_0x309b48(0xc7));let ExcelService=class ExcelService{async[a12_0x309b48(0xe6)](_0x3da519,_0x23d24c,_0x521a07=[0x0]){const _0x4f7b9a=a12_0x309b48;var _0x8e27c9,_0x28f00f;const _0x5efee8=new exceljs[(_0x4f7b9a(0xb5))](),_0x1bd105=[];let _0x450831=_0x3da519[_0x4f7b9a(0xb0)](/(\\|\/)/g,'/')[_0x4f7b9a(0xb0)](/\/{2,}/g,'/');!(_0x450831===null||_0x450831===void 0x0?void 0x0:_0x450831[_0x4f7b9a(0xe2)]('/'))&&(_0x450831=this[_0x4f7b9a(0xcf)][_0x4f7b9a(0xe5)]()+'/'+_0x450831);try{await _0x5efee8['xlsx']['readFile'](_0x450831);}catch(_0x1abded){return console[_0x4f7b9a(0xe1)](_0x4f7b9a(0xaa)+_0x450831+_0x4f7b9a(0xdc)),_0x1bd105;}for(const _0xb731e4 of _0x521a07){const _0x1aa4f6=lodash[_0x4f7b9a(0xcb)](_0xb731e4)?((_0x8e27c9=_0x5efee8[_0x4f7b9a(0xc9)])===null||_0x8e27c9===void 0x0?void 0x0:_0x8e27c9[_0xb731e4])||undefined:_0x5efee8[_0x4f7b9a(0xce)](_0xb731e4);if(_0x1aa4f6){var _0x48afbe=0x1;const _0x5e494e=_0x1aa4f6[_0x4f7b9a(0xe8)](0x1),_0x84cc97=await new Promise(_0x5676f6=>{const _0xdaf36=_0x4f7b9a,_0x48cf9a={};_0x5e494e[_0xdaf36(0xaf)]((_0x4f739e,_0x164ed2)=>{const _0x474fe2=_0xdaf36;for(const _0xe4b952 of _0x23d24c){if(_0x4f739e[_0x474fe2(0xc0)]==_0xe4b952[_0x474fe2(0xe4)])_0x48afbe=0x2,_0x48cf9a[_0xe4b952[_0x474fe2(0xea)]]={'header':_0x4f739e['col'],'handler':_0xe4b952['handler']};else{if(!_0x48cf9a[_0xe4b952[_0x474fe2(0xea)]])try{const _0x1dd7e6=_0x5e494e[_0x474fe2(0xd0)](_0xe4b952['header']);_0x1dd7e6&&(_0x48cf9a[_0xe4b952['key']]={'header':_0x1dd7e6[_0x474fe2(0xca)],'handler':_0xe4b952[_0x474fe2(0xd7)]});}catch{}}}_0x5e494e[_0x474fe2(0xbb)]==_0x164ed2&&_0x5676f6(_0x48cf9a);});});for(const _0xae9d5d of _0x1aa4f6[_0x4f7b9a(0xcc)](_0x48afbe,_0x1aa4f6['rowCount'])){const _0x2d8018={};for(const _0x447c01 in _0x84cc97){_0x84cc97[_0x447c01]['header']&&(typeof((_0x28f00f=_0x84cc97[_0x447c01])===null||_0x28f00f===void 0x0?void 0x0:_0x28f00f[_0x4f7b9a(0xd7)])==_0x4f7b9a(0xe3)?_0x2d8018[_0x447c01]=_0x84cc97[_0x447c01]['handler'](_0xae9d5d['getCell'](lodash['trim'](''+_0x84cc97[_0x447c01]['header'],'\x20'))[_0x4f7b9a(0xbd)]()):_0x2d8018[_0x447c01]=_0xae9d5d[_0x4f7b9a(0xd0)](_0x84cc97[_0x447c01][_0x4f7b9a(0xe4)])[_0x4f7b9a(0xbd)]());}Object[_0x4f7b9a(0xd9)](_0x2d8018)['length']>0x0&&_0x1bd105[_0x4f7b9a(0xc3)](_0x2d8018);}}}return _0x1bd105;}async[a12_0x309b48(0xe9)](_0x9b72,_0x369b29,_0x58fdcf,_0x5cab27='public/xlsx'){const _0x1d74a1=a12_0x309b48;var _0x1ce33a,_0x4e62ea;const _0x302ce6=new exceljs[(_0x1d74a1(0xb5))](),_0x504358={},_0x235974=[],_0x312daa=_0x302ce6[_0x1d74a1(0xb3)](_0x1d74a1(0xd6),{'views':[{'state':_0x1d74a1(0xb4),'xSplit':0x1}]});for(const _0x431ef0 in _0x369b29){_0x504358[_0x369b29[_0x431ef0]['key']]=_0x369b29[_0x431ef0][_0x1d74a1(0xe4)],_0x235974['push']({'header':_0x369b29[_0x431ef0][_0x1d74a1(0xe4)],'key':(_0x1ce33a=_0x369b29[_0x431ef0])===null||_0x1ce33a===void 0x0?void 0x0:_0x1ce33a[_0x1d74a1(0xea)]['replace'](/\./g,'_')});}_0x312daa[_0x1d74a1(0xde)]=_0x235974;for(const _0x4a6233 of _0x58fdcf){const _0x1b29fc={};for(const _0x3e28f7 in _0x369b29){typeof((_0x4e62ea=_0x369b29[_0x3e28f7])===null||_0x4e62ea===void 0x0?void 0x0:_0x4e62ea[_0x1d74a1(0xd7)])==_0x1d74a1(0xe3)?_0x1b29fc[_0x369b29[_0x3e28f7]['key']['replace'](/\./g,'_')]=await _0x369b29[_0x3e28f7]['handler'](_0x4a6233):_0x1b29fc[_0x369b29[_0x3e28f7]['key'][_0x1d74a1(0xb0)](/\./g,'_')]=lodash['get'](_0x4a6233,_0x369b29[_0x3e28f7]['key'],'');}_0x312daa[_0x1d74a1(0xc5)](_0x1b29fc);}let _0x1ea474='';const _0x79f764=_0x9b72+'-'+lodash['random'](0x2710,0x1869f)+_0x1d74a1(0xb8);if(_0x5cab27&&_0x5cab27[_0x1d74a1(0xe2)]('/'))_0x1ea474=''+_0x5cab27;else _0x5cab27&&!_0x5cab27['startsWith']('/')&&!_0x5cab27[_0x1d74a1(0xe2)]('\x5c')?_0x1ea474=this[_0x1d74a1(0xcf)][_0x1d74a1(0xe5)]()+'/'+_0x5cab27:_0x1ea474=this['app']['getAppDir']()+_0x1d74a1(0xc8);return(_0x1ea474[_0x1d74a1(0xe0)]('/')||_0x1ea474['endsWith']('\x5c'))&&(_0x1ea474=_0x1ea474[_0x1d74a1(0xc6)](0x0,_0x1ea474['length']-0x1)),_0x1ea474=_0x1ea474[_0x1d74a1(0xb0)](/(\\|\/)/g,'/')['replace'](/\/{2,}/g,'/'),!fs['existsSync'](_0x1ea474)&&fs[_0x1d74a1(0xb7)](_0x1ea474,{'recursive':!![]}),await _0x302ce6[_0x1d74a1(0xbc)]['writeFile']((_0x1ea474+'/'+_0x79f764)['replace'](/(\\|\/)/g,'/')[_0x1d74a1(0xb0)](/\/{2,}/g,'/')),{'filename':_0x79f764,'filepath':(_0x1ea474[_0x1d74a1(0xc6)]((''+this[_0x1d74a1(0xcf)]['getAppDir']())[_0x1d74a1(0xbf)])+'/'+_0x79f764)['replace'](/(\\|\/)/g,'/')[_0x1d74a1(0xb0)](/\/{2,}/g,'/')};}async[a12_0x309b48(0xd4)](_0x249653,_0x2f6cce){return await koasend(_0x249653,''+_0x2f6cce);}};__decorate([(0x0,decorator_1[a12_0x309b48(0xd2)])(),__metadata('design:type',Object)],ExcelService[a12_0x309b48(0xb6)],'app',void 0x0),ExcelService=__decorate([(0x0,decorator_1['Provide'])(),(0x0,decorator_1[a12_0x309b48(0xc4)])(decorator_1[a12_0x309b48(0xdb)][a12_0x309b48(0xae)])],ExcelService),exports['ExcelService']=ExcelService;function a12_0xcc0f(){const _0x5e3d56=['prototype','mkdirSync','.xlsx','decorate','5996810FzasMR','cellCount','xlsx','toString','ExcelService','length','value','__metadata','3242424Pmvyzq','push','Scope','addRow','substring','@midwayjs/decorator','/public/xlsx','worksheets','col','isNumber','findRows','5ExCzSg','getWorksheet','app','getCell','38VyvJJd','App','522GrArqG','download','defineProperty','Sheet\x201','handler','6iZoeob','keys','metadata','ScopeEnum','\x20is\x20read\x20fail','40560sqMAHo','columns','1274112UXKQHR','endsWith','log','startsWith','function','header','getAppDir','parse','exceljs','getRow','export','key','object','Api\x20Excel\x20Error:\x20','6064961eIUpmv','42583KOpyqO','11DmWNQy','Singleton','eachCell','replace','__decorate','13225044CeTGsb','addWorksheet','frozen','Workbook'];a12_0xcc0f=function(){return _0x5e3d56;};return a12_0xcc0f();}
1
+ 'use strict';const a12_0xd5c3fb=a12_0x4f1a;(function(_0x410dd3,_0x26f2b1){const _0x43829e=a12_0x4f1a,_0x2fa2a3=_0x410dd3();while(!![]){try{const _0x27db38=-parseInt(_0x43829e(0xe7))/0x1+parseInt(_0x43829e(0x11a))/0x2*(parseInt(_0x43829e(0x10a))/0x3)+-parseInt(_0x43829e(0x10c))/0x4+-parseInt(_0x43829e(0xfa))/0x5+-parseInt(_0x43829e(0xf8))/0x6+parseInt(_0x43829e(0x116))/0x7*(parseInt(_0x43829e(0x102))/0x8)+-parseInt(_0x43829e(0x105))/0x9*(-parseInt(_0x43829e(0xfd))/0xa);if(_0x27db38===_0x26f2b1)break;else _0x2fa2a3['push'](_0x2fa2a3['shift']());}catch(_0xa9ff98){_0x2fa2a3['push'](_0x2fa2a3['shift']());}}}(a12_0x5376,0x6d95c));function a12_0x5376(){const _0xbe5a34=['header','keys','startsWith','key','Workbook','ExcelService','getRow','__metadata','handler','writeFile','4828488lAXRUP','getOwnPropertyDescriptor','328390EDGCNz','App','addRow','13180EyDRyX','xlsx','toString','object','defineProperty','11304vKxXWY','value','prototype','8514MfkJZd','length','app','metadata','col','1385205VWcbyv','.xlsx','1350208zFVmWT','worksheets','findRows','push','replace','\x20is\x20read\x20fail','decorate','endsWith','Api\x20Excel\x20Error:\x20','@midwayjs/decorator','574xGRKgL','frozen','Sheet\x201','koa-send','2tGRwbr','existsSync','random','getCell','__decorate','getWorksheet','mkdirSync','substring','167591SITzcb','parse','function','cellCount','addWorksheet','getAppDir','columns'];a12_0x5376=function(){return _0xbe5a34;};return a12_0x5376();}var __decorate=this&&this[a12_0xd5c3fb(0xe3)]||function(_0x1678c2,_0x5929de,_0x3b4090,_0x3a5339){const _0x48a3eb=a12_0xd5c3fb;var _0x114896=arguments[_0x48a3eb(0x106)],_0x405268=_0x114896<0x3?_0x5929de:_0x3a5339===null?_0x3a5339=Object[_0x48a3eb(0xf9)](_0x5929de,_0x3b4090):_0x3a5339,_0x4ef43f;if(typeof Reflect===_0x48a3eb(0x100)&&typeof Reflect[_0x48a3eb(0x112)]===_0x48a3eb(0xe9))_0x405268=Reflect[_0x48a3eb(0x112)](_0x1678c2,_0x5929de,_0x3b4090,_0x3a5339);else{for(var _0x370918=_0x1678c2[_0x48a3eb(0x106)]-0x1;_0x370918>=0x0;_0x370918--)if(_0x4ef43f=_0x1678c2[_0x370918])_0x405268=(_0x114896<0x3?_0x4ef43f(_0x405268):_0x114896>0x3?_0x4ef43f(_0x5929de,_0x3b4090,_0x405268):_0x4ef43f(_0x5929de,_0x3b4090))||_0x405268;}return _0x114896>0x3&&_0x405268&&Object[_0x48a3eb(0x101)](_0x5929de,_0x3b4090,_0x405268),_0x405268;},__metadata=this&&this[a12_0xd5c3fb(0xf5)]||function(_0x447cbe,_0x164065){const _0x91c9eb=a12_0xd5c3fb;if(typeof Reflect===_0x91c9eb(0x100)&&typeof Reflect[_0x91c9eb(0x108)]==='function')return Reflect['metadata'](_0x447cbe,_0x164065);};function a12_0x4f1a(_0x409818,_0x29f955){const _0x537615=a12_0x5376();return a12_0x4f1a=function(_0x4f1a26,_0x473269){_0x4f1a26=_0x4f1a26-0xe3;let _0x4fc0e1=_0x537615[_0x4f1a26];return _0x4fc0e1;},a12_0x4f1a(_0x409818,_0x29f955);}Object[a12_0xd5c3fb(0x101)](exports,'__esModule',{'value':!![]}),exports['ExcelService']=void 0x0;const fs=require('fs'),exceljs=require('exceljs'),koasend=require(a12_0xd5c3fb(0x119)),decorator_1=require(a12_0xd5c3fb(0x115));let ExcelService=class ExcelService{async[a12_0xd5c3fb(0xe8)](_0x4ad00b,_0x2ac99a,_0xcf4eb5=[0x0]){const _0x4b0f88=a12_0xd5c3fb;var _0x4e89fc,_0x750c3;const _0x29acb0=new exceljs['Workbook'](),_0x333a59=[];let _0x25800b=_0x4ad00b[_0x4b0f88(0x110)](/(\\|\/)/g,'/')['replace'](/\/{2,}/g,'/');!(_0x25800b===null||_0x25800b===void 0x0?void 0x0:_0x25800b[_0x4b0f88(0xf0)]('/'))&&(_0x25800b=this[_0x4b0f88(0x107)][_0x4b0f88(0xec)]()+'/'+_0x25800b);try{await _0x29acb0[_0x4b0f88(0xfe)]['readFile'](_0x25800b);}catch(_0xf17234){return console['log'](_0x4b0f88(0x114)+_0x25800b+_0x4b0f88(0x111)),_0x333a59;}for(const _0x58ef51 of _0xcf4eb5){const _0x35ff46=lodash['isNumber'](_0x58ef51)?((_0x4e89fc=_0x29acb0[_0x4b0f88(0x10d)])===null||_0x4e89fc===void 0x0?void 0x0:_0x4e89fc[_0x58ef51])||undefined:_0x29acb0[_0x4b0f88(0xe4)](_0x58ef51);if(_0x35ff46){var _0x2b05e2=0x1;const _0x163f31=_0x35ff46[_0x4b0f88(0xf4)](0x1),_0x2c64dd=await new Promise(_0xf437e3=>{const _0x3c151b={};_0x163f31['eachCell']((_0x2cf073,_0x543737)=>{const _0x583034=a12_0x4f1a;for(const _0x360de1 of _0x2ac99a){if(_0x2cf073[_0x583034(0x103)]==_0x360de1[_0x583034(0xee)])_0x2b05e2=0x2,_0x3c151b[_0x360de1['key']]={'header':_0x2cf073[_0x583034(0x109)],'handler':_0x360de1[_0x583034(0xf6)]};else{if(!_0x3c151b[_0x360de1['key']])try{const _0x2e43b7=_0x163f31[_0x583034(0x11d)](_0x360de1[_0x583034(0xee)]);_0x2e43b7&&(_0x3c151b[_0x360de1['key']]={'header':_0x2e43b7['col'],'handler':_0x360de1[_0x583034(0xf6)]});}catch{}}}_0x163f31[_0x583034(0xea)]==_0x543737&&_0xf437e3(_0x3c151b);});});for(const _0x3c3177 of _0x35ff46[_0x4b0f88(0x10e)](_0x2b05e2,_0x35ff46['rowCount'])){const _0x2250b7={};for(const _0x50bec0 in _0x2c64dd){_0x2c64dd[_0x50bec0][_0x4b0f88(0xee)]&&(typeof((_0x750c3=_0x2c64dd[_0x50bec0])===null||_0x750c3===void 0x0?void 0x0:_0x750c3['handler'])==_0x4b0f88(0xe9)?_0x2250b7[_0x50bec0]=_0x2c64dd[_0x50bec0][_0x4b0f88(0xf6)](_0x3c3177[_0x4b0f88(0x11d)](lodash['trim'](''+_0x2c64dd[_0x50bec0][_0x4b0f88(0xee)],'\x20'))[_0x4b0f88(0xff)]()):_0x2250b7[_0x50bec0]=_0x3c3177['getCell'](_0x2c64dd[_0x50bec0][_0x4b0f88(0xee)])['toString']());}Object[_0x4b0f88(0xef)](_0x2250b7)[_0x4b0f88(0x106)]>0x0&&_0x333a59['push'](_0x2250b7);}}}return _0x333a59;}async['export'](_0x421405,_0x35a35c,_0x1fc0c2,_0x21ad35='public/xlsx'){const _0x20eef8=a12_0xd5c3fb;var _0x551df9,_0xff7ee;const _0x5c829b=new exceljs[(_0x20eef8(0xf2))](),_0x2a7dde={},_0x563f71=[],_0x513eb3=_0x5c829b[_0x20eef8(0xeb)](_0x20eef8(0x118),{'views':[{'state':_0x20eef8(0x117),'xSplit':0x1}]});for(const _0x530945 in _0x35a35c){_0x2a7dde[_0x35a35c[_0x530945][_0x20eef8(0xf1)]]=_0x35a35c[_0x530945][_0x20eef8(0xee)],_0x563f71[_0x20eef8(0x10f)]({'header':_0x35a35c[_0x530945][_0x20eef8(0xee)],'key':(_0x551df9=_0x35a35c[_0x530945])===null||_0x551df9===void 0x0?void 0x0:_0x551df9[_0x20eef8(0xf1)]['replace'](/\./g,'_')});}_0x513eb3[_0x20eef8(0xed)]=_0x563f71;for(const _0x1cae78 of _0x1fc0c2){const _0x1b78d9={};for(const _0x5e2197 in _0x35a35c){typeof((_0xff7ee=_0x35a35c[_0x5e2197])===null||_0xff7ee===void 0x0?void 0x0:_0xff7ee[_0x20eef8(0xf6)])==_0x20eef8(0xe9)?_0x1b78d9[_0x35a35c[_0x5e2197][_0x20eef8(0xf1)][_0x20eef8(0x110)](/\./g,'_')]=await _0x35a35c[_0x5e2197][_0x20eef8(0xf6)](_0x1cae78):_0x1b78d9[_0x35a35c[_0x5e2197][_0x20eef8(0xf1)][_0x20eef8(0x110)](/\./g,'_')]=lodash['get'](_0x1cae78,_0x35a35c[_0x5e2197][_0x20eef8(0xf1)],'');}_0x513eb3[_0x20eef8(0xfc)](_0x1b78d9);}let _0x906ebe='';const _0x28798d=_0x421405+'-'+lodash[_0x20eef8(0x11c)](0x2710,0x1869f)+_0x20eef8(0x10b);if(_0x21ad35&&_0x21ad35[_0x20eef8(0xf0)]('/'))_0x906ebe=''+_0x21ad35;else _0x21ad35&&!_0x21ad35['startsWith']('/')&&!_0x21ad35[_0x20eef8(0xf0)]('\x5c')?_0x906ebe=this[_0x20eef8(0x107)][_0x20eef8(0xec)]()+'/'+_0x21ad35:_0x906ebe=this[_0x20eef8(0x107)]['getAppDir']()+'/public/xlsx';return(_0x906ebe[_0x20eef8(0x113)]('/')||_0x906ebe['endsWith']('\x5c'))&&(_0x906ebe=_0x906ebe[_0x20eef8(0xe6)](0x0,_0x906ebe[_0x20eef8(0x106)]-0x1)),_0x906ebe=_0x906ebe['replace'](/(\\|\/)/g,'/')[_0x20eef8(0x110)](/\/{2,}/g,'/'),!fs[_0x20eef8(0x11b)](_0x906ebe)&&fs[_0x20eef8(0xe5)](_0x906ebe,{'recursive':!![]}),await _0x5c829b[_0x20eef8(0xfe)][_0x20eef8(0xf7)]((_0x906ebe+'/'+_0x28798d)['replace'](/(\\|\/)/g,'/')[_0x20eef8(0x110)](/\/{2,}/g,'/')),{'filename':_0x28798d,'filepath':(_0x906ebe['substring']((''+this[_0x20eef8(0x107)][_0x20eef8(0xec)]())[_0x20eef8(0x106)])+'/'+_0x28798d)[_0x20eef8(0x110)](/(\\|\/)/g,'/')[_0x20eef8(0x110)](/\/{2,}/g,'/')};}async['download'](_0x1e8147,_0xbadfdd){return await koasend(_0x1e8147,''+_0xbadfdd);}};__decorate([(0x0,decorator_1[a12_0xd5c3fb(0xfb)])(),__metadata('design:type',Object)],ExcelService[a12_0xd5c3fb(0x104)],'app',void 0x0),ExcelService=__decorate([(0x0,decorator_1['Provide'])(),(0x0,decorator_1['Scope'])(decorator_1['ScopeEnum']['Singleton'])],ExcelService),exports[a12_0xd5c3fb(0xf3)]=ExcelService;
@@ -1 +1 @@
1
- 'use strict';var a13_0x26491b=a13_0x4273;(function(_0x5e8617,_0x148624){var _0x644c38=a13_0x4273,_0x2b8cd5=_0x5e8617();while(!![]){try{var _0x3efc2e=-parseInt(_0x644c38(0x170))/0x1+parseInt(_0x644c38(0x17d))/0x2*(parseInt(_0x644c38(0x174))/0x3)+parseInt(_0x644c38(0x16e))/0x4*(parseInt(_0x644c38(0x180))/0x5)+parseInt(_0x644c38(0x178))/0x6*(parseInt(_0x644c38(0x179))/0x7)+parseInt(_0x644c38(0x175))/0x8*(parseInt(_0x644c38(0x17e))/0x9)+parseInt(_0x644c38(0x17c))/0xa*(parseInt(_0x644c38(0x171))/0xb)+-parseInt(_0x644c38(0x172))/0xc*(parseInt(_0x644c38(0x16d))/0xd);if(_0x3efc2e===_0x148624)break;else _0x2b8cd5['push'](_0x2b8cd5['shift']());}catch(_0x3de21b){_0x2b8cd5['push'](_0x2b8cd5['shift']());}}}(a13_0x435d,0xb7ad2));function a13_0x4273(_0x484f6a,_0x5cc3ee){var _0x435d62=a13_0x435d();return a13_0x4273=function(_0x4273d4,_0x497624){_0x4273d4=_0x4273d4-0x16d;var _0x120d68=_0x435d62[_0x4273d4];return _0x120d68;},a13_0x4273(_0x484f6a,_0x5cc3ee);}Object[a13_0x26491b(0x17b)](exports,a13_0x26491b(0x16f),{'value':!![]}),exports[a13_0x26491b(0x176)]=exports[a13_0x26491b(0x17a)]=exports[a13_0x26491b(0x177)]=exports[a13_0x26491b(0x173)]=void 0x0,exports[a13_0x26491b(0x173)]='anncic-api:action',exports[a13_0x26491b(0x177)]=a13_0x26491b(0x17f),exports[a13_0x26491b(0x17a)]='anncic-api:apps:config';class AppsConfigTmp{}function a13_0x435d(){var _0xc873b7=['7pbckcZ','APPSCONFIG_KEY','defineProperty','1490qfCvka','1994JfjCGQ','6415956SnDCAX','anncic-api:action:route','5sjNRbA','13KpHzQq','1605908nhBTms','__esModule','133265KRCFWr','44869rMMAEn','19862868lUNJpE','ACTION_KEY','1263eaPyDA','8yHjgUx','AppsConfigTmp','ACTION_ROUTE_KEY','2393838xhLWUe'];a13_0x435d=function(){return _0xc873b7;};return a13_0x435d();}exports[a13_0x26491b(0x176)]=AppsConfigTmp;
1
+ 'use strict';function a13_0x4e91(_0x11c3db,_0x2b5947){var _0x4e968e=a13_0x4e96();return a13_0x4e91=function(_0x4e9144,_0x3e0a02){_0x4e9144=_0x4e9144-0x112;var _0x3339b2=_0x4e968e[_0x4e9144];return _0x3339b2;},a13_0x4e91(_0x11c3db,_0x2b5947);}var a13_0x4326bc=a13_0x4e91;function a13_0x4e96(){var _0xd8d209=['902570uWNqxf','3QOpmkk','AppsConfigTmp','anncic-api:action:route','ACTION_ROUTE_KEY','anncic-api:apps:config','4772eMOrFD','3885788TroQJA','24rDzCWy','54EywQLO','5019zPgVat','APPSCONFIG_KEY','81BTragW','4633790nVvxtU','7770472LRAodT','167959alVdmn','6402gvZOpp'];a13_0x4e96=function(){return _0xd8d209;};return a13_0x4e96();}(function(_0xd3cfb5,_0x363fc8){var _0x182510=a13_0x4e91,_0x5061e7=_0xd3cfb5();while(!![]){try{var _0x722bff=parseInt(_0x182510(0x11e))/0x1*(-parseInt(_0x182510(0x121))/0x2)+parseInt(_0x182510(0x119))/0x3*(parseInt(_0x182510(0x11f))/0x4)+-parseInt(_0x182510(0x114))/0x5+-parseInt(_0x182510(0x117))/0x6*(-parseInt(_0x182510(0x122))/0x7)+-parseInt(_0x182510(0x115))/0x8+-parseInt(_0x182510(0x113))/0x9*(-parseInt(_0x182510(0x118))/0xa)+parseInt(_0x182510(0x116))/0xb*(parseInt(_0x182510(0x120))/0xc);if(_0x722bff===_0x363fc8)break;else _0x5061e7['push'](_0x5061e7['shift']());}catch(_0x491c0b){_0x5061e7['push'](_0x5061e7['shift']());}}}(a13_0x4e96,0x86dea));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['AppsConfigTmp']=exports['APPSCONFIG_KEY']=exports[a13_0x4326bc(0x11c)]=exports['ACTION_KEY']=void 0x0,exports['ACTION_KEY']='anncic-api:action',exports[a13_0x4326bc(0x11c)]=a13_0x4326bc(0x11b),exports[a13_0x4326bc(0x112)]=a13_0x4326bc(0x11d);class AppsConfigTmp{}exports[a13_0x4326bc(0x11a)]=AppsConfigTmp;
@@ -1 +1 @@
1
- 'use strict';var a14_0x38ab0a=a14_0x4a63;(function(_0x517b58,_0x3812f0){var _0x223774=a14_0x4a63,_0x527610=_0x517b58();while(!![]){try{var _0x424620=parseInt(_0x223774(0x120))/0x1*(parseInt(_0x223774(0x115))/0x2)+parseInt(_0x223774(0x112))/0x3+parseInt(_0x223774(0x119))/0x4+parseInt(_0x223774(0x105))/0x5+-parseInt(_0x223774(0x121))/0x6*(parseInt(_0x223774(0x11f))/0x7)+parseInt(_0x223774(0x113))/0x8+-parseInt(_0x223774(0x106))/0x9;if(_0x424620===_0x3812f0)break;else _0x527610['push'](_0x527610['shift']());}catch(_0xb5c8f2){_0x527610['push'](_0x527610['shift']());}}}(a14_0x5473,0xb9fdf));var __decorate=this&&this['__decorate']||function(_0x2869ec,_0x41206b,_0x210061,_0x3681fe){var _0x551c7f=a14_0x4a63,_0x5caa20=arguments[_0x551c7f(0x126)],_0x5e145d=_0x5caa20<0x3?_0x41206b:_0x3681fe===null?_0x3681fe=Object['getOwnPropertyDescriptor'](_0x41206b,_0x210061):_0x3681fe,_0x3a5400;if(typeof Reflect==='object'&&typeof Reflect[_0x551c7f(0x10c)]===_0x551c7f(0x127))_0x5e145d=Reflect['decorate'](_0x2869ec,_0x41206b,_0x210061,_0x3681fe);else{for(var _0x4fae5b=_0x2869ec[_0x551c7f(0x126)]-0x1;_0x4fae5b>=0x0;_0x4fae5b--)if(_0x3a5400=_0x2869ec[_0x4fae5b])_0x5e145d=(_0x5caa20<0x3?_0x3a5400(_0x5e145d):_0x5caa20>0x3?_0x3a5400(_0x41206b,_0x210061,_0x5e145d):_0x3a5400(_0x41206b,_0x210061))||_0x5e145d;}return _0x5caa20>0x3&&_0x5e145d&&Object['defineProperty'](_0x41206b,_0x210061,_0x5e145d),_0x5e145d;},__metadata=this&&this[a14_0x38ab0a(0x125)]||function(_0x5654cd,_0x52934a){var _0x13e4d5=a14_0x38ab0a;if(typeof Reflect===_0x13e4d5(0x108)&&typeof Reflect[_0x13e4d5(0x11e)]===_0x13e4d5(0x127))return Reflect[_0x13e4d5(0x11e)](_0x5654cd,_0x52934a);};Object[a14_0x38ab0a(0x10a)](exports,a14_0x38ab0a(0x11b),{'value':!![]}),exports[a14_0x38ab0a(0x11c)]=void 0x0;const validator_1=require(a14_0x38ab0a(0x124));function a14_0x5473(){var _0x4267ac=['RuleType','number','806084DJVVCZ','min','__esModule','PageDTO','valid','metadata','7ZfxZrI','175cgcMYL','2277114lglfbv','prototype','分页数量','@anncic-api/validator','__metadata','length','function','_isreverse','2198225fHQbPl','3321684TrspaK','_size','object','1:是;0:否','defineProperty','_order','decorate','第一页为1,第二页为2','integer','design:type','trim','_page','506685SBkrCL','5201056rAdHYT','排序方式','574vhklmJ','是否倒序'];a14_0x5473=function(){return _0x4267ac;};return a14_0x5473();}class PageDTO{}function a14_0x4a63(_0x2d74d8,_0x25d855){var _0x5473c7=a14_0x5473();return a14_0x4a63=function(_0x4a6339,_0x585d26){_0x4a6339=_0x4a6339-0x105;var _0x2592aa=_0x5473c7[_0x4a6339];return _0x2592aa;},a14_0x4a63(_0x2d74d8,_0x25d855);}__decorate([(0x0,validator_1['Rule'])('分页',validator_1[a14_0x38ab0a(0x117)]['number']()['integer']()[a14_0x38ab0a(0x11a)](0x1),a14_0x38ab0a(0x10d)),__metadata('design:type',Number)],PageDTO['prototype'],a14_0x38ab0a(0x111),void 0x0),__decorate([(0x0,validator_1['Rule'])(a14_0x38ab0a(0x123),validator_1[a14_0x38ab0a(0x117)][a14_0x38ab0a(0x118)]()['integer']()[a14_0x38ab0a(0x11a)](0x1)),__metadata('design:type',Number)],PageDTO[a14_0x38ab0a(0x122)],a14_0x38ab0a(0x107),void 0x0),__decorate([(0x0,validator_1['Rule'])(a14_0x38ab0a(0x114),validator_1[a14_0x38ab0a(0x117)]['string']()[a14_0x38ab0a(0x110)]()),__metadata(a14_0x38ab0a(0x10f),String)],PageDTO[a14_0x38ab0a(0x122)],a14_0x38ab0a(0x10b),void 0x0),__decorate([(0x0,validator_1['Rule'])(a14_0x38ab0a(0x116),validator_1[a14_0x38ab0a(0x117)]['number']()[a14_0x38ab0a(0x10e)]()[a14_0x38ab0a(0x11d)](0x0,0x1),a14_0x38ab0a(0x109)),__metadata('design:type',Number)],PageDTO['prototype'],a14_0x38ab0a(0x128),void 0x0),exports[a14_0x38ab0a(0x11c)]=PageDTO;
1
+ 'use strict';var a14_0x1b502d=a14_0x1517;(function(_0x5c2f78,_0x4c6ec4){var _0x28be0e=a14_0x1517,_0xc67775=_0x5c2f78();while(!![]){try{var _0x4757a3=parseInt(_0x28be0e(0xbb))/0x1+parseInt(_0x28be0e(0xba))/0x2*(parseInt(_0x28be0e(0xa1))/0x3)+-parseInt(_0x28be0e(0x9e))/0x4+parseInt(_0x28be0e(0xac))/0x5+parseInt(_0x28be0e(0xa0))/0x6*(-parseInt(_0x28be0e(0xab))/0x7)+-parseInt(_0x28be0e(0xb1))/0x8+parseInt(_0x28be0e(0xb6))/0x9;if(_0x4757a3===_0x4c6ec4)break;else _0xc67775['push'](_0xc67775['shift']());}catch(_0x2ca276){_0xc67775['push'](_0xc67775['shift']());}}}(a14_0xcd77,0xe2004));var __decorate=this&&this[a14_0x1b502d(0xa3)]||function(_0x23834c,_0x2b2794,_0x2e3506,_0x461353){var _0x449319=a14_0x1b502d,_0x152264=arguments[_0x449319(0xae)],_0x37ec23=_0x152264<0x3?_0x2b2794:_0x461353===null?_0x461353=Object[_0x449319(0xa9)](_0x2b2794,_0x2e3506):_0x461353,_0x40f5cd;if(typeof Reflect===_0x449319(0xb9)&&typeof Reflect[_0x449319(0xad)]==='function')_0x37ec23=Reflect[_0x449319(0xad)](_0x23834c,_0x2b2794,_0x2e3506,_0x461353);else{for(var _0x3a3adf=_0x23834c['length']-0x1;_0x3a3adf>=0x0;_0x3a3adf--)if(_0x40f5cd=_0x23834c[_0x3a3adf])_0x37ec23=(_0x152264<0x3?_0x40f5cd(_0x37ec23):_0x152264>0x3?_0x40f5cd(_0x2b2794,_0x2e3506,_0x37ec23):_0x40f5cd(_0x2b2794,_0x2e3506))||_0x37ec23;}return _0x152264>0x3&&_0x37ec23&&Object[_0x449319(0xaf)](_0x2b2794,_0x2e3506,_0x37ec23),_0x37ec23;},__metadata=this&&this[a14_0x1b502d(0xa4)]||function(_0x150c5d,_0x3b2353){var _0x485190=a14_0x1b502d;if(typeof Reflect===_0x485190(0xb9)&&typeof Reflect[_0x485190(0xaa)]==='function')return Reflect[_0x485190(0xaa)](_0x150c5d,_0x3b2353);};function a14_0x1517(_0x44650c,_0x17692d){var _0xcd7789=a14_0xcd77();return a14_0x1517=function(_0x1517c5,_0x2f25bb){_0x1517c5=_0x1517c5-0x9e;var _0x28839a=_0xcd7789[_0x1517c5];return _0x28839a;},a14_0x1517(_0x44650c,_0x17692d);}function a14_0xcd77(){var _0x2c1410=['RuleType','design:type','分页数量','13207599FREJCW','@anncic-api/validator','prototype','object','76LCAzaR','405331YglFXz','3330220idkVIQ','valid','438PrcxiQ','48777ThUFdY','Rule','__decorate','__metadata','min','integer','trim','__esModule','getOwnPropertyDescriptor','metadata','145621BEwQqU','9159820PGWhiX','decorate','length','defineProperty','PageDTO','8366192giVJfQ','number'];a14_0xcd77=function(){return _0x2c1410;};return a14_0xcd77();}Object['defineProperty'](exports,a14_0x1b502d(0xa8),{'value':!![]}),exports[a14_0x1b502d(0xb0)]=void 0x0;const validator_1=require(a14_0x1b502d(0xb7));class PageDTO{}__decorate([(0x0,validator_1[a14_0x1b502d(0xa2)])('分页',validator_1[a14_0x1b502d(0xb3)][a14_0x1b502d(0xb2)]()[a14_0x1b502d(0xa6)]()['min'](0x1),'第一页为1,第二页为2'),__metadata(a14_0x1b502d(0xb4),Number)],PageDTO['prototype'],'_page',void 0x0),__decorate([(0x0,validator_1[a14_0x1b502d(0xa2)])(a14_0x1b502d(0xb5),validator_1['RuleType']['number']()[a14_0x1b502d(0xa6)]()[a14_0x1b502d(0xa5)](0x1)),__metadata(a14_0x1b502d(0xb4),Number)],PageDTO[a14_0x1b502d(0xb8)],'_size',void 0x0),__decorate([(0x0,validator_1[a14_0x1b502d(0xa2)])('排序方式',validator_1[a14_0x1b502d(0xb3)]['string']()[a14_0x1b502d(0xa7)]()),__metadata(a14_0x1b502d(0xb4),String)],PageDTO['prototype'],'_order',void 0x0),__decorate([(0x0,validator_1[a14_0x1b502d(0xa2)])('是否倒序',validator_1[a14_0x1b502d(0xb3)][a14_0x1b502d(0xb2)]()[a14_0x1b502d(0xa6)]()[a14_0x1b502d(0x9f)](0x0,0x1),'1:是;0:否'),__metadata(a14_0x1b502d(0xb4),Number)],PageDTO[a14_0x1b502d(0xb8)],'_isreverse',void 0x0),exports[a14_0x1b502d(0xb0)]=PageDTO;
package/index.d.ts CHANGED
@@ -10,7 +10,6 @@ declare module '@midwayjs/koa/dist/interface' {
10
10
  input(key?: string, defval?: any): any | { [key: string]: any } | any[];
11
11
 
12
12
  ok(data?: any, extra?: any, code?: number): { code: number, data: any, extra: any };
13
- err(message: string, extra?: any, code?: number): { code: number, extra: any, message: string };
14
13
  }
15
14
  }
16
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anncic-api",
3
- "version": "1.1.40",
3
+ "version": "1.1.42",
4
4
  "main": "./dist/index.js",
5
5
  "typings": "index.d.ts",
6
6
  "files": [
@@ -17,11 +17,11 @@
17
17
  "build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
18
18
  },
19
19
  "dependencies": {
20
- "@anncic-api/cache": "^1.1.40",
21
- "@anncic-api/core": "^1.1.40",
22
- "@anncic-api/event": "^1.1.40",
23
- "@anncic-api/typeorm": "^1.1.40",
24
- "@anncic-api/validator": "^1.1.40",
20
+ "@anncic-api/cache": "^1.1.42",
21
+ "@anncic-api/core": "^1.1.42",
22
+ "@anncic-api/event": "^1.1.42",
23
+ "@anncic-api/typeorm": "^1.1.42",
24
+ "@anncic-api/validator": "^1.1.42",
25
25
  "@midwayjs/cross-domain": "^3.5.2",
26
26
  "@midwayjs/i18n": "^3.5.2",
27
27
  "@midwayjs/koa": "^3.5.1",
@@ -29,7 +29,7 @@
29
29
  "@midwayjs/task": "^3.5.1",
30
30
  "@midwayjs/upload": "^3.5.2",
31
31
  "@types/bull": "^3.15.9",
32
- "anncic-apihelper": "^1.1.40",
32
+ "anncic-apihelper": "^1.1.42",
33
33
  "exceljs": "^4.3.0",
34
34
  "koa-send": "^5.0.1",
35
35
  "urllib": "^3.1.0"
@@ -39,5 +39,5 @@
39
39
  "javascript-obfuscator": "2.19.0",
40
40
  "typescript": "^4.7.4"
41
41
  },
42
- "gitHead": "9f9889460e81d653e97b2c9b46cb36321d721c9c"
42
+ "gitHead": "81443f0288e3ebaa132732e0a3e616bdaa35f3c1"
43
43
  }