anncic-api 3.0.2 → 3.0.4

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
- var a0_0x57030d=a0_0x5e40;(function(_0x4bf7f9,_0x3146f4){var _0x17c349=a0_0x5e40,_0x158c7b=_0x4bf7f9();while(!![]){try{var _0x13ed53=parseInt(_0x17c349(0x1aa))/0x1+-parseInt(_0x17c349(0x19b))/0x2+parseInt(_0x17c349(0x199))/0x3+parseInt(_0x17c349(0x1ad))/0x4+-parseInt(_0x17c349(0x1a5))/0x5+parseInt(_0x17c349(0x1a2))/0x6*(parseInt(_0x17c349(0x1a4))/0x7)+-parseInt(_0x17c349(0x1a8))/0x8;if(_0x13ed53===_0x3146f4)break;else _0x158c7b['push'](_0x158c7b['shift']());}catch(_0x2292fb){_0x158c7b['push'](_0x158c7b['shift']());}}}(a0_0x572b,0x428d0));function a0_0x572b(){var _0x28f45b=['1060456puWhFe','dhauo1234420123gg3234901','form','search','toString','constructor','apply','5136GOeMdy','zhiulanuiy7892387985hnoi','2702hpofrp','906060ISVNQk','json','__esModule','2332104MXsWMr','appDir','446356eCikDS','(((.+)+)+)+$','xml','585884HqQzfs','text','defineProperty','1056906yOUPIU','20mb'];a0_0x572b=function(){return _0x28f45b;};return a0_0x572b();}var a0_0x3bc812=(function(){var _0x3bb7f7=!![];return function(_0x2eb766,_0x3c6211){var _0x52e5ea=_0x3bb7f7?function(){var _0x2fbe02=a0_0x5e40;if(_0x3c6211){var _0x56ec78=_0x3c6211[_0x2fbe02(0x1a1)](_0x2eb766,arguments);return _0x3c6211=null,_0x56ec78;}}:function(){};return _0x3bb7f7=![],_0x52e5ea;};}()),a0_0x366408=a0_0x3bc812(this,function(){var _0x287d1c=a0_0x5e40;return a0_0x366408['toString']()[_0x287d1c(0x19e)](_0x287d1c(0x1ab))[_0x287d1c(0x19f)]()[_0x287d1c(0x1a0)](a0_0x366408)['search'](_0x287d1c(0x1ab));});a0_0x366408();function a0_0x5e40(_0x168f30,_0x49706c){var _0x517c87=a0_0x572b();return a0_0x5e40=function(_0x366408,_0x3bc812){_0x366408=_0x366408-0x197;var _0x572b06=_0x517c87[_0x366408];return _0x572b06;},a0_0x5e40(_0x168f30,_0x49706c);}'use strict';Object[a0_0x57030d(0x198)](exports,a0_0x57030d(0x1a7),{'value':!![]}),exports['default']=_0xafbc1e=>{var _0x5bf728=a0_0x57030d;return{'apitest':!![],'keys':_0xafbc1e['name'],'anncicapi':{'password':_0x5bf728(0x1a3),'devices':{'DEFAULT':{'secret':_0x5bf728(0x19c),'checkcode':_0x5bf728(0x19c)}}},'bodyParser':{'enableTypes':[_0x5bf728(0x1a6),_0x5bf728(0x19d),_0x5bf728(0x197),_0x5bf728(0x1ac)],'formLimit':_0x5bf728(0x19a),'jsonLimit':_0x5bf728(0x19a),'textLimit':_0x5bf728(0x19a),'xmlLimit':_0x5bf728(0x19a)},'upload':{'tmpdir':_0xafbc1e[_0x5bf728(0x1a9)]+'/runtime/.upload','cleanTimeout':0x5265c00}};};
1
+ function a0_0x3d11(){var _0x56fd1f=['search','name','__esModule','332490BuGiET','4885083pRAqCx','344Rqvslz','70VDosRY','xml','apply','2307736fnBPUa','1769756MjXCvB','(((.+)+)+)+$','toString','/runtime/.upload','text','default','20mb','215895bxPNkL','json','zhiulanuiy7892387985hnoi','dhauo1234420123gg3234901','constructor','1709442XSvMxN','3698pxwGXs','defineProperty'];a0_0x3d11=function(){return _0x56fd1f;};return a0_0x3d11();}var a0_0x5dbdf3=a0_0x3b9f;(function(_0x255379,_0x46048b){var _0xf46b2d=a0_0x3b9f,_0x365231=_0x255379();while(!![]){try{var _0x2dea53=-parseInt(_0xf46b2d(0x131))/0x1*(parseInt(_0xf46b2d(0x12a))/0x2)+-parseInt(_0xf46b2d(0x124))/0x3+-parseInt(_0xf46b2d(0x136))/0x4+parseInt(_0xf46b2d(0x132))/0x5*(parseInt(_0xf46b2d(0x12f))/0x6)+parseInt(_0xf46b2d(0x130))/0x7+parseInt(_0xf46b2d(0x135))/0x8+-parseInt(_0xf46b2d(0x129))/0x9;if(_0x2dea53===_0x46048b)break;else _0x365231['push'](_0x365231['shift']());}catch(_0xb8c000){_0x365231['push'](_0x365231['shift']());}}}(a0_0x3d11,0x66f74));var a0_0x45aa1f=(function(){var _0x16a2d7=!![];return function(_0x58da66,_0x11802f){var _0x54c13e=_0x16a2d7?function(){var _0x33d5c5=a0_0x3b9f;if(_0x11802f){var _0x3a1057=_0x11802f[_0x33d5c5(0x134)](_0x58da66,arguments);return _0x11802f=null,_0x3a1057;}}:function(){};return _0x16a2d7=![],_0x54c13e;};}()),a0_0x3d6412=a0_0x45aa1f(this,function(){var _0x1282e0=a0_0x3b9f;return a0_0x3d6412[_0x1282e0(0x11f)]()[_0x1282e0(0x12c)](_0x1282e0(0x11e))[_0x1282e0(0x11f)]()[_0x1282e0(0x128)](a0_0x3d6412)['search'](_0x1282e0(0x11e));});a0_0x3d6412();'use strict';function a0_0x3b9f(_0x5346e0,_0xec8765){var _0x120491=a0_0x3d11();return a0_0x3b9f=function(_0x3d6412,_0x45aa1f){_0x3d6412=_0x3d6412-0x11e;var _0x3d1124=_0x120491[_0x3d6412];return _0x3d1124;},a0_0x3b9f(_0x5346e0,_0xec8765);}Object[a0_0x5dbdf3(0x12b)](exports,a0_0x5dbdf3(0x12e),{'value':!![]}),exports[a0_0x5dbdf3(0x122)]=_0x53daad=>{var _0x459def=a0_0x5dbdf3;return{'apitest':!![],'keys':_0x53daad[_0x459def(0x12d)],'anncicapi':{'password':_0x459def(0x126),'devices':{'DEFAULT':{'secret':'dhauo1234420123gg3234901','checkcode':_0x459def(0x127)}}},'bodyParser':{'enableTypes':[_0x459def(0x125),'form',_0x459def(0x121),_0x459def(0x133)],'formLimit':_0x459def(0x123),'jsonLimit':_0x459def(0x123),'textLimit':'20mb','xmlLimit':_0x459def(0x123)},'upload':{'tmpdir':_0x53daad['appDir']+_0x459def(0x120),'cleanTimeout':0x5265c00}};};
@@ -1 +1 @@
1
- var a1_0x5e7cf3=a1_0x254f;function a1_0x2ec1(){var _0x49a89c=['324815aHAvLH','673075eqBkBO','4YOIunq','1690759euqvqf','6byQUXH','defineProperty','(((.+)+)+)+$','29144kNOCuD','default','603rwPkSZ','423741ADyzwZ','6tFKnOI','__esModule','4936459pCBARU','apply','1533690daBwAc','search'];a1_0x2ec1=function(){return _0x49a89c;};return a1_0x2ec1();}(function(_0x14c2f6,_0x6af037){var _0x36b282=a1_0x254f,_0x1ceef2=_0x14c2f6();while(!![]){try{var _0x468d5b=-parseInt(_0x36b282(0x11b))/0x1+parseInt(_0x36b282(0x126))/0x2*(parseInt(_0x36b282(0x125))/0x3)+parseInt(_0x36b282(0x11d))/0x4*(-parseInt(_0x36b282(0x11c))/0x5)+parseInt(_0x36b282(0x11f))/0x6*(-parseInt(_0x36b282(0x11e))/0x7)+parseInt(_0x36b282(0x122))/0x8*(parseInt(_0x36b282(0x124))/0x9)+-parseInt(_0x36b282(0x12a))/0xa+parseInt(_0x36b282(0x128))/0xb;if(_0x468d5b===_0x6af037)break;else _0x1ceef2['push'](_0x1ceef2['shift']());}catch(_0x36ae73){_0x1ceef2['push'](_0x1ceef2['shift']());}}}(a1_0x2ec1,0x4006f));function a1_0x254f(_0x38a9d1,_0x1e8a6e){var _0x3affd9=a1_0x2ec1();return a1_0x254f=function(_0x13235a,_0xe5ca29){_0x13235a=_0x13235a-0x11a;var _0x2ec13f=_0x3affd9[_0x13235a];return _0x2ec13f;},a1_0x254f(_0x38a9d1,_0x1e8a6e);}var a1_0xe5ca29=(function(){var _0xaf3d87=!![];return function(_0x4b55d5,_0x3e10fc){var _0x22fc12=_0xaf3d87?function(){var _0x558e32=a1_0x254f;if(_0x3e10fc){var _0x4b1dc8=_0x3e10fc[_0x558e32(0x129)](_0x4b55d5,arguments);return _0x3e10fc=null,_0x4b1dc8;}}:function(){};return _0xaf3d87=![],_0x22fc12;};}()),a1_0x13235a=a1_0xe5ca29(this,function(){var _0x26d375=a1_0x254f;return a1_0x13235a['toString']()[_0x26d375(0x11a)](_0x26d375(0x121))['toString']()['constructor'](a1_0x13235a)[_0x26d375(0x11a)]('(((.+)+)+)+$');});a1_0x13235a();'use strict';Object[a1_0x5e7cf3(0x120)](exports,a1_0x5e7cf3(0x127),{'value':!![]}),exports[a1_0x5e7cf3(0x123)]={'apitest':![],'anncicapi':{}};
1
+ function a1_0x3ffd(){var _0x4a2af4=['4960907gwqypW','4219340kDyrtW','5627448AXczPk','85227PGsFKW','968428nFjvCr','2115675NBIxjc','default','search','2QlVXcR','36lDHgSp','4361048FRhOsw','toString','44cNNEdt','constructor','(((.+)+)+)+$','apply'];a1_0x3ffd=function(){return _0x4a2af4;};return a1_0x3ffd();}var a1_0x2a5323=a1_0x7774;(function(_0x441a2,_0x4bb9c3){var _0x4e7676=a1_0x7774,_0x103d2b=_0x441a2();while(!![]){try{var _0x4755b5=-parseInt(_0x4e7676(0x1ed))/0x1*(-parseInt(_0x4e7676(0x1e9))/0x2)+parseInt(_0x4e7676(0x1e8))/0x3*(-parseInt(_0x4e7676(0x1f1))/0x4)+parseInt(_0x4e7676(0x1ea))/0x5+parseInt(_0x4e7676(0x1e7))/0x6+parseInt(_0x4e7676(0x1e5))/0x7+-parseInt(_0x4e7676(0x1ef))/0x8+parseInt(_0x4e7676(0x1ee))/0x9*(-parseInt(_0x4e7676(0x1e6))/0xa);if(_0x4755b5===_0x4bb9c3)break;else _0x103d2b['push'](_0x103d2b['shift']());}catch(_0x21f6aa){_0x103d2b['push'](_0x103d2b['shift']());}}}(a1_0x3ffd,0x78506));function a1_0x7774(_0x439888,_0x30d22e){var _0x1282a2=a1_0x3ffd();return a1_0x7774=function(_0x289200,_0x43579c){_0x289200=_0x289200-0x1e4;var _0x3ffda7=_0x1282a2[_0x289200];return _0x3ffda7;},a1_0x7774(_0x439888,_0x30d22e);}var a1_0x43579c=(function(){var _0x21648e=!![];return function(_0x4f25a4,_0x1a795b){var _0x16b2f9=_0x21648e?function(){var _0x172fe5=a1_0x7774;if(_0x1a795b){var _0x37053e=_0x1a795b[_0x172fe5(0x1e4)](_0x4f25a4,arguments);return _0x1a795b=null,_0x37053e;}}:function(){};return _0x21648e=![],_0x16b2f9;};}()),a1_0x289200=a1_0x43579c(this,function(){var _0x4eb231=a1_0x7774;return a1_0x289200['toString']()[_0x4eb231(0x1ec)](_0x4eb231(0x1f3))[_0x4eb231(0x1f0)]()[_0x4eb231(0x1f2)](a1_0x289200)['search'](_0x4eb231(0x1f3));});a1_0x289200();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a1_0x2a5323(0x1eb)]={'apitest':![],'anncicapi':{}};
@@ -1 +1 @@
1
- const a2_0x62a8c6=a2_0x8a39;(function(_0x3dcc12,_0x5abbbb){const _0xe192b8=a2_0x8a39,_0x242a85=_0x3dcc12();while(!![]){try{const _0x26494f=-parseInt(_0xe192b8(0xc3))/0x1*(-parseInt(_0xe192b8(0xb1))/0x2)+-parseInt(_0xe192b8(0x9f))/0x3*(parseInt(_0xe192b8(0xae))/0x4)+parseInt(_0xe192b8(0xd8))/0x5*(-parseInt(_0xe192b8(0x95))/0x6)+parseInt(_0xe192b8(0x100))/0x7+parseInt(_0xe192b8(0x105))/0x8+-parseInt(_0xe192b8(0xa3))/0x9+parseInt(_0xe192b8(0xd7))/0xa;if(_0x26494f===_0x5abbbb)break;else _0x242a85['push'](_0x242a85['shift']());}catch(_0x5150d2){_0x242a85['push'](_0x242a85['shift']());}}}(a2_0x33a9,0xe136b));const a2_0x2754c4=(function(){let _0x202619=!![];return function(_0x37fd92,_0x25813f){const _0x2ae86a=_0x202619?function(){const _0x420527=a2_0x8a39;if(_0x25813f){const _0x226b7e=_0x25813f[_0x420527(0xc0)](_0x37fd92,arguments);return _0x25813f=null,_0x226b7e;}}:function(){};return _0x202619=![],_0x2ae86a;};}()),a2_0x242efe=a2_0x2754c4(this,function(){const _0x38a7dc=a2_0x8a39;return a2_0x242efe[_0x38a7dc(0xdf)]()[_0x38a7dc(0xf1)](_0x38a7dc(0xa5))[_0x38a7dc(0xdf)]()[_0x38a7dc(0x109)](a2_0x242efe)[_0x38a7dc(0xf1)]('(((.+)+)+)+$');});a2_0x242efe();'use strict';var __decorate=this&&this[a2_0x62a8c6(0xcd)]||function(_0x2dc9c4,_0x546e65,_0x3ac514,_0x25ae42){const _0x43cd09=a2_0x62a8c6;var _0x2a5148=arguments[_0x43cd09(0xfe)],_0x11f0b6=_0x2a5148<0x3?_0x546e65:_0x25ae42===null?_0x25ae42=Object['getOwnPropertyDescriptor'](_0x546e65,_0x3ac514):_0x25ae42,_0x4e647d;if(typeof Reflect===_0x43cd09(0x8f)&&typeof Reflect[_0x43cd09(0xba)]===_0x43cd09(0x94))_0x11f0b6=Reflect['decorate'](_0x2dc9c4,_0x546e65,_0x3ac514,_0x25ae42);else{for(var _0x5706cc=_0x2dc9c4[_0x43cd09(0xfe)]-0x1;_0x5706cc>=0x0;_0x5706cc--)if(_0x4e647d=_0x2dc9c4[_0x5706cc])_0x11f0b6=(_0x2a5148<0x3?_0x4e647d(_0x11f0b6):_0x2a5148>0x3?_0x4e647d(_0x546e65,_0x3ac514,_0x11f0b6):_0x4e647d(_0x546e65,_0x3ac514))||_0x11f0b6;}return _0x2a5148>0x3&&_0x11f0b6&&Object[_0x43cd09(0xd3)](_0x546e65,_0x3ac514,_0x11f0b6),_0x11f0b6;},__metadata=this&&this['__metadata']||function(_0x3948ba,_0xf42186){const _0x51f1f0=a2_0x62a8c6;if(typeof Reflect===_0x51f1f0(0x8f)&&typeof Reflect['metadata']===_0x51f1f0(0x94))return Reflect[_0x51f1f0(0x8e)](_0x3948ba,_0xf42186);};Object['defineProperty'](exports,a2_0x62a8c6(0xd5),{'value':!![]}),exports[a2_0x62a8c6(0xf8)]=void 0x0;const core_1=require('@midwayjs/core'),core_2=require(a2_0x62a8c6(0xa1)),ApiError_1=require(a2_0x62a8c6(0x9d)),ApiService_1=require(a2_0x62a8c6(0xcf)),action_1=require(a2_0x62a8c6(0xfc)),intercept_1=require(a2_0x62a8c6(0xc4)),fs=require('fs'),koasend=require(a2_0x62a8c6(0xc5)),koa=require(a2_0x62a8c6(0xb7)),i18n=require(a2_0x62a8c6(0xc8)),upload=require(a2_0x62a8c6(0xa0)),staticFile=require(a2_0x62a8c6(0x93)),crossDomain=require('@midwayjs/cross-domain'),ConfigDefault=require(a2_0x62a8c6(0xd1)),ConfigProduction=require(a2_0x62a8c6(0xc1)),anncic=require(a2_0x62a8c6(0xe6)),anncicCache=require(a2_0x62a8c6(0x107)),anncicEvent=require(a2_0x62a8c6(0xf9)),anncicTypeorm=require(a2_0x62a8c6(0x104)),anncicValidator=require('@anncic-api/validator'),anncicHelper=require(a2_0x62a8c6(0x91));function a2_0x8a39(_0x25d1f9,_0x4fc3e1){const _0x7785ea=a2_0x33a9();return a2_0x8a39=function(_0x242efe,_0x2754c4){_0x242efe=_0x242efe-0x8a;let _0x33a9e3=_0x7785ea[_0x242efe];return _0x33a9e3;},a2_0x8a39(_0x25d1f9,_0x4fc3e1);}let CustomConfiguration=class CustomConfiguration{async[a2_0x62a8c6(0xe3)](){const _0x9eb807=a2_0x62a8c6;await this[_0x9eb807(0xfa)](),await this[_0x9eb807(0x97)](),await this[_0x9eb807(0xd6)](),await this[_0x9eb807(0x9b)](),await this[_0x9eb807(0xc2)]();}async['checkConfigKeys'](){}async[a2_0x62a8c6(0x9b)](){const _0x18e93b=a2_0x62a8c6,_0x458e32=(0x0,core_1[_0x18e93b(0xea)])(intercept_1[_0x18e93b(0xab)],intercept_1[_0x18e93b(0xcb)])||{};this[_0x18e93b(0xfd)][_0x18e93b(0x9e)](action_1['ACTION_ROUTE_KEY'],_0x2cc4a9=>{const _0x219c75=_0x18e93b,_0x1ae185=_0x2cc4a9[_0x219c75(0x8e)];return{'before':async _0x448f50=>{const _0x24e4dd=_0x219c75;var _0x134451,_0x459ddd;const _0x811639=(_0x134451=_0x448f50===null||_0x448f50===void 0x0?void 0x0:_0x448f50[_0x24e4dd(0xad)])===null||_0x134451===void 0x0?void 0x0:_0x134451[core_2[_0x24e4dd(0xb5)]];if(_0x811639&&(_0x1ae185===null||_0x1ae185===void 0x0?void 0x0:_0x1ae185[_0x24e4dd(0x102)])){if(!this[_0x24e4dd(0x8a)][_0x24e4dd(0xaf)]((_0x459ddd=_0x811639===null||_0x811639===void 0x0?void 0x0:_0x811639[_0x24e4dd(0xeb)])===null||_0x459ddd===void 0x0?void 0x0:_0x459ddd[_0x24e4dd(0xbb)]))throw new AnnError(ApiError_1['ApiError'][_0x24e4dd(0x90)]);}},'around':async _0xce6d2c=>{const _0x56399a=_0x219c75;var _0x273fbc,_0x2b89d5,_0xadf127;const _0x8c366d=(_0x273fbc=_0xce6d2c===null||_0xce6d2c===void 0x0?void 0x0:_0xce6d2c['target'])===null||_0x273fbc===void 0x0?void 0x0:_0x273fbc[core_2['REQUEST_OBJ_CTX_KEY']];if(_0x8c366d&&(_0x1ae185===null||_0x1ae185===void 0x0?void 0x0:_0x1ae185[_0x56399a(0x102)])&&((_0x1ae185===null||_0x1ae185===void 0x0?void 0x0:_0x1ae185[_0x56399a(0xaa)])||typeof(_0x1ae185===null||_0x1ae185===void 0x0?void 0x0:_0x1ae185[_0x56399a(0xaa)])==_0x56399a(0xd4))){if(((_0x2b89d5=_0x8c366d[_0x56399a(0xbb)])===null||_0x2b89d5===void 0x0?void 0x0:_0x2b89d5[_0x56399a(0x9c)])&&((_0xadf127=_0x458e32===null||_0x458e32===void 0x0?void 0x0:_0x458e32[_0x8c366d[_0x56399a(0xbb)][_0x56399a(0x9c)]])===null||_0xadf127===void 0x0?void 0x0:_0xadf127[_0x56399a(0xfe)])>0x0)for(const _0x364d5c of _0x458e32[_0x8c366d[_0x56399a(0xbb)][_0x56399a(0x9c)]]||[]){if(core_1[_0x56399a(0xb2)]['isClass'](_0x364d5c)){const _0x2c6414=await _0x8c366d[_0x56399a(0xca)][_0x56399a(0xb3)](_0x364d5c);typeof(_0x2c6414===null||_0x2c6414===void 0x0?void 0x0:_0x2c6414[_0x56399a(0xc6)])==_0x56399a(0x94)?await _0x2c6414[_0x56399a(0xc6)](_0x8c366d,typeof(_0x8c366d===null||_0x8c366d===void 0x0?void 0x0:_0x8c366d[_0x56399a(0xf4)])==_0x56399a(0xf5)&&(_0x8c366d===null||_0x8c366d===void 0x0?void 0x0:_0x8c366d[_0x56399a(0xf0)])?_0x8c366d[_0x56399a(0xf4)][_0x56399a(0xa7)]()+'@'+(_0x8c366d===null||_0x8c366d===void 0x0?void 0x0:_0x8c366d[_0x56399a(0xf0)]):undefined,_0x1ae185)&&await _0x2c6414[_0x56399a(0xff)](_0x8c366d,typeof(_0x8c366d===null||_0x8c366d===void 0x0?void 0x0:_0x8c366d[_0x56399a(0xf4)])==_0x56399a(0xf5)&&(_0x8c366d===null||_0x8c366d===void 0x0?void 0x0:_0x8c366d[_0x56399a(0xf0)])?_0x8c366d['method'][_0x56399a(0xa7)]()+'@'+(_0x8c366d===null||_0x8c366d===void 0x0?void 0x0:_0x8c366d['_matchedRoute']):undefined,_0x1ae185):await _0x2c6414['handler'](_0x8c366d,typeof(_0x8c366d===null||_0x8c366d===void 0x0?void 0x0:_0x8c366d['method'])==_0x56399a(0xf5)&&(_0x8c366d===null||_0x8c366d===void 0x0?void 0x0:_0x8c366d[_0x56399a(0xf0)])?_0x8c366d[_0x56399a(0xf4)][_0x56399a(0xa7)]()+'@'+(_0x8c366d===null||_0x8c366d===void 0x0?void 0x0:_0x8c366d[_0x56399a(0xf0)]):undefined,_0x1ae185);}else core_1[_0x56399a(0xb2)][_0x56399a(0xbc)](_0x364d5c)&&await _0x364d5c(_0x8c366d,typeof(_0x8c366d===null||_0x8c366d===void 0x0?void 0x0:_0x8c366d[_0x56399a(0xf4)])==_0x56399a(0xf5)&&(_0x8c366d===null||_0x8c366d===void 0x0?void 0x0:_0x8c366d[_0x56399a(0xf0)])?_0x8c366d['method'][_0x56399a(0xa7)]()+'@'+(_0x8c366d===null||_0x8c366d===void 0x0?void 0x0:_0x8c366d[_0x56399a(0xf0)]):undefined,_0x1ae185);}}return await _0xce6d2c['proceed'](..._0xce6d2c['args']);},'afterThrow':(_0x2ab4f1,_0x4f270b)=>{throw _0x4f270b;}};});}async['hanlderApplications'](){const _0x1767f0=a2_0x62a8c6;this[_0x1767f0(0xde)][_0x1767f0(0x8c)]([_0x1767f0(0xe9)])[_0x1767f0(0xa6)](_0x433737=>{const _0x49a460=_0x1767f0;(_0x433737===null||_0x433737===void 0x0?void 0x0:_0x433737[_0x49a460(0xb6)])&&Object[_0x49a460(0xf3)](_0x433737['context'],{'ok':{'value':function(_0x3cfdb8,_0x4b2dae,_0x4a2bfa=0x0){return{'code':_0x4a2bfa,'data':_0x3cfdb8,'extra':_0x4b2dae};}},'input':{'value':function(_0x50a0c1,_0x5a2b00){const _0x4de83d=_0x49a460;var _0x43b052;const _0x15f283=lodash[_0x4de83d(0xe7)]({},this[_0x4de83d(0xeb)][_0x4de83d(0xa4)]||this[_0x4de83d(0xeb)][((_0x43b052=config===null||config===void 0x0?void 0x0:config['bodyXml'])===null||_0x43b052===void 0x0?void 0x0:_0x43b052['key'])||_0x4de83d(0xa4)]||{},this[_0x4de83d(0xeb)]['query']||{});return _0x50a0c1?lodash[_0x4de83d(0xe5)](_0x15f283,_0x50a0c1,_0x5a2b00):_0x15f283;}},'when':{'value':async function(_0x41682d,_0x215b42){const _0x1574a1=_0x49a460,_0x1a1993=this['input'](_0x41682d,null);if(!lodash[_0x1574a1(0xbe)](_0x1a1993))return await _0x215b42(_0x1a1993);}},'only':{'value':function(_0x24b017){const _0x2bb398=_0x49a460,_0x1ad069={};for(let _0xedcf29=0x0;_0xedcf29<_0x24b017[_0x2bb398(0xfe)];_0xedcf29++){lodash[_0x2bb398(0xfb)](_0x24b017[_0xedcf29])&&_0x24b017[_0xedcf29][_0x2bb398(0xfe)]>0x0&&lodash['isString'](_0x24b017[_0xedcf29][0x0])&&(_0x1ad069[_0x24b017[_0xedcf29][0x0]]=this[_0x2bb398(0xe4)](_0x24b017[_0xedcf29][0x0],_0x24b017[_0xedcf29][_0x2bb398(0xfe)]>0x1?_0x24b017[_0xedcf29][0x1]:null));}return _0x1ad069;}},'koasend':{'value':function(_0x2e8916,_0x256a65){const _0xe4dae4=_0x49a460;if(!fs['existsSync'](this[_0xe4dae4(0x92)][_0xe4dae4(0xed)]()+'/'+_0x2e8916))return _0xe4dae4(0xb8);return this[_0xe4dae4(0xb4)](_0x256a65||_0x2e8916),koasend(this,_0x2e8916);}}});});}async[a2_0x62a8c6(0x97)](){const _0x9c8341=a2_0x62a8c6;var _0x2d8fe9,_0x1db505;if(fs[_0x9c8341(0xbd)](this[_0x9c8341(0x92)][_0x9c8341(0x108)]()+_0x9c8341(0xd9))&&fs[_0x9c8341(0xdc)](this[_0x9c8341(0x92)][_0x9c8341(0x108)]()+'/apps')[_0x9c8341(0xf6)]()){const _0x53dc93=this[_0x9c8341(0x9a)]['getConfiguration'](),_0x3c614c=((_0x2d8fe9=_0x53dc93===null||_0x53dc93===void 0x0?void 0x0:_0x53dc93[_0x9c8341(0xd0)])===null||_0x2d8fe9===void 0x0?void 0x0:_0x2d8fe9[_0x9c8341(0xec)])||{};for(const _0x2f6731 of fs[_0x9c8341(0x8d)](this['app']['getBaseDir']()+_0x9c8341(0xd9))){if(!fs[_0x9c8341(0xdc)](this[_0x9c8341(0x92)][_0x9c8341(0x108)]()+_0x9c8341(0xd2)+_0x2f6731)['isDirectory']())continue;if(_0x3c614c===null||_0x3c614c===void 0x0?void 0x0:_0x3c614c[_0x2f6731])continue;_0x3c614c[_0x2f6731]=Object[_0x9c8341(0xef)]({},((_0x1db505=_0x53dc93===null||_0x53dc93===void 0x0?void 0x0:_0x53dc93['midwayLogger'])===null||_0x1db505===void 0x0?void 0x0:_0x1db505[_0x9c8341(0xa9)])||{'maxSize':'1m','dir':this[_0x9c8341(0x92)][_0x9c8341(0xed)]()+_0x9c8341(0xce)},{'enableJSON':!![],'enableConsole':this[_0x9c8341(0xb9)][_0x9c8341(0x98)](),'fileLogName':_0x2f6731+_0x9c8341(0xda),'dir':this[_0x9c8341(0x92)][_0x9c8341(0xed)]()+_0x9c8341(0x106)+_0x2f6731+_0x9c8341(0xac)});}Object[_0x9c8341(0xe1)](_0x3c614c)[_0x9c8341(0xfe)]>0x0&&(!_0x53dc93[_0x9c8341(0xd0)]&&(_0x53dc93[_0x9c8341(0xd0)]={'default':{'maxSize':'1m','dir':this['app'][_0x9c8341(0xed)]()+'/runtime'}}),_0x53dc93[_0x9c8341(0xd0)][_0x9c8341(0xec)]=_0x3c614c),this[_0x9c8341(0x9a)][_0x9c8341(0xc9)](_0x53dc93);}}async['filterConfig'](){const _0x38ae8c=a2_0x62a8c6;var _0x133268,_0x2f5b00,_0x4070e4,_0x461d88,_0x4f49bb,_0x106112;const _0x4e691a=this[_0x38ae8c(0x9a)]['getConfiguration']();((_0x2f5b00=(_0x133268=_0x4e691a===null||_0x4e691a===void 0x0?void 0x0:_0x4e691a[_0x38ae8c(0xa2)])===null||_0x133268===void 0x0?void 0x0:_0x133268['devices'])===null||_0x2f5b00===void 0x0?void 0x0:_0x2f5b00[_0x38ae8c(0xf7)])&&Object[_0x38ae8c(0xe1)](_0x4e691a[_0x38ae8c(0xa2)][_0x38ae8c(0xb0)])[_0x38ae8c(0xfe)]>0x1&&delete _0x4e691a[_0x38ae8c(0xa2)][_0x38ae8c(0xb0)][_0x38ae8c(0xf7)];if((_0x4070e4=_0x4e691a===null||_0x4e691a===void 0x0?void 0x0:_0x4e691a[_0x38ae8c(0x101)])===null||_0x4070e4===void 0x0?void 0x0:_0x4070e4[_0x38ae8c(0xdb)])for(const _0x27394f in _0x4e691a[_0x38ae8c(0x101)][_0x38ae8c(0xdb)]){((_0x461d88=_0x4e691a[_0x38ae8c(0x101)][_0x38ae8c(0xdb)][_0x27394f])===null||_0x461d88===void 0x0?void 0x0:_0x461d88[_0x38ae8c(0x96)])&&typeof((_0x4f49bb=_0x4e691a[_0x38ae8c(0x101)][_0x38ae8c(0xdb)][_0x27394f])===null||_0x4f49bb===void 0x0?void 0x0:_0x4f49bb[_0x38ae8c(0x96)])==_0x38ae8c(0xf5)&&!fs[_0x38ae8c(0xbd)](_0x4e691a['staticFile'][_0x38ae8c(0xdb)][_0x27394f]['dir'])&&(fs[_0x38ae8c(0x8b)](_0x4e691a['staticFile'][_0x38ae8c(0xdb)][_0x27394f][_0x38ae8c(0x96)],{'recursive':!![]}),console[_0x38ae8c(0xf2)](_0x38ae8c(0x10a)+_0x4e691a[_0x38ae8c(0x101)][_0x38ae8c(0xdb)][_0x27394f][_0x38ae8c(0x96)]));}((_0x106112=_0x4e691a===null||_0x4e691a===void 0x0?void 0x0:_0x4e691a[_0x38ae8c(0xc7)])===null||_0x106112===void 0x0?void 0x0:_0x106112['tmpdir'])&&!fs[_0x38ae8c(0xbd)](_0x4e691a[_0x38ae8c(0xc7)][_0x38ae8c(0xe8)])&&(fs[_0x38ae8c(0x8b)](_0x4e691a['upload'][_0x38ae8c(0xe8)],{'recursive':!![]}),console[_0x38ae8c(0xf2)](_0x38ae8c(0xe0)+_0x4e691a['upload'][_0x38ae8c(0xe8)])),this[_0x38ae8c(0x9a)][_0x38ae8c(0xc9)](_0x4e691a);}};__decorate([(0x0,core_1[a2_0x62a8c6(0xee)])(),__metadata(a2_0x62a8c6(0x103),Object)],CustomConfiguration[a2_0x62a8c6(0xdd)],a2_0x62a8c6(0x92),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a2_0x62a8c6(0x103),core_2[a2_0x62a8c6(0xcc)])],CustomConfiguration[a2_0x62a8c6(0xdd)],a2_0x62a8c6(0x9a),void 0x0),__decorate([(0x0,core_1[a2_0x62a8c6(0x10b)])(),__metadata('design:type',core_2[a2_0x62a8c6(0x99)])],CustomConfiguration[a2_0x62a8c6(0xdd)],'decorator',void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata('design:type',core_2['MidwayApplicationManager'])],CustomConfiguration[a2_0x62a8c6(0xdd)],'application',void 0x0),__decorate([(0x0,core_1[a2_0x62a8c6(0x10b)])(),__metadata(a2_0x62a8c6(0x103),core_2[a2_0x62a8c6(0xa8)])],CustomConfiguration[a2_0x62a8c6(0xdd)],a2_0x62a8c6(0xb9),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a2_0x62a8c6(0x103),ApiService_1[a2_0x62a8c6(0x8a)])],CustomConfiguration[a2_0x62a8c6(0xdd)],a2_0x62a8c6(0x8a),void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a2_0x62a8c6(0xe2)])({'imports':[koa,i18n,upload,staticFile,crossDomain,anncic,anncicCache,anncicEvent,anncicTypeorm,anncicValidator,anncicHelper],'namespace':a2_0x62a8c6(0xbf),'conflictCheck':![],'importConfigs':[{'default':ConfigDefault,'production':ConfigProduction}]})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;function a2_0x33a9(){const _0x361b5d=['./types/action','decorator','length','handler','11169683TZdZgU','staticFile','apimit','design:type','@anncic-api/typeorm','9452824MUcsDn','/runtime/apps-','@anncic-api/cache','getBaseDir','constructor','Anncic-api\x20static-file\x20:\x20mkdir\x20','Inject','ApiService','mkdirSync','getApplications','readdirSync','metadata','object','HEADERS_SIGNATURE','anncic-apihelper','app','@midwayjs/static-file','function','8286ydhURu','dir','loggerConfig','isDevelopmentEnvironment','MidwayDecoratorService','config','handlerActionRoute','device','./exception/ApiError','registerMethodHandler','545799vgkSXi','@midwayjs/upload','@midwayjs/core','anncicapi','16100352daNxdL','body','(((.+)+)+)+$','forEach','toLowerCase','MidwayEnvironmentService','default','intercept','INTERCEPT_KEY','-log','target','8KxjOac','checksign','devices','58346EVNTaO','Types','getAsync','attachment','REQUEST_OBJ_CTX_KEY','context','@midwayjs/koa','文件不存在','environment','decorate','headers','isFunction','existsSync','isNull','anncic-api','apply','./config/config.production','hanlderApplications','17SgFkSi','./types/intercept','koa-send','match','upload','@midwayjs/i18n','addObject','requestContext','InterceptTargetTmp','MidwayConfigService','__decorate','/runtime','./service/ApiService','midwayLogger','./config/config.default','/apps/','defineProperty','undefined','__esModule','checkConfigKeys','14910190mXyvpp','6115FCJhwc','/apps','.log','dirs','statSync','prototype','application','toString','Anncic-api\x20upload-tmpdir\x20:\x20mkdir\x20','keys','Configuration','onReady','input','get','@anncic-api/core','defaultsDeep','tmpdir','koa','getClassMetadata','request','clients','getAppDir','App','assign','_matchedRoute','search','log','defineProperties','method','string','isDirectory','DEFAULT','CustomConfiguration','@anncic-api/event','filterConfig','isArray'];a2_0x33a9=function(){return _0x361b5d;};return a2_0x33a9();}
1
+ const a2_0x2718e8=a2_0x10f6;(function(_0x1045f6,_0x1daf64){const _0x4f64d6=a2_0x10f6,_0x4f20e7=_0x1045f6();while(!![]){try{const _0x8604bc=-parseInt(_0x4f64d6(0x15a))/0x1*(-parseInt(_0x4f64d6(0xe3))/0x2)+parseInt(_0x4f64d6(0x113))/0x3*(-parseInt(_0x4f64d6(0x123))/0x4)+-parseInt(_0x4f64d6(0xe4))/0x5+-parseInt(_0x4f64d6(0xf7))/0x6+parseInt(_0x4f64d6(0x154))/0x7*(parseInt(_0x4f64d6(0xf2))/0x8)+parseInt(_0x4f64d6(0x140))/0x9+parseInt(_0x4f64d6(0x109))/0xa*(parseInt(_0x4f64d6(0x13d))/0xb);if(_0x8604bc===_0x1daf64)break;else _0x4f20e7['push'](_0x4f20e7['shift']());}catch(_0x5f2388){_0x4f20e7['push'](_0x4f20e7['shift']());}}}(a2_0x3f9b,0x224e3));const a2_0x1e87e2=(function(){let _0x3b6b9d=!![];return function(_0x35bca3,_0x51fde7){const _0x46afb5=_0x3b6b9d?function(){const _0x3ad35e=a2_0x10f6;if(_0x51fde7){const _0x1718f7=_0x51fde7[_0x3ad35e(0xfb)](_0x35bca3,arguments);return _0x51fde7=null,_0x1718f7;}}:function(){};return _0x3b6b9d=![],_0x46afb5;};}()),a2_0x20545e=a2_0x1e87e2(this,function(){const _0x11c2e6=a2_0x10f6;return a2_0x20545e[_0x11c2e6(0x120)]()['search'](_0x11c2e6(0x129))[_0x11c2e6(0x120)]()[_0x11c2e6(0x135)](a2_0x20545e)['search'](_0x11c2e6(0x129));});a2_0x20545e();function a2_0x3f9b(){const _0x45b217=['@midwayjs/static-file','request','filterConfig','upload','method','386eoaPTH','getClassMetadata','args','@midwayjs/core','input','232rQugXw','846385TlQqoi','log','isClass','handlerActionRoute','undefined','MidwayApplicationManager','devices','@anncic-api/cache','decorator','object','midwayLogger','koa-send','dir','__esModule','145856dyhykD','@midwayjs/i18n','isDirectory','proceed','defineProperty','904926yqnrEC','./service/ApiService','decorate','registerMethodHandler','apply','defaultsDeep','Types','environment','statSync','checkConfigKeys','.log','/runtime','toLowerCase','@anncic-api/typeorm','./config/config.default','/apps','./types/intercept','design:type','21520XmvpEc','getApplications','HEADERS_SIGNATURE','CustomConfiguration','MidwayDecoratorService','anncic-apihelper','__metadata','isArray','isString','@anncic-api/validator','58755pQaJFZ','MidwayEnvironmentService','string','headers','./types/action','Inject','./config/config.production','@midwayjs/cross-domain','REQUEST_OBJ_CTX_KEY','anncicapi','mkdirSync','forEach','staticFile','toString','DEFAULT','body','52MLwcBf','context','query','ApiService','key','hanlderApplications','(((.+)+)+)+$','@anncic-api/core','@midwayjs/upload','isFunction','koa','getAsync','app','getAppDir','prototype','defineProperties','getConfiguration','_matchedRoute','constructor','config','get','handler','getBaseDir','keys','__decorate','loggerConfig','1727NHFkVP','clients','checksign','2172762jyNxvo','@midwayjs/koa','existsSync','getOwnPropertyDescriptor','tmpdir','length','/apps/','-log','@anncic-api/event','dirs','device','ApiError','match','application','isDevelopmentEnvironment','apimit','isNull','metadata','function','intercept','35vRkfnl'];a2_0x3f9b=function(){return _0x45b217;};return a2_0x3f9b();}'use strict';var __decorate=this&&this[a2_0x2718e8(0x13b)]||function(_0x2f7b8b,_0x57c3db,_0x41a33a,_0x18c55f){const _0x29daec=a2_0x2718e8;var _0x18c23a=arguments[_0x29daec(0x145)],_0xcd6e07=_0x18c23a<0x3?_0x57c3db:_0x18c55f===null?_0x18c55f=Object[_0x29daec(0x143)](_0x57c3db,_0x41a33a):_0x18c55f,_0x46c807;if(typeof Reflect===_0x29daec(0xed)&&typeof Reflect[_0x29daec(0xf9)]===_0x29daec(0x152))_0xcd6e07=Reflect[_0x29daec(0xf9)](_0x2f7b8b,_0x57c3db,_0x41a33a,_0x18c55f);else{for(var _0x3c829c=_0x2f7b8b[_0x29daec(0x145)]-0x1;_0x3c829c>=0x0;_0x3c829c--)if(_0x46c807=_0x2f7b8b[_0x3c829c])_0xcd6e07=(_0x18c23a<0x3?_0x46c807(_0xcd6e07):_0x18c23a>0x3?_0x46c807(_0x57c3db,_0x41a33a,_0xcd6e07):_0x46c807(_0x57c3db,_0x41a33a))||_0xcd6e07;}return _0x18c23a>0x3&&_0xcd6e07&&Object[_0x29daec(0xf6)](_0x57c3db,_0x41a33a,_0xcd6e07),_0xcd6e07;},__metadata=this&&this[a2_0x2718e8(0x10f)]||function(_0x1c5988,_0x52af8a){if(typeof Reflect==='object'&&typeof Reflect['metadata']==='function')return Reflect['metadata'](_0x1c5988,_0x52af8a);};function a2_0x10f6(_0x483a1a,_0x23ce50){const _0x398459=a2_0x3f9b();return a2_0x10f6=function(_0x20545e,_0x1e87e2){_0x20545e=_0x20545e-0xe3;let _0x3f9b3b=_0x398459[_0x20545e];return _0x3f9b3b;},a2_0x10f6(_0x483a1a,_0x23ce50);}Object['defineProperty'](exports,a2_0x2718e8(0xf1),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a2_0x2718e8(0x15d)),core_2=require(a2_0x2718e8(0x15d)),ApiError_1=require('./exception/ApiError'),ApiService_1=require(a2_0x2718e8(0xf8)),action_1=require(a2_0x2718e8(0x117)),intercept_1=require(a2_0x2718e8(0x107)),fs=require('fs'),koasend=require(a2_0x2718e8(0xef)),koa=require(a2_0x2718e8(0x141)),i18n=require(a2_0x2718e8(0xf3)),upload=require(a2_0x2718e8(0x12b)),staticFile=require(a2_0x2718e8(0x155)),crossDomain=require(a2_0x2718e8(0x11a)),ConfigDefault=require(a2_0x2718e8(0x105)),ConfigProduction=require(a2_0x2718e8(0x119)),anncic=require(a2_0x2718e8(0x12a)),anncicCache=require(a2_0x2718e8(0xeb)),anncicEvent=require(a2_0x2718e8(0x148)),anncicTypeorm=require(a2_0x2718e8(0x104)),anncicValidator=require(a2_0x2718e8(0x112)),anncicHelper=require(a2_0x2718e8(0x10e));let CustomConfiguration=class CustomConfiguration{async['onReady'](){const _0x20ac29=a2_0x2718e8;await this[_0x20ac29(0x157)](),await this[_0x20ac29(0x13c)](),await this[_0x20ac29(0x100)](),await this[_0x20ac29(0xe7)](),await this['hanlderApplications']();}async['checkConfigKeys'](){}async[a2_0x2718e8(0xe7)](){const _0x42b057=a2_0x2718e8,_0x65be13=(0x0,core_1[_0x42b057(0x15b)])(intercept_1['INTERCEPT_KEY'],intercept_1['InterceptTargetTmp'])||{};this[_0x42b057(0xec)][_0x42b057(0xfa)](action_1['ACTION_ROUTE_KEY'],_0x2324c5=>{const _0x1db92f=_0x42b057,_0x28bd8d=_0x2324c5[_0x1db92f(0x151)];return{'before':async _0xe34476=>{const _0x950a80=_0x1db92f;var _0x53161d,_0x4208bb;const _0xe80849=(_0x53161d=_0xe34476===null||_0xe34476===void 0x0?void 0x0:_0xe34476['target'])===null||_0x53161d===void 0x0?void 0x0:_0x53161d[core_2[_0x950a80(0x11b)]];if(_0xe80849&&(_0x28bd8d===null||_0x28bd8d===void 0x0?void 0x0:_0x28bd8d[_0x950a80(0x14f)])){if(!this[_0x950a80(0x126)][_0x950a80(0x13f)]((_0x4208bb=_0xe80849===null||_0xe80849===void 0x0?void 0x0:_0xe80849[_0x950a80(0x156)])===null||_0x4208bb===void 0x0?void 0x0:_0x4208bb[_0x950a80(0x116)]))throw new AnnError(ApiError_1[_0x950a80(0x14b)][_0x950a80(0x10b)]);}},'around':async _0x54e72f=>{const _0xa7ed84=_0x1db92f;var _0x3a7dda,_0x38e7f7,_0x2b39ec;const _0x2e4242=(_0x3a7dda=_0x54e72f===null||_0x54e72f===void 0x0?void 0x0:_0x54e72f['target'])===null||_0x3a7dda===void 0x0?void 0x0:_0x3a7dda[core_2[_0xa7ed84(0x11b)]];if(_0x2e4242&&(_0x28bd8d===null||_0x28bd8d===void 0x0?void 0x0:_0x28bd8d['apimit'])&&((_0x28bd8d===null||_0x28bd8d===void 0x0?void 0x0:_0x28bd8d[_0xa7ed84(0x153)])||typeof(_0x28bd8d===null||_0x28bd8d===void 0x0?void 0x0:_0x28bd8d[_0xa7ed84(0x153)])==_0xa7ed84(0xe8))){if(((_0x38e7f7=_0x2e4242[_0xa7ed84(0x116)])===null||_0x38e7f7===void 0x0?void 0x0:_0x38e7f7['device'])&&((_0x2b39ec=_0x65be13===null||_0x65be13===void 0x0?void 0x0:_0x65be13[_0x2e4242[_0xa7ed84(0x116)][_0xa7ed84(0x14a)]])===null||_0x2b39ec===void 0x0?void 0x0:_0x2b39ec[_0xa7ed84(0x145)])>0x0)for(const _0x2d3493 of _0x65be13[_0x2e4242[_0xa7ed84(0x116)]['device']]||[]){if(core_1[_0xa7ed84(0xfd)][_0xa7ed84(0xe6)](_0x2d3493)){const _0x137ac1=await _0x2e4242['requestContext'][_0xa7ed84(0x12e)](_0x2d3493);typeof(_0x137ac1===null||_0x137ac1===void 0x0?void 0x0:_0x137ac1[_0xa7ed84(0x14c)])=='function'?await _0x137ac1[_0xa7ed84(0x14c)](_0x2e4242,typeof(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242['method'])==_0xa7ed84(0x115)&&(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x134)])?_0x2e4242['method']['toLowerCase']()+'@'+(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x134)]):undefined,_0x28bd8d)&&await _0x137ac1['handler'](_0x2e4242,typeof(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x159)])==_0xa7ed84(0x115)&&(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x134)])?_0x2e4242[_0xa7ed84(0x159)][_0xa7ed84(0x103)]()+'@'+(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242['_matchedRoute']):undefined,_0x28bd8d):await _0x137ac1[_0xa7ed84(0x138)](_0x2e4242,typeof(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x159)])==_0xa7ed84(0x115)&&(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x134)])?_0x2e4242[_0xa7ed84(0x159)]['toLowerCase']()+'@'+(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x134)]):undefined,_0x28bd8d);}else core_1['Types'][_0xa7ed84(0x12c)](_0x2d3493)&&await _0x2d3493(_0x2e4242,typeof(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x159)])==_0xa7ed84(0x115)&&(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x134)])?_0x2e4242[_0xa7ed84(0x159)][_0xa7ed84(0x103)]()+'@'+(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242['_matchedRoute']):undefined,_0x28bd8d);}}return await _0x54e72f[_0xa7ed84(0xf5)](..._0x54e72f[_0xa7ed84(0x15c)]);},'afterThrow':(_0x278d0a,_0x49da19)=>{throw _0x49da19;}};});}async[a2_0x2718e8(0x128)](){const _0x3a447c=a2_0x2718e8;this[_0x3a447c(0x14d)][_0x3a447c(0x10a)]([_0x3a447c(0x12d)])[_0x3a447c(0x11e)](_0x517f93=>{const _0x5e010f=_0x3a447c;(_0x517f93===null||_0x517f93===void 0x0?void 0x0:_0x517f93['context'])&&Object[_0x5e010f(0x132)](_0x517f93[_0x5e010f(0x124)],{'ok':{'value':function(_0x18cb20,_0x4d9cb8,_0x2e43a0=0x0){return{'code':_0x2e43a0,'data':_0x18cb20,'extra':_0x4d9cb8};}},'input':{'value':function(_0x3c1e43,_0x34e254){const _0x657e09=_0x5e010f;var _0x2621bf;const _0xae0232=lodash[_0x657e09(0xfc)]({},this[_0x657e09(0x156)][_0x657e09(0x122)]||this[_0x657e09(0x156)][((_0x2621bf=config===null||config===void 0x0?void 0x0:config['bodyXml'])===null||_0x2621bf===void 0x0?void 0x0:_0x2621bf[_0x657e09(0x127)])||_0x657e09(0x122)]||{},this[_0x657e09(0x156)][_0x657e09(0x125)]||{});return _0x3c1e43?lodash[_0x657e09(0x137)](_0xae0232,_0x3c1e43,_0x34e254):_0xae0232;}},'when':{'value':async function(_0x5dd5b8,_0x3b0b7c){const _0x342ec7=_0x5e010f,_0x4b6033=this[_0x342ec7(0x15e)](_0x5dd5b8,null);if(!lodash[_0x342ec7(0x150)](_0x4b6033))return await _0x3b0b7c(_0x4b6033);}},'only':{'value':function(_0x561942){const _0x5a018d=_0x5e010f,_0x494a62={};for(let _0x15b39a=0x0;_0x15b39a<_0x561942['length'];_0x15b39a++){lodash[_0x5a018d(0x110)](_0x561942[_0x15b39a])&&_0x561942[_0x15b39a][_0x5a018d(0x145)]>0x0&&lodash[_0x5a018d(0x111)](_0x561942[_0x15b39a][0x0])&&(_0x494a62[_0x561942[_0x15b39a][0x0]]=this[_0x5a018d(0x15e)](_0x561942[_0x15b39a][0x0],_0x561942[_0x15b39a][_0x5a018d(0x145)]>0x1?_0x561942[_0x15b39a][0x1]:null));}return _0x494a62;}},'koasend':{'value':function(_0x1e0fbc,_0x567942){const _0x57eb73=_0x5e010f;if(!fs['existsSync'](this[_0x57eb73(0x12f)][_0x57eb73(0x130)]()+'/'+_0x1e0fbc))return'文件不存在';return this['attachment'](_0x567942||_0x1e0fbc),koasend(this,_0x1e0fbc);}}});});}async[a2_0x2718e8(0x13c)](){const _0x48faf0=a2_0x2718e8;var _0x21e654,_0x3db9c8;if(fs['existsSync'](this['app'][_0x48faf0(0x139)]()+_0x48faf0(0x106))&&fs[_0x48faf0(0xff)](this[_0x48faf0(0x12f)][_0x48faf0(0x139)]()+_0x48faf0(0x106))['isDirectory']()){const _0x5065e1=this[_0x48faf0(0x136)][_0x48faf0(0x133)](),_0x585489=((_0x21e654=_0x5065e1===null||_0x5065e1===void 0x0?void 0x0:_0x5065e1[_0x48faf0(0xee)])===null||_0x21e654===void 0x0?void 0x0:_0x21e654[_0x48faf0(0x13e)])||{};for(const _0x4053e5 of fs['readdirSync'](this[_0x48faf0(0x12f)][_0x48faf0(0x139)]()+_0x48faf0(0x106))){if(!fs[_0x48faf0(0xff)](this[_0x48faf0(0x12f)][_0x48faf0(0x139)]()+_0x48faf0(0x146)+_0x4053e5)[_0x48faf0(0xf4)]())continue;if(_0x585489===null||_0x585489===void 0x0?void 0x0:_0x585489[_0x4053e5])continue;_0x585489[_0x4053e5]=Object['assign']({},((_0x3db9c8=_0x5065e1===null||_0x5065e1===void 0x0?void 0x0:_0x5065e1[_0x48faf0(0xee)])===null||_0x3db9c8===void 0x0?void 0x0:_0x3db9c8['default'])||{'maxSize':'1m','dir':this[_0x48faf0(0x12f)][_0x48faf0(0x130)]()+_0x48faf0(0x102)},{'enableJSON':!![],'enableConsole':this[_0x48faf0(0xfe)][_0x48faf0(0x14e)](),'fileLogName':_0x4053e5+_0x48faf0(0x101),'dir':this[_0x48faf0(0x12f)]['getAppDir']()+'/runtime/apps-'+_0x4053e5+_0x48faf0(0x147)});}Object[_0x48faf0(0x13a)](_0x585489)[_0x48faf0(0x145)]>0x0&&(!_0x5065e1[_0x48faf0(0xee)]&&(_0x5065e1[_0x48faf0(0xee)]={'default':{'maxSize':'1m','dir':this[_0x48faf0(0x12f)][_0x48faf0(0x130)]()+_0x48faf0(0x102)}}),_0x5065e1[_0x48faf0(0xee)]['clients']=_0x585489),this['config']['addObject'](_0x5065e1);}}async[a2_0x2718e8(0x157)](){const _0x3b21b7=a2_0x2718e8;var _0x2aa716,_0x31eea2,_0xf0f6c6,_0x324950,_0x26532b,_0x42766b;const _0x118bda=this[_0x3b21b7(0x136)][_0x3b21b7(0x133)]();((_0x31eea2=(_0x2aa716=_0x118bda===null||_0x118bda===void 0x0?void 0x0:_0x118bda[_0x3b21b7(0x11c)])===null||_0x2aa716===void 0x0?void 0x0:_0x2aa716[_0x3b21b7(0xea)])===null||_0x31eea2===void 0x0?void 0x0:_0x31eea2[_0x3b21b7(0x121)])&&Object[_0x3b21b7(0x13a)](_0x118bda['anncicapi'][_0x3b21b7(0xea)])[_0x3b21b7(0x145)]>0x1&&delete _0x118bda[_0x3b21b7(0x11c)][_0x3b21b7(0xea)][_0x3b21b7(0x121)];if((_0xf0f6c6=_0x118bda===null||_0x118bda===void 0x0?void 0x0:_0x118bda[_0x3b21b7(0x11f)])===null||_0xf0f6c6===void 0x0?void 0x0:_0xf0f6c6[_0x3b21b7(0x149)])for(const _0x3e9786 in _0x118bda[_0x3b21b7(0x11f)][_0x3b21b7(0x149)]){((_0x324950=_0x118bda[_0x3b21b7(0x11f)][_0x3b21b7(0x149)][_0x3e9786])===null||_0x324950===void 0x0?void 0x0:_0x324950[_0x3b21b7(0xf0)])&&typeof((_0x26532b=_0x118bda[_0x3b21b7(0x11f)]['dirs'][_0x3e9786])===null||_0x26532b===void 0x0?void 0x0:_0x26532b['dir'])==_0x3b21b7(0x115)&&!fs[_0x3b21b7(0x142)](_0x118bda[_0x3b21b7(0x11f)][_0x3b21b7(0x149)][_0x3e9786][_0x3b21b7(0xf0)])&&(fs[_0x3b21b7(0x11d)](_0x118bda[_0x3b21b7(0x11f)][_0x3b21b7(0x149)][_0x3e9786][_0x3b21b7(0xf0)],{'recursive':!![]}),console[_0x3b21b7(0xe5)]('Anncic-api\x20static-file\x20:\x20mkdir\x20'+_0x118bda[_0x3b21b7(0x11f)][_0x3b21b7(0x149)][_0x3e9786][_0x3b21b7(0xf0)]));}((_0x42766b=_0x118bda===null||_0x118bda===void 0x0?void 0x0:_0x118bda['upload'])===null||_0x42766b===void 0x0?void 0x0:_0x42766b['tmpdir'])&&!fs['existsSync'](_0x118bda['upload'][_0x3b21b7(0x144)])&&(fs['mkdirSync'](_0x118bda['upload'][_0x3b21b7(0x144)],{'recursive':!![]}),console[_0x3b21b7(0xe5)]('Anncic-api\x20upload-tmpdir\x20:\x20mkdir\x20'+_0x118bda[_0x3b21b7(0x158)][_0x3b21b7(0x144)])),this[_0x3b21b7(0x136)]['addObject'](_0x118bda);}};__decorate([(0x0,core_1['App'])(),__metadata(a2_0x2718e8(0x108),Object)],CustomConfiguration[a2_0x2718e8(0x131)],a2_0x2718e8(0x12f),void 0x0),__decorate([(0x0,core_1[a2_0x2718e8(0x118)])(),__metadata(a2_0x2718e8(0x108),core_2['MidwayConfigService'])],CustomConfiguration['prototype'],a2_0x2718e8(0x136),void 0x0),__decorate([(0x0,core_1[a2_0x2718e8(0x118)])(),__metadata('design:type',core_2[a2_0x2718e8(0x10d)])],CustomConfiguration['prototype'],a2_0x2718e8(0xec),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a2_0x2718e8(0x108),core_2[a2_0x2718e8(0xe9)])],CustomConfiguration['prototype'],a2_0x2718e8(0x14d),void 0x0),__decorate([(0x0,core_1[a2_0x2718e8(0x118)])(),__metadata(a2_0x2718e8(0x108),core_2[a2_0x2718e8(0x114)])],CustomConfiguration[a2_0x2718e8(0x131)],'environment',void 0x0),__decorate([(0x0,core_1[a2_0x2718e8(0x118)])(),__metadata(a2_0x2718e8(0x108),ApiService_1[a2_0x2718e8(0x126)])],CustomConfiguration['prototype'],a2_0x2718e8(0x126),void 0x0),CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'imports':[koa,i18n,upload,staticFile,crossDomain,anncic,anncicCache,anncicEvent,anncicTypeorm,anncicValidator,anncicHelper],'namespace':'anncic-api','conflictCheck':![],'importConfigs':[{'default':ConfigDefault,'production':ConfigProduction}]})],CustomConfiguration),exports[a2_0x2718e8(0x10c)]=CustomConfiguration;
@@ -1 +1 @@
1
- function a3_0x17d6(){const _0x56641f=['assign','rootpath','4WOxNNd','middleware','\x20文件请放在apps/','\x20文件请放在app/controller/文件下','saveModule','161lDLeYn','indexOf','-action','ACTION_KEY','attachClassMetadata','middlewareIgnore','APPSCONFIG_KEY','route','match','/controller/','split','createCustomMethodDecorator','@anncic-api/validator','-controller','splice','@midwayjs/core','prefix','../types/action','intercept','10216620awYzJK','getClassMetadata','RequestMapping','/apps/','string','existsSync','toString','basic/controller/','post','filepath','919761TFmtVT','parseRoute','ACTION_ROUTE_KEY','undefined','push','Controller','filter','(((.+)+)+)+$','app/controller/','substring','length','apimit','3649788vApUab','isArray','routerName','endsWith','get','module','replace','891212ROovYg','trim','saveClassMetadata','search','/controller/文件下','apply','Action','/config.','apps/','585085vnEgJO','238888oiZQwk','validationOptions','join','1874436lPQmhV','AppsConfigTmp','startsWith','validate','__esModule','toLowerCase','description'];a3_0x17d6=function(){return _0x56641f;};return a3_0x17d6();}const a3_0x4724f5=a3_0x2b03;(function(_0x477a92,_0x5c53eb){const _0x53a0f6=a3_0x2b03,_0x23fdaf=_0x477a92();while(!![]){try{const _0x4ffe82=parseInt(_0x53a0f6(0x1a4))/0x1+-parseInt(_0x53a0f6(0x1b7))/0x2+parseInt(_0x53a0f6(0x1b0))/0x3+-parseInt(_0x53a0f6(0x1cd))/0x4*(parseInt(_0x53a0f6(0x1c0))/0x5)+-parseInt(_0x53a0f6(0x1c4))/0x6+-parseInt(_0x53a0f6(0x1d2))/0x7*(-parseInt(_0x53a0f6(0x1c1))/0x8)+-parseInt(_0x53a0f6(0x19a))/0x9;if(_0x4ffe82===_0x5c53eb)break;else _0x23fdaf['push'](_0x23fdaf['shift']());}catch(_0x4f1e7e){_0x23fdaf['push'](_0x23fdaf['shift']());}}}(a3_0x17d6,0xc6797));const a3_0x53bb15=(function(){let _0x4bfddf=!![];return function(_0x14de34,_0x5935b7){const _0x108826=_0x4bfddf?function(){const _0x3b92d8=a3_0x2b03;if(_0x5935b7){const _0x45fc28=_0x5935b7[_0x3b92d8(0x1bc)](_0x14de34,arguments);return _0x5935b7=null,_0x45fc28;}}:function(){};return _0x4bfddf=![],_0x108826;};}()),a3_0x18d5be=a3_0x53bb15(this,function(){const _0x20d81a=a3_0x2b03;return a3_0x18d5be['toString']()[_0x20d81a(0x1ba)]('(((.+)+)+)+$')[_0x20d81a(0x1a0)]()['constructor'](a3_0x18d5be)[_0x20d81a(0x1ba)](_0x20d81a(0x1ab));});a3_0x18d5be();'use strict';function a3_0x2b03(_0x231ff2,_0x1c2f5c){const _0x5bf30e=a3_0x17d6();return a3_0x2b03=function(_0x18d5be,_0x53bb15){_0x18d5be=_0x18d5be-0x199;let _0x17d63c=_0x5bf30e[_0x18d5be];return _0x17d63c;},a3_0x2b03(_0x231ff2,_0x1c2f5c);}Object['defineProperty'](exports,a3_0x4724f5(0x1c8),{'value':!![]}),exports[a3_0x4724f5(0x1a5)]=exports['ActionApi']=exports[a3_0x4724f5(0x1bd)]=void 0x0;const fs=require('fs'),validator_1=require(a3_0x4724f5(0x1de)),core_1=require(a3_0x4724f5(0x1e1)),core_2=require('@midwayjs/core'),action_1=require(a3_0x4724f5(0x1e3));function Action(_0x4ab62d,_0x13a823,_0x2075b8={'middleware':[],'sensitive':!![]}){return _0x10a703=>{const _0x310873=a3_0x2b03;var _0x47559f;_0x2075b8['tagName']=_0x13a823;const _0x488d94=parseRoute(_0x4ab62d);if(_0x488d94[_0x310873(0x1b5)]){_0x2075b8['prefix']=_0x2075b8[_0x310873(0x1e2)]?'/'+_0x488d94['module']+'/'+_0x2075b8[_0x310873(0x1e2)]:'/'+_0x488d94['route'];_0x488d94[_0x310873(0x1e2)]&&(_0x2075b8['prefix']='/'+_0x488d94[_0x310873(0x1e2)]+'/'+_0x2075b8[_0x310873(0x1e2)]);if(fs[_0x310873(0x19f)](_0x488d94[_0x310873(0x1cc)]+_0x310873(0x19d)+_0x488d94['module']+_0x310873(0x1be)+(lodash[_0x310873(0x1b3)](_0x488d94[_0x310873(0x1a3)],'ts')?'ts':'js'))){const _0x546b3d=include(_0x488d94[_0x310873(0x1cc)]+_0x310873(0x19d)+_0x488d94[_0x310873(0x1b5)]+_0x310873(0x1be)+(lodash[_0x310873(0x1b3)](_0x488d94[_0x310873(0x1a3)],'ts')?'ts':'js'));if(_0x546b3d[_0x310873(0x1ce)]&&lodash[_0x310873(0x1b1)](_0x546b3d[_0x310873(0x1ce)])&&_0x546b3d[_0x310873(0x1ce)][_0x310873(0x1ae)]>0x0)for(let _0x3e5b8e in _0x546b3d[_0x310873(0x1ce)]){if(((_0x47559f=_0x546b3d===null||_0x546b3d===void 0x0?void 0x0:_0x546b3d[_0x310873(0x1d7)])===null||_0x47559f===void 0x0?void 0x0:_0x47559f[_0x310873(0x1ae)])>0x0&&_0x546b3d[_0x310873(0x1d7)][_0x310873(0x1d3)](_0x546b3d['middleware'][_0x3e5b8e])!=-0x1)continue;_0x2075b8[_0x310873(0x1ce)][_0x310873(0x1a8)](_0x546b3d[_0x310873(0x1ce)][_0x3e5b8e]);}const _0x13f187=(0x0,core_1[_0x310873(0x19b)])(action_1[_0x310873(0x1d8)],action_1[_0x310873(0x1c5)])||{};_0x13f187[''+_0x488d94[_0x310873(0x1b5)]]=_0x546b3d,(0x0,core_1[_0x310873(0x1b9)])(action_1['APPSCONFIG_KEY'],_0x13f187,action_1[_0x310873(0x1c5)]);}_0x2075b8[_0x310873(0x1e2)]=_0x2075b8[_0x310873(0x1e2)][_0x310873(0x1c9)]()[_0x310873(0x1b6)](/\/{2,}/g,'/'),(0x0,core_1[_0x310873(0x1d1)])(action_1[_0x310873(0x1d5)],_0x10a703),(0x0,core_1[_0x310873(0x1a9)])(_0x2075b8[_0x310873(0x1e2)],_0x2075b8)(_0x10a703),(0x0,core_1[_0x310873(0x1b9)])(action_1[_0x310873(0x1d5)],{'prefix':_0x2075b8[_0x310873(0x1e2)],'pprefix':_0x488d94[_0x310873(0x1e2)],'module':_0x488d94[_0x310873(0x1b5)],'filepath':_0x488d94['filepath'],'routerOptions':_0x2075b8},_0x10a703);}else _0x2075b8[_0x310873(0x1e2)]=_0x2075b8['prefix']?'/'+_0x2075b8[_0x310873(0x1e2)]:'/'+_0x488d94[_0x310873(0x1d9)],_0x488d94[_0x310873(0x1e2)]&&(_0x2075b8[_0x310873(0x1e2)]='/'+_0x488d94[_0x310873(0x1e2)]+'/'+_0x2075b8[_0x310873(0x1e2)]),_0x2075b8[_0x310873(0x1e2)]=_0x2075b8[_0x310873(0x1e2)][_0x310873(0x1c9)]()['replace'](/\/{2,}/g,'/'),(0x0,core_1[_0x310873(0x1d1)])(action_1['ACTION_KEY'],_0x10a703),(0x0,core_1['Controller'])(_0x2075b8['prefix'],_0x2075b8)(_0x10a703),(0x0,core_1[_0x310873(0x1b9)])(action_1['ACTION_KEY'],{'prefix':_0x2075b8[_0x310873(0x1e2)],'module':_0x488d94['module'],'pprefix':_0x488d94[_0x310873(0x1e2)],'filepath':_0x488d94[_0x310873(0x1a3)],'routerOptions':_0x2075b8},_0x10a703);};}exports[a3_0x4724f5(0x1bd)]=Action,Action[a3_0x4724f5(0x1b4)]=function(_0x1bd91f,_0x51e088='/',_0x3aa9b2={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x41c6ce,_0x196bc7,_0x51f22a)=>{const _0x493aa7=a3_0x2b03;ActionApi(_0x1bd91f,_0x493aa7(0x1b4),_0x51e088,_0x3aa9b2)(_0x41c6ce,_0x196bc7,_0x51f22a);};},Action[a3_0x4724f5(0x1a2)]=function(_0x52c11c,_0x3d210c='/',_0x50c157={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x238fa1,_0x1c6df3,_0x3c8e4e)=>{ActionApi(_0x52c11c,'post',_0x3d210c,_0x50c157)(_0x238fa1,_0x1c6df3,_0x3c8e4e);};};function ActionApi(_0x115606,_0x13f3c3=a3_0x4724f5(0x1b4),_0x1d355e='/',_0x41ec3a={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x2f0e0c,_0x444361,_0x2b1050)=>{const _0x3c422a=a3_0x2b03;var _0x459aa5,_0x384ba7,_0x1de6e7;!_0x41ec3a[_0x3c422a(0x1ce)]&&(_0x41ec3a['middleware']=[]);!((_0x459aa5=_0x41ec3a===null||_0x41ec3a===void 0x0?void 0x0:_0x41ec3a[_0x3c422a(0x1c7)])===null||_0x459aa5===void 0x0?void 0x0:_0x459aa5[_0x3c422a(0x1c2)])&&(_0x41ec3a[_0x3c422a(0x1c7)]={'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':_0x3c422a(0x19e)}});if(!_0x1d355e)_0x1d355e='/';else typeof _0x1d355e=='string'&&!_0x1d355e[_0x3c422a(0x1c6)]('/')&&(_0x1d355e='/'+_0x1d355e);typeof _0x41ec3a['apimit']==_0x3c422a(0x1a7)&&(_0x41ec3a[_0x3c422a(0x1af)]=!![]);if(((_0x384ba7=_0x41ec3a===null||_0x41ec3a===void 0x0?void 0x0:_0x41ec3a[_0x3c422a(0x1ce)])===null||_0x384ba7===void 0x0?void 0x0:_0x384ba7['length'])>0x0&&((_0x1de6e7=_0x41ec3a===null||_0x41ec3a===void 0x0?void 0x0:_0x41ec3a[_0x3c422a(0x1d7)])===null||_0x1de6e7===void 0x0?void 0x0:_0x1de6e7['length'])>0x0)for(let _0x40ed3f in _0x41ec3a[_0x3c422a(0x1ce)]){_0x41ec3a[_0x3c422a(0x1d7)][_0x3c422a(0x1d3)](_0x41ec3a[_0x3c422a(0x1ce)][_0x40ed3f])!==-0x1&&(_0x41ec3a[_0x3c422a(0x1ce)][_0x40ed3f]=null);}_0x41ec3a['routerName']=_0x115606,(0x0,validator_1['Validator'])(_0x41ec3a[_0x3c422a(0x1c7)])(_0x2f0e0c,_0x444361,_0x2b1050),(0x0,core_2[_0x3c422a(0x19c)])(Object[_0x3c422a(0x1cb)](_0x41ec3a,{'path':_0x1d355e,'requestMethod':(_0x13f3c3||_0x3c422a(0x1b4))[_0x3c422a(0x1c9)]()}))(_0x2f0e0c,_0x444361,_0x2b1050),(0x0,core_2[_0x3c422a(0x1d6)])(action_1[_0x3c422a(0x1a6)],{'path':_0x1d355e,'method':_0x444361,'apimit':_0x41ec3a[_0x3c422a(0x1af)],'intercept':_0x41ec3a[_0x3c422a(0x199)],'routerName':_0x41ec3a['routerName'],'description':_0x41ec3a['description'],'middleware':(_0x41ec3a[_0x3c422a(0x1ce)]||[])['filter'](_0x36a5a7=>!!_0x36a5a7),'requestMethod':(_0x13f3c3||'get')['toLowerCase']()},_0x2f0e0c),(0x0,core_2[_0x3c422a(0x1dd)])(action_1['ACTION_ROUTE_KEY'],{'path':_0x1d355e,'method':_0x444361,'apimit':_0x41ec3a[_0x3c422a(0x1af)],'intercept':_0x41ec3a[_0x3c422a(0x199)],'routerName':_0x41ec3a[_0x3c422a(0x1b2)],'description':_0x41ec3a[_0x3c422a(0x1ca)],'middleware':(_0x41ec3a['middleware']||[])[_0x3c422a(0x1aa)](_0x17e667=>!!_0x17e667),'requestMethod':(_0x13f3c3||_0x3c422a(0x1b4))['toLowerCase']()})(_0x2f0e0c,_0x444361,_0x2b1050);};}exports['ActionApi']=ActionApi;function parseRoute(_0x21b0a1){const _0xef59e5=a3_0x4724f5;_0x21b0a1=_0x21b0a1['replace'](/(\\|\/)/g,'/');const _0x43b609=process['cwd']()[_0xef59e5(0x1b6)](/(\\|\/)/g,'/'),_0x18c9dd=_0x21b0a1[_0xef59e5(0x1ad)](0x0,_0x43b609['length']+_0x21b0a1['substring'](_0x43b609['length']+0x1)[_0xef59e5(0x1d3)]('/')+0x1),_0x14e817=_0x21b0a1[_0xef59e5(0x1ad)](_0x18c9dd[_0xef59e5(0x1ae)]+0x1)['replace'](/(\\|\/)/g,'/'),_0x217200={'route':'','prefix':![],'module':![],'rootpath':_0x18c9dd,'filepath':_0x14e817};if(_0x14e817['startsWith'](_0xef59e5(0x1ac))||_0x14e817[_0xef59e5(0x1c6)](_0xef59e5(0x1a1))){const _0x2f33c7=_0x14e817[_0xef59e5(0x1ad)]((_0x14e817['startsWith']('app/controller/')?_0xef59e5(0x1ac):_0xef59e5(0x1a1))['length'])[_0xef59e5(0x1dc)]('/')['filter'](_0x4b8956=>_0x4b8956&&_0x4b8956[_0xef59e5(0x1b8)]());return _0x2f33c7[_0xef59e5(0x1ae)]>0x1&&(_0x217200[_0xef59e5(0x1e2)]=_0x2f33c7[0x0][_0xef59e5(0x1c9)](),_0x2f33c7[_0xef59e5(0x1e0)](0x0,0x1)),_0x217200['route']=('/'+_0x2f33c7[_0xef59e5(0x1c3)]('/'))[_0xef59e5(0x1b6)](/(\.ts|\.js)$/,'')[_0xef59e5(0x1b6)](/\/{2,}/g,'/')[_0xef59e5(0x1da)](/[\/|A-Z]*[^A-Z]+/g)[_0xef59e5(0x1c3)]('-')[_0xef59e5(0x1c9)]()[_0xef59e5(0x1b6)](/\/\-/g,'/'),_0x217200[_0xef59e5(0x1d9)][_0xef59e5(0x1b3)](_0xef59e5(0x1d4))&&(_0x217200['route']=_0x217200[_0xef59e5(0x1d9)][_0xef59e5(0x1ad)](0x0,_0x217200[_0xef59e5(0x1d9)][_0xef59e5(0x1ae)]-0x7)),_0x217200[_0xef59e5(0x1d9)][_0xef59e5(0x1b3)]('-controller')&&(_0x217200['route']=_0x217200[_0xef59e5(0x1d9)][_0xef59e5(0x1ad)](0x0,_0x217200[_0xef59e5(0x1d9)][_0xef59e5(0x1ae)]-0xb)),_0x217200;}else{if(_0x14e817[_0xef59e5(0x1c6)](_0xef59e5(0x1bf))){const _0x5d00b7=_0x14e817['substring'](0x0,_0x14e817[_0xef59e5(0x1d3)](_0xef59e5(0x19d))+0x5),_0x5f4e31=_0x14e817[_0xef59e5(0x1ad)](_0x5d00b7['length']+0x1)[_0xef59e5(0x1b6)](/(\\|\/)/g,'/')[_0xef59e5(0x1dc)]('/')[0x0];if(_0x14e817[_0xef59e5(0x1c6)](_0xef59e5(0x1bf)+_0x5f4e31+'/controller/')){const _0x19d561=_0x14e817['substring']((_0x5d00b7+'/'+_0x5f4e31+_0xef59e5(0x1db))[_0xef59e5(0x1ae)])['split']('/')['filter'](_0x48046a=>_0x48046a&&_0x48046a['trim']());return _0x19d561[_0xef59e5(0x1ae)]>0x1&&(_0x217200[_0xef59e5(0x1e2)]=_0x19d561[0x0][_0xef59e5(0x1c9)](),_0x19d561[_0xef59e5(0x1e0)](0x0,0x1)),_0x217200['module']=_0x5f4e31,_0x217200['route']=('/'+_0x5f4e31+'/'+_0x19d561[_0xef59e5(0x1c3)]('/'))[_0xef59e5(0x1b6)](/(\.ts|\.js)$/,'')['replace'](/\/{2,}/g,'/')[_0xef59e5(0x1da)](/[\/|A-Z]*[^A-Z]+/g)[_0xef59e5(0x1c3)]('-')['toLowerCase']()['replace'](/\/\-/g,'/'),_0x217200['route']['endsWith'](_0xef59e5(0x1d4))&&(_0x217200[_0xef59e5(0x1d9)]=_0x217200[_0xef59e5(0x1d9)][_0xef59e5(0x1ad)](0x0,_0x217200[_0xef59e5(0x1d9)][_0xef59e5(0x1ae)]-0x7)),_0x217200[_0xef59e5(0x1d9)]['endsWith'](_0xef59e5(0x1df))&&(_0x217200[_0xef59e5(0x1d9)]=_0x217200[_0xef59e5(0x1d9)]['substring'](0x0,_0x217200['route'][_0xef59e5(0x1ae)]-0xb)),_0x217200;}throw new Error(_0x14e817+_0xef59e5(0x1cf)+_0x5f4e31+_0xef59e5(0x1bb));}}throw new Error(_0x14e817+_0xef59e5(0x1d0));}exports['parseRoute']=parseRoute;
1
+ const a3_0x242cab=a3_0x313b;(function(_0x2f48ac,_0x2efdf5){const _0x31683f=a3_0x313b,_0x362e1f=_0x2f48ac();while(!![]){try{const _0x274cf5=parseInt(_0x31683f(0x1c0))/0x1*(-parseInt(_0x31683f(0x192))/0x2)+parseInt(_0x31683f(0x1a7))/0x3+-parseInt(_0x31683f(0x19e))/0x4*(-parseInt(_0x31683f(0x1b9))/0x5)+-parseInt(_0x31683f(0x1d2))/0x6*(-parseInt(_0x31683f(0x1b0))/0x7)+-parseInt(_0x31683f(0x1b6))/0x8*(parseInt(_0x31683f(0x193))/0x9)+parseInt(_0x31683f(0x1d0))/0xa*(-parseInt(_0x31683f(0x1d8))/0xb)+parseInt(_0x31683f(0x1d1))/0xc*(parseInt(_0x31683f(0x1bc))/0xd);if(_0x274cf5===_0x2efdf5)break;else _0x362e1f['push'](_0x362e1f['shift']());}catch(_0x408bf7){_0x362e1f['push'](_0x362e1f['shift']());}}}(a3_0x154e,0x5bd29));const a3_0x3d431f=(function(){let _0x331330=!![];return function(_0x5b949f,_0x5cf00d){const _0x283397=_0x331330?function(){const _0x43837b=a3_0x313b;if(_0x5cf00d){const _0x424ad6=_0x5cf00d[_0x43837b(0x1ce)](_0x5b949f,arguments);return _0x5cf00d=null,_0x424ad6;}}:function(){};return _0x331330=![],_0x283397;};}()),a3_0x591a41=a3_0x3d431f(this,function(){const _0x146ef5=a3_0x313b;return a3_0x591a41[_0x146ef5(0x1a4)]()[_0x146ef5(0x1b7)](_0x146ef5(0x18b))['toString']()[_0x146ef5(0x19f)](a3_0x591a41)[_0x146ef5(0x1b7)](_0x146ef5(0x18b));});a3_0x591a41();'use strict';Object[a3_0x242cab(0x1ac)](exports,a3_0x242cab(0x1ab),{'value':!![]}),exports[a3_0x242cab(0x1d4)]=exports['ActionApi']=exports[a3_0x242cab(0x1ca)]=void 0x0;const fs=require('fs'),validator_1=require(a3_0x242cab(0x1d7)),core_1=require('@midwayjs/core'),core_2=require('@midwayjs/core'),action_1=require(a3_0x242cab(0x1a3));function a3_0x313b(_0x4c226c,_0x5592da){const _0x25fa2c=a3_0x154e();return a3_0x313b=function(_0x591a41,_0x3d431f){_0x591a41=_0x591a41-0x18b;let _0x154e1c=_0x25fa2c[_0x591a41];return _0x154e1c;},a3_0x313b(_0x4c226c,_0x5592da);}function Action(_0x26f98c,_0x597dd8,_0x471bf6={'middleware':[],'sensitive':!![]}){return _0x129381=>{const _0x219949=a3_0x313b;var _0x599132;_0x471bf6[_0x219949(0x1a5)]=_0x597dd8;const _0x1ad791=parseRoute(_0x26f98c);if(_0x1ad791['module']){_0x471bf6['prefix']=_0x471bf6[_0x219949(0x18c)]?'/'+_0x1ad791[_0x219949(0x1c3)]+'/'+_0x471bf6[_0x219949(0x18c)]:'/'+_0x1ad791['route'];_0x1ad791['prefix']&&(_0x471bf6['prefix']='/'+_0x1ad791[_0x219949(0x18c)]+'/'+_0x471bf6[_0x219949(0x18c)]);if(fs['existsSync'](_0x1ad791[_0x219949(0x18e)]+_0x219949(0x190)+_0x1ad791[_0x219949(0x1c3)]+_0x219949(0x195)+(lodash[_0x219949(0x19b)](_0x1ad791[_0x219949(0x1b3)],'ts')?'ts':'js'))){const _0x206ecc=include(_0x1ad791[_0x219949(0x18e)]+'/apps/'+_0x1ad791[_0x219949(0x1c3)]+_0x219949(0x195)+(lodash[_0x219949(0x19b)](_0x1ad791[_0x219949(0x1b3)],'ts')?'ts':'js'));if(_0x206ecc[_0x219949(0x1cc)]&&lodash[_0x219949(0x1c7)](_0x206ecc[_0x219949(0x1cc)])&&_0x206ecc['middleware']['length']>0x0)for(let _0x1a6e3c in _0x206ecc[_0x219949(0x1cc)]){if(((_0x599132=_0x206ecc===null||_0x206ecc===void 0x0?void 0x0:_0x206ecc[_0x219949(0x1cd)])===null||_0x599132===void 0x0?void 0x0:_0x599132[_0x219949(0x1a0)])>0x0&&_0x206ecc[_0x219949(0x1cd)][_0x219949(0x1cb)](_0x206ecc[_0x219949(0x1cc)][_0x1a6e3c])!=-0x1)continue;_0x471bf6[_0x219949(0x1cc)][_0x219949(0x1d6)](_0x206ecc[_0x219949(0x1cc)][_0x1a6e3c]);}const _0x43ef90=(0x0,core_1[_0x219949(0x199)])(action_1[_0x219949(0x19d)],action_1[_0x219949(0x19a)])||{};_0x43ef90[''+_0x1ad791[_0x219949(0x1c3)]]=_0x206ecc,(0x0,core_1[_0x219949(0x1bb)])(action_1[_0x219949(0x19d)],_0x43ef90,action_1['AppsConfigTmp']);}_0x471bf6['prefix']=_0x471bf6[_0x219949(0x18c)][_0x219949(0x18f)]()[_0x219949(0x1c1)](/\/{2,}/g,'/'),(0x0,core_1[_0x219949(0x198)])(action_1[_0x219949(0x1cf)],_0x129381),(0x0,core_1[_0x219949(0x18d)])(_0x471bf6[_0x219949(0x18c)],_0x471bf6)(_0x129381),(0x0,core_1['saveClassMetadata'])(action_1[_0x219949(0x1cf)],{'prefix':_0x471bf6[_0x219949(0x18c)],'pprefix':_0x1ad791[_0x219949(0x18c)],'module':_0x1ad791[_0x219949(0x1c3)],'filepath':_0x1ad791[_0x219949(0x1b3)],'routerOptions':_0x471bf6},_0x129381);}else _0x471bf6['prefix']=_0x471bf6['prefix']?'/'+_0x471bf6[_0x219949(0x18c)]:'/'+_0x1ad791[_0x219949(0x1b1)],_0x1ad791['prefix']&&(_0x471bf6[_0x219949(0x18c)]='/'+_0x1ad791[_0x219949(0x18c)]+'/'+_0x471bf6[_0x219949(0x18c)]),_0x471bf6[_0x219949(0x18c)]=_0x471bf6[_0x219949(0x18c)][_0x219949(0x18f)]()[_0x219949(0x1c1)](/\/{2,}/g,'/'),(0x0,core_1[_0x219949(0x198)])(action_1[_0x219949(0x1cf)],_0x129381),(0x0,core_1[_0x219949(0x18d)])(_0x471bf6['prefix'],_0x471bf6)(_0x129381),(0x0,core_1[_0x219949(0x1bb)])(action_1[_0x219949(0x1cf)],{'prefix':_0x471bf6[_0x219949(0x18c)],'module':_0x1ad791[_0x219949(0x1c3)],'pprefix':_0x1ad791[_0x219949(0x18c)],'filepath':_0x1ad791['filepath'],'routerOptions':_0x471bf6},_0x129381);};}exports[a3_0x242cab(0x1ca)]=Action,Action[a3_0x242cab(0x1d3)]=function(_0x7f5579,_0x51609b='/',_0x1962bd={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x41d670,_0x12520c,_0x57227a)=>{const _0xc86622=a3_0x313b;ActionApi(_0x7f5579,_0xc86622(0x1d3),_0x51609b,_0x1962bd)(_0x41d670,_0x12520c,_0x57227a);};},Action[a3_0x242cab(0x197)]=function(_0x5d6cd7,_0xae7f4b='/',_0x546138={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x4f2013,_0x29d73e,_0x432c69)=>{const _0x1f831c=a3_0x313b;ActionApi(_0x5d6cd7,_0x1f831c(0x197),_0xae7f4b,_0x546138)(_0x4f2013,_0x29d73e,_0x432c69);};};function ActionApi(_0x4d35cd,_0x32a5fe='get',_0x37bd4a='/',_0x4f8e1f={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x5eb925,_0x1687fd,_0x49a3db)=>{const _0x5b0e8a=a3_0x313b;var _0x3ae88a,_0x45f26e,_0x104c0a;!_0x4f8e1f[_0x5b0e8a(0x1cc)]&&(_0x4f8e1f['middleware']=[]);!((_0x3ae88a=_0x4f8e1f===null||_0x4f8e1f===void 0x0?void 0x0:_0x4f8e1f[_0x5b0e8a(0x1af)])===null||_0x3ae88a===void 0x0?void 0x0:_0x3ae88a[_0x5b0e8a(0x191)])&&(_0x4f8e1f['validate']={'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':'string'}});if(!_0x37bd4a)_0x37bd4a='/';else typeof _0x37bd4a=='string'&&!_0x37bd4a[_0x5b0e8a(0x1be)]('/')&&(_0x37bd4a='/'+_0x37bd4a);typeof _0x4f8e1f[_0x5b0e8a(0x1bd)]==_0x5b0e8a(0x1b4)&&(_0x4f8e1f[_0x5b0e8a(0x1bd)]=!![]);if(((_0x45f26e=_0x4f8e1f===null||_0x4f8e1f===void 0x0?void 0x0:_0x4f8e1f[_0x5b0e8a(0x1cc)])===null||_0x45f26e===void 0x0?void 0x0:_0x45f26e[_0x5b0e8a(0x1a0)])>0x0&&((_0x104c0a=_0x4f8e1f===null||_0x4f8e1f===void 0x0?void 0x0:_0x4f8e1f[_0x5b0e8a(0x1cd)])===null||_0x104c0a===void 0x0?void 0x0:_0x104c0a[_0x5b0e8a(0x1a0)])>0x0)for(let _0x45759e in _0x4f8e1f[_0x5b0e8a(0x1cc)]){_0x4f8e1f[_0x5b0e8a(0x1cd)][_0x5b0e8a(0x1cb)](_0x4f8e1f[_0x5b0e8a(0x1cc)][_0x45759e])!==-0x1&&(_0x4f8e1f[_0x5b0e8a(0x1cc)][_0x45759e]=null);}_0x4f8e1f[_0x5b0e8a(0x1bf)]=_0x4d35cd,(0x0,validator_1[_0x5b0e8a(0x1a9)])(_0x4f8e1f['validate'])(_0x5eb925,_0x1687fd,_0x49a3db),(0x0,core_2['RequestMapping'])(Object[_0x5b0e8a(0x196)](_0x4f8e1f,{'path':_0x37bd4a,'requestMethod':(_0x32a5fe||'get')['toLowerCase']()}))(_0x5eb925,_0x1687fd,_0x49a3db),(0x0,core_2['attachClassMetadata'])(action_1[_0x5b0e8a(0x1a8)],{'path':_0x37bd4a,'method':_0x1687fd,'apimit':_0x4f8e1f[_0x5b0e8a(0x1bd)],'intercept':_0x4f8e1f[_0x5b0e8a(0x19c)],'routerName':_0x4f8e1f[_0x5b0e8a(0x1bf)],'description':_0x4f8e1f[_0x5b0e8a(0x1c8)],'middleware':(_0x4f8e1f[_0x5b0e8a(0x1cc)]||[])[_0x5b0e8a(0x1a1)](_0x1a278f=>!!_0x1a278f),'requestMethod':(_0x32a5fe||_0x5b0e8a(0x1d3))[_0x5b0e8a(0x18f)]()},_0x5eb925),(0x0,core_2[_0x5b0e8a(0x1a6)])(action_1[_0x5b0e8a(0x1a8)],{'path':_0x37bd4a,'method':_0x1687fd,'apimit':_0x4f8e1f[_0x5b0e8a(0x1bd)],'intercept':_0x4f8e1f[_0x5b0e8a(0x19c)],'routerName':_0x4f8e1f['routerName'],'description':_0x4f8e1f[_0x5b0e8a(0x1c8)],'middleware':(_0x4f8e1f[_0x5b0e8a(0x1cc)]||[])['filter'](_0x5f41fc=>!!_0x5f41fc),'requestMethod':(_0x32a5fe||_0x5b0e8a(0x1d3))[_0x5b0e8a(0x18f)]()})(_0x5eb925,_0x1687fd,_0x49a3db);};}exports[a3_0x242cab(0x1ba)]=ActionApi;function parseRoute(_0x2cf63d){const _0x1f2e47=a3_0x242cab;_0x2cf63d=_0x2cf63d[_0x1f2e47(0x1c1)](/(\\|\/)/g,'/');const _0x20d36f=process['cwd']()[_0x1f2e47(0x1c1)](/(\\|\/)/g,'/'),_0x40e71f=_0x2cf63d[_0x1f2e47(0x1ad)](0x0,_0x20d36f[_0x1f2e47(0x1a0)]+_0x2cf63d[_0x1f2e47(0x1ad)](_0x20d36f[_0x1f2e47(0x1a0)]+0x1)[_0x1f2e47(0x1cb)]('/')+0x1),_0x571fb6=_0x2cf63d[_0x1f2e47(0x1ad)](_0x40e71f[_0x1f2e47(0x1a0)]+0x1)['replace'](/(\\|\/)/g,'/'),_0x2c9611={'route':'','prefix':![],'module':![],'rootpath':_0x40e71f,'filepath':_0x571fb6};if(_0x571fb6[_0x1f2e47(0x1be)](_0x1f2e47(0x194))||_0x571fb6[_0x1f2e47(0x1be)]('basic/controller/')){const _0x44ac58=_0x571fb6['substring']((_0x571fb6[_0x1f2e47(0x1be)](_0x1f2e47(0x194))?_0x1f2e47(0x194):_0x1f2e47(0x1d5))[_0x1f2e47(0x1a0)])['split']('/')[_0x1f2e47(0x1a1)](_0x45c171=>_0x45c171&&_0x45c171['trim']());return _0x44ac58[_0x1f2e47(0x1a0)]>0x1&&(_0x2c9611[_0x1f2e47(0x18c)]=_0x44ac58[0x0][_0x1f2e47(0x18f)](),_0x44ac58['splice'](0x0,0x1)),_0x2c9611['route']=('/'+_0x44ac58[_0x1f2e47(0x1c2)]('/'))[_0x1f2e47(0x1c1)](/(\.ts|\.js)$/,'')[_0x1f2e47(0x1c1)](/\/{2,}/g,'/')[_0x1f2e47(0x1b5)](/[\/|A-Z]*[^A-Z]+/g)[_0x1f2e47(0x1c2)]('-')['toLowerCase']()[_0x1f2e47(0x1c1)](/\/\-/g,'/'),_0x2c9611['route'][_0x1f2e47(0x19b)]('-action')&&(_0x2c9611[_0x1f2e47(0x1b1)]=_0x2c9611[_0x1f2e47(0x1b1)][_0x1f2e47(0x1ad)](0x0,_0x2c9611[_0x1f2e47(0x1b1)]['length']-0x7)),_0x2c9611[_0x1f2e47(0x1b1)][_0x1f2e47(0x19b)](_0x1f2e47(0x1c4))&&(_0x2c9611[_0x1f2e47(0x1b1)]=_0x2c9611['route'][_0x1f2e47(0x1ad)](0x0,_0x2c9611[_0x1f2e47(0x1b1)][_0x1f2e47(0x1a0)]-0xb)),_0x2c9611;}else{if(_0x571fb6['startsWith'](_0x1f2e47(0x1a2))){const _0x3f3925=_0x571fb6[_0x1f2e47(0x1ad)](0x0,_0x571fb6['indexOf']('/apps/')+0x5),_0x504f5e=_0x571fb6[_0x1f2e47(0x1ad)](_0x3f3925[_0x1f2e47(0x1a0)]+0x1)['replace'](/(\\|\/)/g,'/')[_0x1f2e47(0x1c9)]('/')[0x0];if(_0x571fb6['startsWith']('apps/'+_0x504f5e+_0x1f2e47(0x1c6))){const _0x1a08b6=_0x571fb6[_0x1f2e47(0x1ad)]((_0x3f3925+'/'+_0x504f5e+_0x1f2e47(0x1c6))['length'])[_0x1f2e47(0x1c9)]('/')[_0x1f2e47(0x1a1)](_0x558654=>_0x558654&&_0x558654[_0x1f2e47(0x1ae)]());return _0x1a08b6[_0x1f2e47(0x1a0)]>0x1&&(_0x2c9611['prefix']=_0x1a08b6[0x0][_0x1f2e47(0x18f)](),_0x1a08b6[_0x1f2e47(0x1c5)](0x0,0x1)),_0x2c9611[_0x1f2e47(0x1c3)]=_0x504f5e,_0x2c9611[_0x1f2e47(0x1b1)]=('/'+_0x504f5e+'/'+_0x1a08b6[_0x1f2e47(0x1c2)]('/'))[_0x1f2e47(0x1c1)](/(\.ts|\.js)$/,'')['replace'](/\/{2,}/g,'/')[_0x1f2e47(0x1b5)](/[\/|A-Z]*[^A-Z]+/g)['join']('-')[_0x1f2e47(0x18f)]()['replace'](/\/\-/g,'/'),_0x2c9611[_0x1f2e47(0x1b1)][_0x1f2e47(0x19b)](_0x1f2e47(0x1aa))&&(_0x2c9611[_0x1f2e47(0x1b1)]=_0x2c9611[_0x1f2e47(0x1b1)][_0x1f2e47(0x1ad)](0x0,_0x2c9611[_0x1f2e47(0x1b1)]['length']-0x7)),_0x2c9611['route'][_0x1f2e47(0x19b)](_0x1f2e47(0x1c4))&&(_0x2c9611[_0x1f2e47(0x1b1)]=_0x2c9611[_0x1f2e47(0x1b1)][_0x1f2e47(0x1ad)](0x0,_0x2c9611['route']['length']-0xb)),_0x2c9611;}throw new Error(_0x571fb6+'\x20文件请放在apps/'+_0x504f5e+_0x1f2e47(0x1b2));}}throw new Error(_0x571fb6+_0x1f2e47(0x1b8));}exports[a3_0x242cab(0x1d4)]=parseRoute;function a3_0x154e(){const _0x5f341e=['551649vSrfux','ACTION_ROUTE_KEY','Validator','-action','__esModule','defineProperty','substring','trim','validate','1258278WgKXhn','route','/controller/文件下','filepath','undefined','match','136872NkMmGs','search','\x20文件请放在app/controller/文件下','3588205Iiifou','ActionApi','saveClassMetadata','13vUuBVH','apimit','startsWith','routerName','237UHLMZh','replace','join','module','-controller','splice','/controller/','isArray','description','split','Action','indexOf','middleware','middlewareIgnore','apply','ACTION_KEY','80gkpomK','7252932WYaOnO','6gbgbvR','get','parseRoute','basic/controller/','push','@anncic-api/validator','359865NpnLiG','(((.+)+)+)+$','prefix','Controller','rootpath','toLowerCase','/apps/','validationOptions','5522KthZXj','207bKgHYA','app/controller/','/config.','assign','post','saveModule','getClassMetadata','AppsConfigTmp','endsWith','intercept','APPSCONFIG_KEY','4mzghnw','constructor','length','filter','apps/','../types/action','toString','tagName','createCustomMethodDecorator'];a3_0x154e=function(){return _0x5f341e;};return a3_0x154e();}