anncic-api 1.0.17 → 1.0.18

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_0xa3cdc9=a0_0xe88a;(function(_0x3d4266,_0x135e97){var _0x5beb6d=a0_0xe88a,_0x1320a5=_0x3d4266();while(!![]){try{var _0xf7e448=-parseInt(_0x5beb6d(0x194))/0x1*(-parseInt(_0x5beb6d(0x190))/0x2)+parseInt(_0x5beb6d(0x192))/0x3*(parseInt(_0x5beb6d(0x198))/0x4)+parseInt(_0x5beb6d(0x18d))/0x5*(parseInt(_0x5beb6d(0x18e))/0x6)+parseInt(_0x5beb6d(0x196))/0x7+parseInt(_0x5beb6d(0x195))/0x8+-parseInt(_0x5beb6d(0x18b))/0x9+parseInt(_0x5beb6d(0x193))/0xa*(-parseInt(_0x5beb6d(0x18c))/0xb);if(_0xf7e448===_0x135e97)break;else _0x1320a5['push'](_0x1320a5['shift']());}catch(_0x1ddb88){_0x1320a5['push'](_0x1320a5['shift']());}}}(a0_0x16f0,0xb93cc));function a0_0x16f0(){var _0x56aaf6=['3854510KgmxTD','78467ZNNoec','3548688hJZnMH','6390461TGQvWV','/runtime/.upload','5538972fKphgm','dhauo1234420123gg3234901','6824583NpvdmD','55SfqXnL','2730440tzCfRo','6ZyvStN','default','4OdIwdh','zhiulanuiy7892387985hnoi','3uUMxrg'];a0_0x16f0=function(){return _0x56aaf6;};return a0_0x16f0();}function a0_0xe88a(_0x194f2c,_0x57c8ce){var _0x16f0fd=a0_0x16f0();return a0_0xe88a=function(_0xe88ab8,_0x3fb491){_0xe88ab8=_0xe88ab8-0x18a;var _0x46ab7f=_0x16f0fd[_0xe88ab8];return _0x46ab7f;},a0_0xe88a(_0x194f2c,_0x57c8ce);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a0_0xa3cdc9(0x18f)]=_0x4d770b=>{var _0x5f0dc5=a0_0xa3cdc9;return{'apitest':!![],'keys':_0x4d770b['name'],'anncicapi':{'timeout':0x1388,'password':_0x5f0dc5(0x191),'devices':{'DEFAULT':{'secret':_0x5f0dc5(0x18a),'checkcode':_0x5f0dc5(0x18a)}}},'upload':{'tmpdir':_0x4d770b['appDir']+_0x5f0dc5(0x197),'cleanTimeout':0x5265c00}};};
1
+ 'use strict';var a0_0xcdf61c=a0_0x5b0b;(function(_0xe831f2,_0x496fb3){var _0x9fe153=a0_0x5b0b,_0x129247=_0xe831f2();while(!![]){try{var _0xf5a686=parseInt(_0x9fe153(0xff))/0x1*(parseInt(_0x9fe153(0x10a))/0x2)+parseInt(_0x9fe153(0xfe))/0x3+-parseInt(_0x9fe153(0x10e))/0x4*(parseInt(_0x9fe153(0x105))/0x5)+-parseInt(_0x9fe153(0x108))/0x6+parseInt(_0x9fe153(0x106))/0x7*(parseInt(_0x9fe153(0x107))/0x8)+parseInt(_0x9fe153(0x104))/0x9+parseInt(_0x9fe153(0x102))/0xa*(-parseInt(_0x9fe153(0xfd))/0xb);if(_0xf5a686===_0x496fb3)break;else _0x129247['push'](_0x129247['shift']());}catch(_0x1c3f3d){_0x129247['push'](_0x129247['shift']());}}}(a0_0x30a2,0x29d2f));function a0_0x30a2(){var _0x14f961=['dhauo1234420123gg3234901','__esModule','defineProperty','1388lDftDx','241901zUsHgb','1022436deGRYi','8229qMilyI','name','zhiulanuiy7892387985hnoi','110eKyvFb','/runtime/.upload','1348083rNyqbo','640RGdEbe','333886Ksacmi','24OyOfIi','1303260QeAqqm','default','10WBkXWA'];a0_0x30a2=function(){return _0x14f961;};return a0_0x30a2();}function a0_0x5b0b(_0x2d9591,_0x20c034){var _0x30a27e=a0_0x30a2();return a0_0x5b0b=function(_0x5b0b87,_0x2f4e25){_0x5b0b87=_0x5b0b87-0xfd;var _0x2aa8cb=_0x30a27e[_0x5b0b87];return _0x2aa8cb;},a0_0x5b0b(_0x2d9591,_0x20c034);}Object[a0_0xcdf61c(0x10d)](exports,a0_0xcdf61c(0x10c),{'value':!![]}),exports[a0_0xcdf61c(0x109)]=_0x70a2bf=>{var _0x5d540f=a0_0xcdf61c;return{'apitest':!![],'keys':_0x70a2bf[_0x5d540f(0x100)],'anncicapi':{'timeout':0x1388,'password':_0x5d540f(0x101),'devices':{'DEFAULT':{'secret':_0x5d540f(0x10b),'checkcode':_0x5d540f(0x10b)}}},'upload':{'tmpdir':_0x70a2bf['appDir']+_0x5d540f(0x103),'cleanTimeout':0x5265c00}};};
@@ -1 +1 @@
1
- 'use strict';function a1_0x1772(_0x1e5a80,_0x3feb94){var _0x1dba40=a1_0x1dba();return a1_0x1772=function(_0x177229,_0x28dc56){_0x177229=_0x177229-0x13f;var _0x4ad7e8=_0x1dba40[_0x177229];return _0x4ad7e8;},a1_0x1772(_0x1e5a80,_0x3feb94);}var a1_0x4c6ba7=a1_0x1772;(function(_0x4e5955,_0x257b37){var _0x29f6e2=a1_0x1772,_0xa6986d=_0x4e5955();while(!![]){try{var _0x5ec515=-parseInt(_0x29f6e2(0x140))/0x1*(-parseInt(_0x29f6e2(0x143))/0x2)+-parseInt(_0x29f6e2(0x144))/0x3+parseInt(_0x29f6e2(0x146))/0x4*(-parseInt(_0x29f6e2(0x149))/0x5)+parseInt(_0x29f6e2(0x14a))/0x6+-parseInt(_0x29f6e2(0x14b))/0x7+-parseInt(_0x29f6e2(0x148))/0x8*(parseInt(_0x29f6e2(0x145))/0x9)+parseInt(_0x29f6e2(0x141))/0xa;if(_0x5ec515===_0x257b37)break;else _0xa6986d['push'](_0xa6986d['shift']());}catch(_0x18b7aa){_0xa6986d['push'](_0xa6986d['shift']());}}}(a1_0x1dba,0x768b1));function a1_0x1dba(){var _0x3cfc74=['2232zFLhjo','440QObXQC','defineProperty','13368vkarnT','31205EsOYuL','5567418ICQVoT','3552633SUYRmk','default','1NLxLhz','14533040aRmaxe','__esModule','1033612aspqjE','2412069JgvSAL'];a1_0x1dba=function(){return _0x3cfc74;};return a1_0x1dba();}Object[a1_0x4c6ba7(0x147)](exports,a1_0x4c6ba7(0x142),{'value':!![]}),exports[a1_0x4c6ba7(0x13f)]={'apitest':![],'anncicapi':{'timeout':0x1388}};
1
+ 'use strict';function a1_0x1135(_0x4da031,_0x5723f9){var _0x8ce4fc=a1_0x8ce4();return a1_0x1135=function(_0x113571,_0x3950c7){_0x113571=_0x113571-0xfd;var _0x490b69=_0x8ce4fc[_0x113571];return _0x490b69;},a1_0x1135(_0x4da031,_0x5723f9);}var a1_0x457f5b=a1_0x1135;(function(_0x2f82eb,_0x409f19){var _0x37d557=a1_0x1135,_0x35909b=_0x2f82eb();while(!![]){try{var _0x18606a=-parseInt(_0x37d557(0x108))/0x1+parseInt(_0x37d557(0x104))/0x2+parseInt(_0x37d557(0x103))/0x3+-parseInt(_0x37d557(0x107))/0x4+parseInt(_0x37d557(0x102))/0x5*(-parseInt(_0x37d557(0x105))/0x6)+parseInt(_0x37d557(0x101))/0x7+parseInt(_0x37d557(0xfd))/0x8*(parseInt(_0x37d557(0xfe))/0x9);if(_0x18606a===_0x409f19)break;else _0x35909b['push'](_0x35909b['shift']());}catch(_0x1c44c8){_0x35909b['push'](_0x35909b['shift']());}}}(a1_0x8ce4,0xb7740));Object[a1_0x457f5b(0x106)](exports,a1_0x457f5b(0xff),{'value':!![]}),exports[a1_0x457f5b(0x100)]={'apitest':![],'anncicapi':{'timeout':0x1388}};function a1_0x8ce4(){var _0x29fcc6=['2243744LNIZPD','63oHelBT','__esModule','default','2244564HrNPsg','6827545qWoytk','3828525luuvYr','502794vjhQQS','6lScYKK','defineProperty','3523072XbESqY','813799dKVzjH'];a1_0x8ce4=function(){return _0x29fcc6;};return a1_0x8ce4();}
@@ -1 +1 @@
1
- 'use strict';function a2_0xa8fd(_0x3b00cb,_0x198835){const _0x141618=a2_0x1416();return a2_0xa8fd=function(_0xa8fd26,_0x15dd4e){_0xa8fd26=_0xa8fd26-0x18b;let _0x1a1452=_0x141618[_0xa8fd26];return _0x1a1452;},a2_0xa8fd(_0x3b00cb,_0x198835);}const a2_0x392d45=a2_0xa8fd;(function(_0x15a964,_0x56af6e){const _0x77d44e=a2_0xa8fd,_0x25409e=_0x15a964();while(!![]){try{const _0x596d0c=parseInt(_0x77d44e(0x190))/0x1*(parseInt(_0x77d44e(0x1ca))/0x2)+-parseInt(_0x77d44e(0x1b8))/0x3+-parseInt(_0x77d44e(0x1b5))/0x4+-parseInt(_0x77d44e(0x1c7))/0x5+parseInt(_0x77d44e(0x1c5))/0x6+-parseInt(_0x77d44e(0x1c2))/0x7+-parseInt(_0x77d44e(0x1a1))/0x8*(-parseInt(_0x77d44e(0x1c3))/0x9);if(_0x596d0c===_0x56af6e)break;else _0x25409e['push'](_0x25409e['shift']());}catch(_0x34bd51){_0x25409e['push'](_0x25409e['shift']());}}}(a2_0x1416,0xe3eb0));var __decorate=this&&this['__decorate']||function(_0xb93d77,_0x901a8d,_0x4ca5a9,_0x1cf859){const _0x14fa5c=a2_0xa8fd;var _0x105071=arguments[_0x14fa5c(0x195)],_0x19ccde=_0x105071<0x3?_0x901a8d:_0x1cf859===null?_0x1cf859=Object[_0x14fa5c(0x1e1)](_0x901a8d,_0x4ca5a9):_0x1cf859,_0x5026bf;if(typeof Reflect===_0x14fa5c(0x19e)&&typeof Reflect[_0x14fa5c(0x1a5)]==='function')_0x19ccde=Reflect['decorate'](_0xb93d77,_0x901a8d,_0x4ca5a9,_0x1cf859);else{for(var _0x195348=_0xb93d77[_0x14fa5c(0x195)]-0x1;_0x195348>=0x0;_0x195348--)if(_0x5026bf=_0xb93d77[_0x195348])_0x19ccde=(_0x105071<0x3?_0x5026bf(_0x19ccde):_0x105071>0x3?_0x5026bf(_0x901a8d,_0x4ca5a9,_0x19ccde):_0x5026bf(_0x901a8d,_0x4ca5a9))||_0x19ccde;}return _0x105071>0x3&&_0x19ccde&&Object[_0x14fa5c(0x18c)](_0x901a8d,_0x4ca5a9,_0x19ccde),_0x19ccde;},__metadata=this&&this[a2_0x392d45(0x1d3)]||function(_0x1e83e9,_0x474246){const _0x72e2cb=a2_0x392d45;if(typeof Reflect===_0x72e2cb(0x19e)&&typeof Reflect[_0x72e2cb(0x1a0)]===_0x72e2cb(0x19f))return Reflect['metadata'](_0x1e83e9,_0x474246);};Object[a2_0x392d45(0x18c)](exports,a2_0x392d45(0x1a8),{'value':!![]}),exports[a2_0x392d45(0x1c8)]=void 0x0;function a2_0x1416(){const _0x2befc2=['./types/action','8435084jRIaXo','13059LTZgiu','staticFile','7814478ooyQoh','getApplications','4581290RzpAfO','CustomConfiguration','ApiError','1052858pzeJNX','device','log','Inject','koa-xml-body','@midwayjs/cross-domain','./exception/ApiError','Configuration','Anncic-api\x20static-file\x20:\x20mkdir\x20','__metadata','upload','dirs','application','isNull','bodyParser','input','beforeRoute','ApiService','devices','HEADERS_SIGNATURE','string','MidwayDecoratorService','@anncic-api/core','getOwnPropertyDescriptor','defaultsDeep','getConfiguration','defineProperty','koa','DEFAULT','@midwayjs/core','1yESGhP','@anncic-api/event','request','dir','@midwayjs/koa','length','@midwayjs/upload','./config/config.production','mkdirSync','koa-bodyparser','headers','config','existsSync','keys','object','function','metadata','19048YIEjKI','handlerActionRoute','bodyXml','isArray','decorate','onReady','anncicapi','__esModule','checksign','body','MidwayEnvironmentService','decorator','MidwayApplicationManager','apimit','get','_matchedRoute','hanlderApplications','addObject','Anncic-api\x20upload-tmpdir\x20:\x20mkdir\x20','@anncic-api/validator','7298832xCxwgG','REQUEST_OBJ_CTX_KEY','prototype','1212429jbBvcF','isString','ACTION_ROUTE_KEY','design:type','filterConfig','./config/config.default','tmpdir','key','checkConfigKeys'];a2_0x1416=function(){return _0x2befc2;};return a2_0x1416();}const decorator_1=require('@midwayjs/decorator'),core_1=require(a2_0x392d45(0x18f)),ApiError_1=require(a2_0x392d45(0x1d0)),ApiService_1=require('./service/ApiService'),action_1=require(a2_0x392d45(0x1c1)),fs=require('fs'),koa=require(a2_0x392d45(0x194)),i18n=require('@midwayjs/i18n'),task=require('@midwayjs/task'),upload=require(a2_0x392d45(0x196)),staticFile=require('@midwayjs/static-file'),crossDomain=require(a2_0x392d45(0x1cf)),bodyXml=require(a2_0x392d45(0x1ce)),bodyParser=require(a2_0x392d45(0x199)),ConfigDefault=require(a2_0x392d45(0x1bd)),ConfigProduction=require(a2_0x392d45(0x197)),anncic=require(a2_0x392d45(0x1e0)),anncicEvent=require(a2_0x392d45(0x191)),anncicTypeorm=require('@anncic-api/typeorm'),anncicValidator=require(a2_0x392d45(0x1b4)),anncicHelper=require('anncic-apihelper');let CustomConfiguration=class CustomConfiguration{async[a2_0x392d45(0x1a6)](){const _0x7a5c8=a2_0x392d45;await this[_0x7a5c8(0x1bc)](),await this[_0x7a5c8(0x1c0)](),await this[_0x7a5c8(0x1a2)](),await this[_0x7a5c8(0x1b1)]();}async[a2_0x392d45(0x1c0)](){}async['handlerActionRoute'](){const _0x5e4c6f=a2_0x392d45,_0x41c3fd=this[_0x5e4c6f(0x19b)]['getConfiguration']();this[_0x5e4c6f(0x1ac)]['registerMethodHandler'](action_1[_0x5e4c6f(0x1ba)],_0x48b39c=>{const _0x47a3a3=_0x48b39c['metadata'];return{'before':async _0x4904f8=>{const _0x4a1607=a2_0xa8fd;var _0x125a0e,_0x2df0b8,_0x439694,_0x1b5c26,_0x1057c0;const _0x19184d=(_0x125a0e=_0x4904f8===null||_0x4904f8===void 0x0?void 0x0:_0x4904f8['target'])===null||_0x125a0e===void 0x0?void 0x0:_0x125a0e[core_1[_0x4a1607(0x1b6)]];if(_0x19184d){if((_0x47a3a3===null||_0x47a3a3===void 0x0?void 0x0:_0x47a3a3[_0x4a1607(0x1ae)])&&!this[_0x4a1607(0x1db)][_0x4a1607(0x1a9)]((_0x2df0b8=_0x19184d===null||_0x19184d===void 0x0?void 0x0:_0x19184d[_0x4a1607(0x192)])===null||_0x2df0b8===void 0x0?void 0x0:_0x2df0b8['headers']))throw new AnnError(ApiError_1[_0x4a1607(0x1c9)][_0x4a1607(0x1dd)]);((_0x439694=_0x19184d[_0x4a1607(0x19a)])===null||_0x439694===void 0x0?void 0x0:_0x439694[_0x4a1607(0x1cb)])&&((_0x1057c0=(_0x1b5c26=_0x41c3fd===null||_0x41c3fd===void 0x0?void 0x0:_0x41c3fd[_0x4a1607(0x1a7)])===null||_0x1b5c26===void 0x0?void 0x0:_0x1b5c26[_0x4a1607(0x1dc)])===null||_0x1057c0===void 0x0?void 0x0:_0x1057c0[_0x19184d[_0x4a1607(0x19a)][_0x4a1607(0x1cb)]])&&(typeof _0x41c3fd[_0x4a1607(0x1a7)][_0x4a1607(0x1dc)][_0x19184d[_0x4a1607(0x19a)][_0x4a1607(0x1cb)]][_0x4a1607(0x1da)]==_0x4a1607(0x19f)&&await _0x41c3fd[_0x4a1607(0x1a7)][_0x4a1607(0x1dc)][_0x19184d[_0x4a1607(0x19a)]['device']][_0x4a1607(0x1da)]((_0x19184d===null||_0x19184d===void 0x0?void 0x0:_0x19184d[_0x4a1607(0x1b0)])||undefined,_0x47a3a3,_0x19184d));}},'afterThrow':(_0x50bfc1,_0x39b4aa)=>{throw _0x39b4aa;}};});}async[a2_0x392d45(0x1b1)](){const _0x2a40dd=a2_0x392d45;this[_0x2a40dd(0x1d6)][_0x2a40dd(0x1c6)]([_0x2a40dd(0x18d)])['forEach'](_0x3e7c5e=>{const _0x655b14=_0x2a40dd;_0x3e7c5e['useMiddleware'](bodyXml(this[_0x655b14(0x19b)]['getConfiguration'](_0x655b14(0x1a3)))),_0x3e7c5e['useMiddleware'](bodyParser(this[_0x655b14(0x19b)][_0x655b14(0x18b)](_0x655b14(0x1d8)))),(_0x3e7c5e===null||_0x3e7c5e===void 0x0?void 0x0:_0x3e7c5e['context'])&&Object['defineProperties'](_0x3e7c5e['context'],{'ok':{'value':function(_0x51f154,_0x49c098,_0x4f2d6e=0x0){return{'code':_0x4f2d6e,'data':_0x51f154,'extra':_0x49c098};}},'err':{'value':function(_0x27fe36,_0x532872,_0x109387=0x1){return{'code':_0x109387,'extra':_0x532872,'msg':_0x27fe36};}},'input':{'value':function(_0x2a6ae6,_0x1bef07){const _0xa6ec0e=_0x655b14;var _0x325016;const _0x1aab57=lodash[_0xa6ec0e(0x1e2)]({},this[_0xa6ec0e(0x192)][_0xa6ec0e(0x1aa)]||this['request'][((_0x325016=config===null||config===void 0x0?void 0x0:config['bodyXml'])===null||_0x325016===void 0x0?void 0x0:_0x325016[_0xa6ec0e(0x1bf)])||_0xa6ec0e(0x1aa)]||{},this['request']['query']||{});return _0x2a6ae6?lodash[_0xa6ec0e(0x1af)](_0x1aab57,_0x2a6ae6,_0x1bef07):_0x1aab57;}},'when':{'value':async function(_0x368534,_0x46026d){const _0x4a60a5=_0x655b14,_0x19385c=this[_0x4a60a5(0x1d9)](_0x368534,null);if(!lodash[_0x4a60a5(0x1d7)](_0x19385c))return await _0x46026d(_0x19385c);}},'only':{'value':function(_0x1eb2ac){const _0x5969bb=_0x655b14,_0x491e42={};for(let _0x21ae31=0x0;_0x21ae31<_0x1eb2ac[_0x5969bb(0x195)];_0x21ae31++){lodash[_0x5969bb(0x1a4)](_0x1eb2ac[_0x21ae31])&&_0x1eb2ac[_0x21ae31]['length']>0x0&&lodash[_0x5969bb(0x1b9)](_0x1eb2ac[_0x21ae31][0x0])&&(_0x491e42[_0x1eb2ac[_0x21ae31][0x0]]=this[_0x5969bb(0x1d9)](_0x1eb2ac[_0x21ae31][0x0],_0x1eb2ac[_0x21ae31][_0x5969bb(0x195)]>0x1?_0x1eb2ac[_0x21ae31][0x1]:null));}return _0x491e42;}}});});}async[a2_0x392d45(0x1bc)](){const _0x2acd6a=a2_0x392d45;var _0x343c2a,_0x5923a4,_0x398362,_0x380255,_0xaad18f,_0x23e2c6;const _0x409572=this[_0x2acd6a(0x19b)]['getConfiguration']();((_0x5923a4=(_0x343c2a=_0x409572===null||_0x409572===void 0x0?void 0x0:_0x409572[_0x2acd6a(0x1a7)])===null||_0x343c2a===void 0x0?void 0x0:_0x343c2a[_0x2acd6a(0x1dc)])===null||_0x5923a4===void 0x0?void 0x0:_0x5923a4[_0x2acd6a(0x18e)])&&Object[_0x2acd6a(0x19d)](_0x409572[_0x2acd6a(0x1a7)]['devices'])['length']>0x1&&delete _0x409572['anncicapi']['devices'][_0x2acd6a(0x18e)];if((_0x398362=_0x409572===null||_0x409572===void 0x0?void 0x0:_0x409572[_0x2acd6a(0x1c4)])===null||_0x398362===void 0x0?void 0x0:_0x398362[_0x2acd6a(0x1d5)])for(const _0x4f408d in _0x409572[_0x2acd6a(0x1c4)][_0x2acd6a(0x1d5)]){((_0x380255=_0x409572[_0x2acd6a(0x1c4)][_0x2acd6a(0x1d5)][_0x4f408d])===null||_0x380255===void 0x0?void 0x0:_0x380255['dir'])&&typeof((_0xaad18f=_0x409572[_0x2acd6a(0x1c4)][_0x2acd6a(0x1d5)][_0x4f408d])===null||_0xaad18f===void 0x0?void 0x0:_0xaad18f[_0x2acd6a(0x193)])==_0x2acd6a(0x1de)&&!fs[_0x2acd6a(0x19c)](_0x409572[_0x2acd6a(0x1c4)][_0x2acd6a(0x1d5)][_0x4f408d][_0x2acd6a(0x193)])&&(fs['mkdirSync'](_0x409572[_0x2acd6a(0x1c4)][_0x2acd6a(0x1d5)][_0x4f408d][_0x2acd6a(0x193)],{'recursive':!![]}),console[_0x2acd6a(0x1cc)](_0x2acd6a(0x1d2)+_0x409572[_0x2acd6a(0x1c4)][_0x2acd6a(0x1d5)][_0x4f408d][_0x2acd6a(0x193)]));}((_0x23e2c6=_0x409572===null||_0x409572===void 0x0?void 0x0:_0x409572[_0x2acd6a(0x1d4)])===null||_0x23e2c6===void 0x0?void 0x0:_0x23e2c6[_0x2acd6a(0x1be)])&&!fs[_0x2acd6a(0x19c)](_0x409572['upload'][_0x2acd6a(0x1be)])&&(fs[_0x2acd6a(0x198)](_0x409572[_0x2acd6a(0x1d4)][_0x2acd6a(0x1be)],{'recursive':!![]}),console[_0x2acd6a(0x1cc)](_0x2acd6a(0x1b3)+_0x409572[_0x2acd6a(0x1d4)][_0x2acd6a(0x1be)])),this[_0x2acd6a(0x19b)][_0x2acd6a(0x1b2)](_0x409572);}};__decorate([(0x0,decorator_1[a2_0x392d45(0x1cd)])(),__metadata(a2_0x392d45(0x1bb),core_1['MidwayConfigService'])],CustomConfiguration[a2_0x392d45(0x1b7)],a2_0x392d45(0x19b),void 0x0),__decorate([(0x0,decorator_1['Inject'])(),__metadata(a2_0x392d45(0x1bb),core_1[a2_0x392d45(0x1df)])],CustomConfiguration[a2_0x392d45(0x1b7)],a2_0x392d45(0x1ac),void 0x0),__decorate([(0x0,decorator_1['Inject'])(),__metadata('design:type',core_1[a2_0x392d45(0x1ad)])],CustomConfiguration[a2_0x392d45(0x1b7)],a2_0x392d45(0x1d6),void 0x0),__decorate([(0x0,decorator_1[a2_0x392d45(0x1cd)])(),__metadata(a2_0x392d45(0x1bb),core_1[a2_0x392d45(0x1ab)])],CustomConfiguration[a2_0x392d45(0x1b7)],'environment',void 0x0),__decorate([(0x0,decorator_1[a2_0x392d45(0x1cd)])(),__metadata('design:type',ApiService_1[a2_0x392d45(0x1db)])],CustomConfiguration[a2_0x392d45(0x1b7)],'ApiService',void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a2_0x392d45(0x1d1)])({'imports':[koa,i18n,upload,staticFile,crossDomain,anncic,anncicEvent,anncicTypeorm,anncicValidator,anncicHelper,task],'namespace':'anncic-api','conflictCheck':![],'importConfigs':[{'default':ConfigDefault,'production':ConfigProduction}]})],CustomConfiguration),exports[a2_0x392d45(0x1c8)]=CustomConfiguration;
1
+ 'use strict';const a2_0x2ac6c8=a2_0x5575;(function(_0x5bf935,_0x352d57){const _0x56329b=a2_0x5575,_0x40b0f0=_0x5bf935();while(!![]){try{const _0x2eedcf=-parseInt(_0x56329b(0xf4))/0x1*(-parseInt(_0x56329b(0xed))/0x2)+parseInt(_0x56329b(0xd2))/0x3*(parseInt(_0x56329b(0xb0))/0x4)+parseInt(_0x56329b(0xd5))/0x5+-parseInt(_0x56329b(0xb2))/0x6+parseInt(_0x56329b(0xeb))/0x7+-parseInt(_0x56329b(0xdf))/0x8*(-parseInt(_0x56329b(0xd3))/0x9)+-parseInt(_0x56329b(0xe8))/0xa*(parseInt(_0x56329b(0xb8))/0xb);if(_0x2eedcf===_0x352d57)break;else _0x40b0f0['push'](_0x40b0f0['shift']());}catch(_0x113195){_0x40b0f0['push'](_0x40b0f0['shift']());}}}(a2_0x4f6a,0x93950));var __decorate=this&&this[a2_0x2ac6c8(0xb7)]||function(_0x1392a6,_0x4f694a,_0x380e80,_0x36d6f3){const _0x163f0e=a2_0x2ac6c8;var _0x19032a=arguments['length'],_0x2a403f=_0x19032a<0x3?_0x4f694a:_0x36d6f3===null?_0x36d6f3=Object[_0x163f0e(0xda)](_0x4f694a,_0x380e80):_0x36d6f3,_0x5bd624;if(typeof Reflect===_0x163f0e(0xb3)&&typeof Reflect['decorate']===_0x163f0e(0xf0))_0x2a403f=Reflect[_0x163f0e(0xb5)](_0x1392a6,_0x4f694a,_0x380e80,_0x36d6f3);else{for(var _0xd6ce0e=_0x1392a6['length']-0x1;_0xd6ce0e>=0x0;_0xd6ce0e--)if(_0x5bd624=_0x1392a6[_0xd6ce0e])_0x2a403f=(_0x19032a<0x3?_0x5bd624(_0x2a403f):_0x19032a>0x3?_0x5bd624(_0x4f694a,_0x380e80,_0x2a403f):_0x5bd624(_0x4f694a,_0x380e80))||_0x2a403f;}return _0x19032a>0x3&&_0x2a403f&&Object[_0x163f0e(0xaf)](_0x4f694a,_0x380e80,_0x2a403f),_0x2a403f;},__metadata=this&&this['__metadata']||function(_0x5622f7,_0x12afcb){const _0x3a8fb4=a2_0x2ac6c8;if(typeof Reflect===_0x3a8fb4(0xb3)&&typeof Reflect[_0x3a8fb4(0xe7)]==='function')return Reflect[_0x3a8fb4(0xe7)](_0x5622f7,_0x12afcb);};Object[a2_0x2ac6c8(0xaf)](exports,a2_0x2ac6c8(0xcb),{'value':!![]}),exports[a2_0x2ac6c8(0xe6)]=void 0x0;function a2_0x5575(_0x9f1a9a,_0x314374){const _0x4f6aac=a2_0x4f6a();return a2_0x5575=function(_0x55750d,_0x8459f8){_0x55750d=_0x55750d-0xa0;let _0x7556a0=_0x4f6aac[_0x55750d];return _0x7556a0;},a2_0x5575(_0x9f1a9a,_0x314374);}const decorator_1=require('@midwayjs/decorator'),core_1=require(a2_0x2ac6c8(0xbc)),ApiError_1=require(a2_0x2ac6c8(0xe1)),ApiService_1=require(a2_0x2ac6c8(0xdc)),action_1=require(a2_0x2ac6c8(0xc1)),fs=require('fs'),koa=require(a2_0x2ac6c8(0xd7)),i18n=require(a2_0x2ac6c8(0xe2)),task=require('@midwayjs/task'),upload=require(a2_0x2ac6c8(0xee)),staticFile=require(a2_0x2ac6c8(0xf9)),crossDomain=require(a2_0x2ac6c8(0xdb)),bodyXml=require('koa-xml-body'),bodyParser=require(a2_0x2ac6c8(0xba)),ConfigDefault=require('./config/config.default'),ConfigProduction=require(a2_0x2ac6c8(0xe3)),anncic=require(a2_0x2ac6c8(0xb9)),anncicEvent=require('@anncic-api/event'),anncicTypeorm=require('@anncic-api/typeorm'),anncicValidator=require(a2_0x2ac6c8(0xf7)),anncicHelper=require(a2_0x2ac6c8(0xbd));let CustomConfiguration=class CustomConfiguration{async['onReady'](){const _0x4b6ddf=a2_0x2ac6c8;await this[_0x4b6ddf(0xec)](),await this[_0x4b6ddf(0xc9)](),await this[_0x4b6ddf(0xa3)](),await this['hanlderApplications']();}async['checkConfigKeys'](){}async[a2_0x2ac6c8(0xa3)](){const _0x46c42e=a2_0x2ac6c8,_0x4cc033=this[_0x46c42e(0xd0)]['getConfiguration']();this[_0x46c42e(0xa6)]['registerMethodHandler'](action_1['ACTION_ROUTE_KEY'],_0x22548f=>{const _0x9a5dba=_0x22548f['metadata'];return{'before':async _0x154760=>{const _0x2a303a=a2_0x5575;var _0x53e79d,_0x21d1e0,_0x23cf96,_0x36ab5f,_0x16f118;const _0x5a0997=(_0x53e79d=_0x154760===null||_0x154760===void 0x0?void 0x0:_0x154760['target'])===null||_0x53e79d===void 0x0?void 0x0:_0x53e79d[core_1[_0x2a303a(0xf3)]];if(_0x5a0997){if((_0x9a5dba===null||_0x9a5dba===void 0x0?void 0x0:_0x9a5dba[_0x2a303a(0xab)])&&!this[_0x2a303a(0xd4)][_0x2a303a(0xef)]((_0x21d1e0=_0x5a0997===null||_0x5a0997===void 0x0?void 0x0:_0x5a0997[_0x2a303a(0xc2)])===null||_0x21d1e0===void 0x0?void 0x0:_0x21d1e0[_0x2a303a(0xd9)]))throw new AnnError(ApiError_1['ApiError'][_0x2a303a(0xac)]);((_0x23cf96=_0x5a0997[_0x2a303a(0xd9)])===null||_0x23cf96===void 0x0?void 0x0:_0x23cf96[_0x2a303a(0xb6)])&&((_0x16f118=(_0x36ab5f=_0x4cc033===null||_0x4cc033===void 0x0?void 0x0:_0x4cc033[_0x2a303a(0xd8)])===null||_0x36ab5f===void 0x0?void 0x0:_0x36ab5f['devices'])===null||_0x16f118===void 0x0?void 0x0:_0x16f118[_0x5a0997[_0x2a303a(0xd9)]['device']])&&(typeof _0x4cc033[_0x2a303a(0xd8)][_0x2a303a(0xbb)][_0x5a0997[_0x2a303a(0xd9)]['device']]['beforeRoute']==_0x2a303a(0xf0)&&await _0x4cc033[_0x2a303a(0xd8)][_0x2a303a(0xbb)][_0x5a0997[_0x2a303a(0xd9)][_0x2a303a(0xb6)]][_0x2a303a(0xf8)]((_0x5a0997===null||_0x5a0997===void 0x0?void 0x0:_0x5a0997[_0x2a303a(0xb1)])||undefined,_0x9a5dba,_0x5a0997));}},'afterThrow':(_0x473bbb,_0xd64b47)=>{throw _0xd64b47;}};});}async[a2_0x2ac6c8(0xf2)](){const _0x46f65b=a2_0x2ac6c8;this[_0x46f65b(0xa9)][_0x46f65b(0xc8)](['koa'])[_0x46f65b(0xce)](_0x5a25d0=>{const _0x36375e=_0x46f65b;_0x5a25d0['useMiddleware'](bodyXml(this['config'][_0x36375e(0xe4)](_0x36375e(0xea)))),_0x5a25d0['useMiddleware'](bodyParser(this[_0x36375e(0xd0)][_0x36375e(0xe4)](_0x36375e(0xa7)))),(_0x5a25d0===null||_0x5a25d0===void 0x0?void 0x0:_0x5a25d0[_0x36375e(0xca)])&&Object[_0x36375e(0xc6)](_0x5a25d0[_0x36375e(0xca)],{'ok':{'value':function(_0x357460,_0x52bc5a,_0x499393=0x0){return{'code':_0x499393,'data':_0x357460,'extra':_0x52bc5a};}},'err':{'value':function(_0x527980,_0x2ccad7,_0x3f645b=0x1){return{'code':_0x3f645b,'extra':_0x2ccad7,'msg':_0x527980};}},'input':{'value':function(_0x3fb553,_0x3ba26d){const _0x1594d2=_0x36375e;var _0x5ad814;const _0x2e33b7=lodash['defaultsDeep']({},this[_0x1594d2(0xc2)][_0x1594d2(0xcd)]||this[_0x1594d2(0xc2)][((_0x5ad814=config===null||config===void 0x0?void 0x0:config[_0x1594d2(0xea)])===null||_0x5ad814===void 0x0?void 0x0:_0x5ad814[_0x1594d2(0xaa)])||'body']||{},this['request'][_0x1594d2(0xc4)]||{});return _0x3fb553?lodash[_0x1594d2(0xc3)](_0x2e33b7,_0x3fb553,_0x3ba26d):_0x2e33b7;}},'when':{'value':async function(_0x2e6e71,_0x24468e){const _0x1ab18d=_0x36375e,_0x14a776=this['input'](_0x2e6e71,null);if(!lodash[_0x1ab18d(0xcf)](_0x14a776))return await _0x24468e(_0x14a776);}},'only':{'value':function(_0x441572){const _0x45e41a=_0x36375e,_0x4bd140={};for(let _0x3917a1=0x0;_0x3917a1<_0x441572[_0x45e41a(0xad)];_0x3917a1++){lodash[_0x45e41a(0xa4)](_0x441572[_0x3917a1])&&_0x441572[_0x3917a1][_0x45e41a(0xad)]>0x0&&lodash[_0x45e41a(0xa2)](_0x441572[_0x3917a1][0x0])&&(_0x4bd140[_0x441572[_0x3917a1][0x0]]=this[_0x45e41a(0xf6)](_0x441572[_0x3917a1][0x0],_0x441572[_0x3917a1]['length']>0x1?_0x441572[_0x3917a1][0x1]:null));}return _0x4bd140;}}});});}async['filterConfig'](){const _0x265d25=a2_0x2ac6c8;var _0x10138f,_0x371a1d,_0x4fdc87,_0x515ca2,_0x2375d0,_0x22d695;const _0x183ff3=this[_0x265d25(0xd0)][_0x265d25(0xe4)]();((_0x371a1d=(_0x10138f=_0x183ff3===null||_0x183ff3===void 0x0?void 0x0:_0x183ff3[_0x265d25(0xd8)])===null||_0x10138f===void 0x0?void 0x0:_0x10138f[_0x265d25(0xbb)])===null||_0x371a1d===void 0x0?void 0x0:_0x371a1d[_0x265d25(0xae)])&&Object['keys'](_0x183ff3['anncicapi'][_0x265d25(0xbb)])[_0x265d25(0xad)]>0x1&&delete _0x183ff3[_0x265d25(0xd8)]['devices'][_0x265d25(0xae)];if((_0x4fdc87=_0x183ff3===null||_0x183ff3===void 0x0?void 0x0:_0x183ff3[_0x265d25(0xc5)])===null||_0x4fdc87===void 0x0?void 0x0:_0x4fdc87[_0x265d25(0xbf)])for(const _0x3af4e9 in _0x183ff3['staticFile']['dirs']){((_0x515ca2=_0x183ff3[_0x265d25(0xc5)][_0x265d25(0xbf)][_0x3af4e9])===null||_0x515ca2===void 0x0?void 0x0:_0x515ca2[_0x265d25(0xe9)])&&typeof((_0x2375d0=_0x183ff3[_0x265d25(0xc5)][_0x265d25(0xbf)][_0x3af4e9])===null||_0x2375d0===void 0x0?void 0x0:_0x2375d0[_0x265d25(0xe9)])=='string'&&!fs['existsSync'](_0x183ff3[_0x265d25(0xc5)]['dirs'][_0x3af4e9][_0x265d25(0xe9)])&&(fs[_0x265d25(0xb4)](_0x183ff3['staticFile'][_0x265d25(0xbf)][_0x3af4e9][_0x265d25(0xe9)],{'recursive':!![]}),console[_0x265d25(0xbe)](_0x265d25(0xc0)+_0x183ff3['staticFile'][_0x265d25(0xbf)][_0x3af4e9][_0x265d25(0xe9)]));}((_0x22d695=_0x183ff3===null||_0x183ff3===void 0x0?void 0x0:_0x183ff3['upload'])===null||_0x22d695===void 0x0?void 0x0:_0x22d695[_0x265d25(0xcc)])&&!fs['existsSync'](_0x183ff3['upload']['tmpdir'])&&(fs[_0x265d25(0xb4)](_0x183ff3['upload'][_0x265d25(0xcc)],{'recursive':!![]}),console[_0x265d25(0xbe)](_0x265d25(0xa8)+_0x183ff3[_0x265d25(0xde)]['tmpdir'])),this[_0x265d25(0xd0)][_0x265d25(0xa5)](_0x183ff3);}};function a2_0x4f6a(){const _0x9708aa=['__decorate','33rMdKFl','@anncic-api/core','koa-bodyparser','devices','@midwayjs/core','anncic-apihelper','log','dirs','Anncic-api\x20static-file\x20:\x20mkdir\x20','./types/action','request','get','query','staticFile','defineProperties','design:type','getApplications','checkConfigKeys','context','__esModule','tmpdir','body','forEach','isNull','config','anncic-api','32748ISAymx','10691379WLGajT','ApiService','3772775PTUTxe','MidwayConfigService','@midwayjs/koa','anncicapi','headers','getOwnPropertyDescriptor','@midwayjs/cross-domain','./service/ApiService','MidwayDecoratorService','upload','8VJfjGF','prototype','./exception/ApiError','@midwayjs/i18n','./config/config.production','getConfiguration','Configuration','CustomConfiguration','metadata','7057300gGPryq','dir','bodyXml','2456545jTRZeP','filterConfig','2844kArqBt','@midwayjs/upload','checksign','function','MidwayApplicationManager','hanlderApplications','REQUEST_OBJ_CTX_KEY','357MVaEda','MidwayEnvironmentService','input','@anncic-api/validator','beforeRoute','@midwayjs/static-file','environment','Inject','isString','handlerActionRoute','isArray','addObject','decorator','bodyParser','Anncic-api\x20upload-tmpdir\x20:\x20mkdir\x20','application','key','apimit','HEADERS_SIGNATURE','length','DEFAULT','defineProperty','108AahmbA','_matchedRoute','2244726jyHqnm','object','mkdirSync','decorate','device'];a2_0x4f6a=function(){return _0x9708aa;};return a2_0x4f6a();}__decorate([(0x0,decorator_1[a2_0x2ac6c8(0xa1)])(),__metadata(a2_0x2ac6c8(0xc7),core_1[a2_0x2ac6c8(0xd6)])],CustomConfiguration['prototype'],'config',void 0x0),__decorate([(0x0,decorator_1[a2_0x2ac6c8(0xa1)])(),__metadata('design:type',core_1[a2_0x2ac6c8(0xdd)])],CustomConfiguration['prototype'],a2_0x2ac6c8(0xa6),void 0x0),__decorate([(0x0,decorator_1[a2_0x2ac6c8(0xa1)])(),__metadata('design:type',core_1[a2_0x2ac6c8(0xf1)])],CustomConfiguration['prototype'],a2_0x2ac6c8(0xa9),void 0x0),__decorate([(0x0,decorator_1[a2_0x2ac6c8(0xa1)])(),__metadata(a2_0x2ac6c8(0xc7),core_1[a2_0x2ac6c8(0xf5)])],CustomConfiguration[a2_0x2ac6c8(0xe0)],a2_0x2ac6c8(0xa0),void 0x0),__decorate([(0x0,decorator_1[a2_0x2ac6c8(0xa1)])(),__metadata('design:type',ApiService_1['ApiService'])],CustomConfiguration[a2_0x2ac6c8(0xe0)],a2_0x2ac6c8(0xd4),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a2_0x2ac6c8(0xe5)])({'imports':[koa,i18n,upload,staticFile,crossDomain,anncic,anncicEvent,anncicTypeorm,anncicValidator,anncicHelper,task],'namespace':a2_0x2ac6c8(0xd1),'conflictCheck':![],'importConfigs':[{'default':ConfigDefault,'production':ConfigProduction}]})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a3_0x420d73=a3_0x4194;(function(_0x211cd5,_0x491779){const _0x5a6111=a3_0x4194,_0x2cda49=_0x211cd5();while(!![]){try{const _0x10a505=parseInt(_0x5a6111(0x138))/0x1*(parseInt(_0x5a6111(0x133))/0x2)+parseInt(_0x5a6111(0x13c))/0x3*(parseInt(_0x5a6111(0x121))/0x4)+parseInt(_0x5a6111(0x145))/0x5+parseInt(_0x5a6111(0x148))/0x6+-parseInt(_0x5a6111(0x123))/0x7+parseInt(_0x5a6111(0x128))/0x8*(-parseInt(_0x5a6111(0x135))/0x9)+-parseInt(_0x5a6111(0x119))/0xa;if(_0x10a505===_0x491779)break;else _0x2cda49['push'](_0x2cda49['shift']());}catch(_0x175ab1){_0x2cda49['push'](_0x2cda49['shift']());}}}(a3_0x576b,0xcdfce));Object[a3_0x420d73(0x11e)](exports,a3_0x420d73(0x13f),{'value':!![]}),exports[a3_0x420d73(0x124)]=exports['Action']=void 0x0;const fs=require('fs'),decorator_1=require(a3_0x420d73(0x147)),action_1=require(a3_0x420d73(0x13a));function Action(_0x465a7c,_0x38e614,_0x4be00c={'middleware':[],'sensitive':!![]}){return _0x4bb814=>{const _0x17d228=a3_0x4194;_0x4be00c[_0x17d228(0x12f)]=_0x38e614;const _0x1b4b43=parseRoute(_0x465a7c);if(_0x1b4b43[_0x17d228(0x122)]){_0x4be00c['prefix']=_0x4be00c[_0x17d228(0x132)]?'/'+_0x1b4b43['module']+'/'+_0x4be00c[_0x17d228(0x132)]:'/'+_0x1b4b43[_0x17d228(0x139)];_0x1b4b43[_0x17d228(0x132)]&&(_0x4be00c['prefix']='/'+_0x1b4b43[_0x17d228(0x132)]+'/'+_0x4be00c[_0x17d228(0x132)]);if(fs['existsSync'](_0x1b4b43['rootpath']+_0x17d228(0x137)+_0x1b4b43[_0x17d228(0x122)]+_0x17d228(0x146)+(lodash[_0x17d228(0x149)](_0x1b4b43[_0x17d228(0x13d)],'ts')?'ts':'js'))){const _0x42a35f=include(_0x1b4b43[_0x17d228(0x127)]+_0x17d228(0x137)+_0x1b4b43[_0x17d228(0x122)]+_0x17d228(0x146)+(lodash['endsWith'](_0x1b4b43[_0x17d228(0x13d)],'ts')?'ts':'js'));if(_0x42a35f[_0x17d228(0x11a)]&&lodash[_0x17d228(0x11c)](_0x42a35f[_0x17d228(0x11a)])&&_0x42a35f['middleware'][_0x17d228(0x120)]>0x0)for(let _0x4f3270 in _0x42a35f[_0x17d228(0x11a)]){_0x42a35f[_0x17d228(0x12d)][_0x17d228(0x142)](_0x42a35f[_0x17d228(0x11a)][_0x4f3270])==-0x1&&_0x4be00c[_0x17d228(0x11a)][_0x17d228(0x11b)](_0x42a35f[_0x17d228(0x11a)][_0x4f3270]);}}_0x4be00c[_0x17d228(0x132)]=_0x4be00c[_0x17d228(0x132)]['toLowerCase']()['replace'](/\/{2,}/g,'/'),(0x0,decorator_1['saveModule'])(action_1[_0x17d228(0x140)],_0x4bb814),(0x0,decorator_1[_0x17d228(0x118)])(_0x4be00c[_0x17d228(0x132)],_0x4be00c)(_0x4bb814),(0x0,decorator_1[_0x17d228(0x13b)])(action_1['ACTION_KEY'],{'prefix':_0x4be00c[_0x17d228(0x132)],'pprefix':_0x1b4b43['prefix'],'module':_0x1b4b43[_0x17d228(0x122)],'filepath':_0x1b4b43[_0x17d228(0x13d)],'routerOptions':_0x4be00c},_0x4bb814);}else _0x4be00c[_0x17d228(0x132)]=_0x4be00c[_0x17d228(0x132)]?'/'+_0x4be00c[_0x17d228(0x132)]:'/'+_0x1b4b43[_0x17d228(0x139)],_0x1b4b43[_0x17d228(0x132)]&&(_0x4be00c[_0x17d228(0x132)]='/'+_0x1b4b43[_0x17d228(0x132)]+'/'+_0x4be00c['prefix']),_0x4be00c[_0x17d228(0x132)]=_0x4be00c[_0x17d228(0x132)][_0x17d228(0x126)]()[_0x17d228(0x13e)](/\/{2,}/g,'/'),(0x0,decorator_1[_0x17d228(0x14b)])(action_1[_0x17d228(0x140)],_0x4bb814),(0x0,decorator_1[_0x17d228(0x118)])(_0x4be00c[_0x17d228(0x132)],_0x4be00c)(_0x4bb814),(0x0,decorator_1[_0x17d228(0x13b)])(action_1[_0x17d228(0x140)],{'prefix':_0x4be00c[_0x17d228(0x132)],'module':_0x1b4b43[_0x17d228(0x122)],'pprefix':_0x1b4b43[_0x17d228(0x132)],'filepath':_0x1b4b43[_0x17d228(0x13d)],'routerOptions':_0x4be00c},_0x4bb814);};}exports[a3_0x420d73(0x131)]=Action;function parseRoute(_0x3eee70){const _0x580f32=a3_0x420d73;_0x3eee70=_0x3eee70['replace'](/(\\|\/)/g,'/');const _0xcd786f=process[_0x580f32(0x130)]()['replace'](/(\\|\/)/g,'/'),_0x1cd13f=_0x3eee70['substring'](0x0,_0xcd786f['length']+_0x3eee70[_0x580f32(0x141)](_0xcd786f[_0x580f32(0x120)]+0x1)[_0x580f32(0x142)]('/')+0x1),_0x3e8d2b=_0x3eee70[_0x580f32(0x141)](_0x1cd13f[_0x580f32(0x120)]+0x1)[_0x580f32(0x13e)](/(\\|\/)/g,'/'),_0xe0ecd2={'route':'','prefix':![],'module':![],'rootpath':_0x1cd13f,'filepath':_0x3e8d2b};if(_0x3e8d2b[_0x580f32(0x11d)](_0x580f32(0x12a))){const _0x444765=_0x3e8d2b[_0x580f32(0x141)](_0x580f32(0x12a)['length'])['split']('/')['filter'](_0x5373ba=>_0x5373ba&&_0x5373ba[_0x580f32(0x14a)]());return _0x444765[_0x580f32(0x120)]>0x1&&(_0xe0ecd2['prefix']=_0x444765[0x0][_0x580f32(0x126)](),_0x444765[_0x580f32(0x144)](0x0,0x1)),_0xe0ecd2[_0x580f32(0x139)]=('/'+_0x444765[_0x580f32(0x11f)]('/'))['replace'](/(\.ts|\.js)$/,'')[_0x580f32(0x13e)](/\/{2,}/g,'/')[_0x580f32(0x136)](/[\/|A-Z]*[^A-Z]+/g)[_0x580f32(0x11f)]('-')[_0x580f32(0x126)]()[_0x580f32(0x13e)](/\/\-/g,'/'),_0xe0ecd2['route'][_0x580f32(0x149)]('-action')&&(_0xe0ecd2[_0x580f32(0x139)]=_0xe0ecd2[_0x580f32(0x139)][_0x580f32(0x141)](0x0,_0xe0ecd2[_0x580f32(0x139)][_0x580f32(0x120)]-0x7)),_0xe0ecd2[_0x580f32(0x139)][_0x580f32(0x149)](_0x580f32(0x12c))&&(_0xe0ecd2[_0x580f32(0x139)]=_0xe0ecd2[_0x580f32(0x139)][_0x580f32(0x141)](0x0,_0xe0ecd2[_0x580f32(0x139)]['length']-0xb)),_0xe0ecd2;}else{if(_0x3e8d2b['startsWith'](_0x580f32(0x129))){const _0x5b0ba7=_0x3e8d2b[_0x580f32(0x141)](0x0,_0x3e8d2b[_0x580f32(0x142)](_0x580f32(0x137))+0x5),_0x5b6403=_0x3e8d2b[_0x580f32(0x141)](_0x5b0ba7[_0x580f32(0x120)]+0x1)[_0x580f32(0x13e)](/(\\|\/)/g,'/')[_0x580f32(0x125)]('/')[0x0];if(_0x3e8d2b[_0x580f32(0x11d)](_0x580f32(0x129)+_0x5b6403+_0x580f32(0x12e))){const _0x10b1cb=_0x3e8d2b['substring']((_0x5b0ba7+'/'+_0x5b6403+_0x580f32(0x12e))[_0x580f32(0x120)])[_0x580f32(0x125)]('/')['filter'](_0x2e440b=>_0x2e440b&&_0x2e440b[_0x580f32(0x14a)]());return _0x10b1cb[_0x580f32(0x120)]>0x1&&(_0xe0ecd2[_0x580f32(0x132)]=_0x10b1cb[0x0][_0x580f32(0x126)](),_0x10b1cb['splice'](0x0,0x1)),_0xe0ecd2[_0x580f32(0x122)]=_0x5b6403,_0xe0ecd2[_0x580f32(0x139)]=('/'+_0x5b6403+'/'+_0x10b1cb['join']('/'))[_0x580f32(0x13e)](/(\.ts|\.js)$/,'')[_0x580f32(0x13e)](/\/{2,}/,'/')[_0x580f32(0x136)](/[\/|A-Z]*[^A-Z]+/g)[_0x580f32(0x11f)]('-')[_0x580f32(0x126)]()[_0x580f32(0x13e)](/\/\-/g,'/'),_0xe0ecd2[_0x580f32(0x139)][_0x580f32(0x149)](_0x580f32(0x12b))&&(_0xe0ecd2[_0x580f32(0x139)]=_0xe0ecd2[_0x580f32(0x139)][_0x580f32(0x141)](0x0,_0xe0ecd2[_0x580f32(0x139)][_0x580f32(0x120)]-0x7)),_0xe0ecd2['route'][_0x580f32(0x149)](_0x580f32(0x12c))&&(_0xe0ecd2[_0x580f32(0x139)]=_0xe0ecd2[_0x580f32(0x139)][_0x580f32(0x141)](0x0,_0xe0ecd2[_0x580f32(0x139)][_0x580f32(0x120)]-0xb)),_0xe0ecd2;}throw new Error(_0x3e8d2b+'\x20文件请放在apps/'+_0x5b6403+_0x580f32(0x134));}}throw new Error(_0x3e8d2b+_0x580f32(0x143));}function a3_0x4194(_0x325f3f,_0x905766){const _0x576be6=a3_0x576b();return a3_0x4194=function(_0x419443,_0x4b6074){_0x419443=_0x419443-0x118;let _0x883d36=_0x576be6[_0x419443];return _0x883d36;},a3_0x4194(_0x325f3f,_0x905766);}function a3_0x576b(){const _0x3d0a57=['module','9930137ajeOPJ','parseRoute','split','toLowerCase','rootpath','40dEPvwr','apps/','app/controller/','-action','-controller','middlewareIgnore','/controller/','tagName','cwd','Action','prefix','2xlQChi','/controller/文件下','2281932RbHVIX','match','/apps/','755215iFGrQm','route','../types/action','saveClassMetadata','1752TRRjqJ','filepath','replace','__esModule','ACTION_KEY','substring','indexOf','\x20文件请放在app/controller/文件下','splice','6520815RrHuZF','/config.','@midwayjs/decorator','8254104RnHbVt','endsWith','trim','saveModule','Controller','8610130Bpijfe','middleware','push','isArray','startsWith','defineProperty','join','length','6548ZGmHXN'];a3_0x576b=function(){return _0x3d0a57;};return a3_0x576b();}exports[a3_0x420d73(0x124)]=parseRoute;
1
+ 'use strict';const a3_0x98ab97=a3_0x19f3;(function(_0x2c1f8e,_0x44e2ba){const _0x496d0c=a3_0x19f3,_0x500a7e=_0x2c1f8e();while(!![]){try{const _0x578b99=-parseInt(_0x496d0c(0x85))/0x1*(parseInt(_0x496d0c(0x86))/0x2)+parseInt(_0x496d0c(0x84))/0x3*(parseInt(_0x496d0c(0x83))/0x4)+-parseInt(_0x496d0c(0x92))/0x5+parseInt(_0x496d0c(0x70))/0x6*(-parseInt(_0x496d0c(0x8a))/0x7)+parseInt(_0x496d0c(0x76))/0x8+parseInt(_0x496d0c(0x97))/0x9+parseInt(_0x496d0c(0x9d))/0xa;if(_0x578b99===_0x44e2ba)break;else _0x500a7e['push'](_0x500a7e['shift']());}catch(_0x41512b){_0x500a7e['push'](_0x500a7e['shift']());}}}(a3_0x49c9,0xbf633));Object[a3_0x98ab97(0x94)](exports,a3_0x98ab97(0x71),{'value':!![]}),exports[a3_0x98ab97(0x7c)]=exports[a3_0x98ab97(0x81)]=void 0x0;function a3_0x19f3(_0x2e76fa,_0x529222){const _0x49c963=a3_0x49c9();return a3_0x19f3=function(_0x19f3d2,_0x11a22c){_0x19f3d2=_0x19f3d2-0x6f;let _0x59773d=_0x49c963[_0x19f3d2];return _0x59773d;},a3_0x19f3(_0x2e76fa,_0x529222);}function a3_0x49c9(){const _0x203992=['651ciddnj','1HVQtdb','1270168YCGMcO','split','/controller/','trim','2576CMYBlP','filter','prefix','middleware','substring','-controller','/apps/','splice','2271160vRhnTJ','/controller/文件下','defineProperty','saveModule','indexOf','9783702klONPm','rootpath','existsSync','module','push','join','7274470kYSrCR','middlewareIgnore','/config.','app/controller/','isArray','endsWith','toLowerCase','cwd','18978ksvAbA','__esModule','filepath','Controller','\x20文件请放在app/controller/文件下','startsWith','6175912oPfTTO','route','length','saveClassMetadata','\x20文件请放在apps/','ACTION_KEY','parseRoute','replace','-action','apps/','match','Action','tagName','8308IMNgNg'];a3_0x49c9=function(){return _0x203992;};return a3_0x49c9();}const fs=require('fs'),decorator_1=require('@midwayjs/decorator'),action_1=require('../types/action');function Action(_0x2cfd50,_0x1014e6,_0x581ecb={'middleware':[],'sensitive':!![]}){return _0x3e1fa2=>{const _0x37ed50=a3_0x19f3;_0x581ecb[_0x37ed50(0x82)]=_0x1014e6;const _0x293c64=parseRoute(_0x2cfd50);if(_0x293c64['module']){_0x581ecb[_0x37ed50(0x8c)]=_0x581ecb[_0x37ed50(0x8c)]?'/'+_0x293c64[_0x37ed50(0x9a)]+'/'+_0x581ecb[_0x37ed50(0x8c)]:'/'+_0x293c64['route'];_0x293c64['prefix']&&(_0x581ecb[_0x37ed50(0x8c)]='/'+_0x293c64[_0x37ed50(0x8c)]+'/'+_0x581ecb[_0x37ed50(0x8c)]);if(fs[_0x37ed50(0x99)](_0x293c64[_0x37ed50(0x98)]+'/apps/'+_0x293c64[_0x37ed50(0x9a)]+'/config.'+(lodash['endsWith'](_0x293c64[_0x37ed50(0x72)],'ts')?'ts':'js'))){const _0x554b0f=include(_0x293c64[_0x37ed50(0x98)]+_0x37ed50(0x90)+_0x293c64['module']+_0x37ed50(0x9f)+(lodash['endsWith'](_0x293c64[_0x37ed50(0x72)],'ts')?'ts':'js'));if(_0x554b0f[_0x37ed50(0x8d)]&&lodash[_0x37ed50(0xa1)](_0x554b0f[_0x37ed50(0x8d)])&&_0x554b0f[_0x37ed50(0x8d)][_0x37ed50(0x78)]>0x0)for(let _0x5f3bb4 in _0x554b0f[_0x37ed50(0x8d)]){_0x554b0f[_0x37ed50(0x9e)][_0x37ed50(0x96)](_0x554b0f[_0x37ed50(0x8d)][_0x5f3bb4])==-0x1&&_0x581ecb[_0x37ed50(0x8d)][_0x37ed50(0x9b)](_0x554b0f[_0x37ed50(0x8d)][_0x5f3bb4]);}}_0x581ecb[_0x37ed50(0x8c)]=_0x581ecb[_0x37ed50(0x8c)]['toLowerCase']()[_0x37ed50(0x7d)](/\/{2,}/g,'/'),(0x0,decorator_1[_0x37ed50(0x95)])(action_1[_0x37ed50(0x7b)],_0x3e1fa2),(0x0,decorator_1[_0x37ed50(0x73)])(_0x581ecb[_0x37ed50(0x8c)],_0x581ecb)(_0x3e1fa2),(0x0,decorator_1[_0x37ed50(0x79)])(action_1[_0x37ed50(0x7b)],{'prefix':_0x581ecb[_0x37ed50(0x8c)],'pprefix':_0x293c64[_0x37ed50(0x8c)],'module':_0x293c64[_0x37ed50(0x9a)],'filepath':_0x293c64[_0x37ed50(0x72)],'routerOptions':_0x581ecb},_0x3e1fa2);}else _0x581ecb[_0x37ed50(0x8c)]=_0x581ecb['prefix']?'/'+_0x581ecb[_0x37ed50(0x8c)]:'/'+_0x293c64[_0x37ed50(0x77)],_0x293c64[_0x37ed50(0x8c)]&&(_0x581ecb['prefix']='/'+_0x293c64[_0x37ed50(0x8c)]+'/'+_0x581ecb[_0x37ed50(0x8c)]),_0x581ecb[_0x37ed50(0x8c)]=_0x581ecb[_0x37ed50(0x8c)][_0x37ed50(0xa3)]()[_0x37ed50(0x7d)](/\/{2,}/g,'/'),(0x0,decorator_1[_0x37ed50(0x95)])(action_1['ACTION_KEY'],_0x3e1fa2),(0x0,decorator_1['Controller'])(_0x581ecb[_0x37ed50(0x8c)],_0x581ecb)(_0x3e1fa2),(0x0,decorator_1[_0x37ed50(0x79)])(action_1['ACTION_KEY'],{'prefix':_0x581ecb['prefix'],'module':_0x293c64['module'],'pprefix':_0x293c64['prefix'],'filepath':_0x293c64['filepath'],'routerOptions':_0x581ecb},_0x3e1fa2);};}exports[a3_0x98ab97(0x81)]=Action;function parseRoute(_0x48b6af){const _0xdd3805=a3_0x98ab97;_0x48b6af=_0x48b6af[_0xdd3805(0x7d)](/(\\|\/)/g,'/');const _0x2b05d7=process[_0xdd3805(0x6f)]()['replace'](/(\\|\/)/g,'/'),_0xd1b88b=_0x48b6af['substring'](0x0,_0x2b05d7[_0xdd3805(0x78)]+_0x48b6af[_0xdd3805(0x8e)](_0x2b05d7[_0xdd3805(0x78)]+0x1)[_0xdd3805(0x96)]('/')+0x1),_0x13c08b=_0x48b6af[_0xdd3805(0x8e)](_0xd1b88b[_0xdd3805(0x78)]+0x1)[_0xdd3805(0x7d)](/(\\|\/)/g,'/'),_0x462c24={'route':'','prefix':![],'module':![],'rootpath':_0xd1b88b,'filepath':_0x13c08b};if(_0x13c08b[_0xdd3805(0x75)](_0xdd3805(0xa0))){const _0x46d517=_0x13c08b[_0xdd3805(0x8e)](_0xdd3805(0xa0)[_0xdd3805(0x78)])[_0xdd3805(0x87)]('/')['filter'](_0xcee65=>_0xcee65&&_0xcee65[_0xdd3805(0x89)]());return _0x46d517[_0xdd3805(0x78)]>0x1&&(_0x462c24[_0xdd3805(0x8c)]=_0x46d517[0x0]['toLowerCase'](),_0x46d517[_0xdd3805(0x91)](0x0,0x1)),_0x462c24['route']=('/'+_0x46d517[_0xdd3805(0x9c)]('/'))[_0xdd3805(0x7d)](/(\.ts|\.js)$/,'')['replace'](/\/{2,}/g,'/')[_0xdd3805(0x80)](/[\/|A-Z]*[^A-Z]+/g)['join']('-')[_0xdd3805(0xa3)]()[_0xdd3805(0x7d)](/\/\-/g,'/'),_0x462c24[_0xdd3805(0x77)][_0xdd3805(0xa2)](_0xdd3805(0x7e))&&(_0x462c24[_0xdd3805(0x77)]=_0x462c24[_0xdd3805(0x77)][_0xdd3805(0x8e)](0x0,_0x462c24['route'][_0xdd3805(0x78)]-0x7)),_0x462c24['route'][_0xdd3805(0xa2)](_0xdd3805(0x8f))&&(_0x462c24['route']=_0x462c24[_0xdd3805(0x77)][_0xdd3805(0x8e)](0x0,_0x462c24[_0xdd3805(0x77)]['length']-0xb)),_0x462c24;}else{if(_0x13c08b['startsWith'](_0xdd3805(0x7f))){const _0x2b4a09=_0x13c08b[_0xdd3805(0x8e)](0x0,_0x13c08b[_0xdd3805(0x96)]('/apps/')+0x5),_0x5bbee6=_0x13c08b[_0xdd3805(0x8e)](_0x2b4a09[_0xdd3805(0x78)]+0x1)[_0xdd3805(0x7d)](/(\\|\/)/g,'/')[_0xdd3805(0x87)]('/')[0x0];if(_0x13c08b[_0xdd3805(0x75)](_0xdd3805(0x7f)+_0x5bbee6+_0xdd3805(0x88))){const _0x4d8f0c=_0x13c08b[_0xdd3805(0x8e)]((_0x2b4a09+'/'+_0x5bbee6+_0xdd3805(0x88))[_0xdd3805(0x78)])[_0xdd3805(0x87)]('/')[_0xdd3805(0x8b)](_0x5ec916=>_0x5ec916&&_0x5ec916[_0xdd3805(0x89)]());return _0x4d8f0c[_0xdd3805(0x78)]>0x1&&(_0x462c24[_0xdd3805(0x8c)]=_0x4d8f0c[0x0]['toLowerCase'](),_0x4d8f0c[_0xdd3805(0x91)](0x0,0x1)),_0x462c24[_0xdd3805(0x9a)]=_0x5bbee6,_0x462c24['route']=('/'+_0x5bbee6+'/'+_0x4d8f0c['join']('/'))[_0xdd3805(0x7d)](/(\.ts|\.js)$/,'')[_0xdd3805(0x7d)](/\/{2,}/,'/')[_0xdd3805(0x80)](/[\/|A-Z]*[^A-Z]+/g)[_0xdd3805(0x9c)]('-')['toLowerCase']()[_0xdd3805(0x7d)](/\/\-/g,'/'),_0x462c24[_0xdd3805(0x77)][_0xdd3805(0xa2)](_0xdd3805(0x7e))&&(_0x462c24[_0xdd3805(0x77)]=_0x462c24[_0xdd3805(0x77)][_0xdd3805(0x8e)](0x0,_0x462c24['route'][_0xdd3805(0x78)]-0x7)),_0x462c24[_0xdd3805(0x77)]['endsWith'](_0xdd3805(0x8f))&&(_0x462c24['route']=_0x462c24['route'][_0xdd3805(0x8e)](0x0,_0x462c24[_0xdd3805(0x77)][_0xdd3805(0x78)]-0xb)),_0x462c24;}throw new Error(_0x13c08b+_0xdd3805(0x7a)+_0x5bbee6+_0xdd3805(0x93));}}throw new Error(_0x13c08b+_0xdd3805(0x74));}exports[a3_0x98ab97(0x7c)]=parseRoute;
@@ -1 +1 @@
1
- 'use strict';function a4_0x53c0(_0x4e1e8a,_0x5ee813){const _0x3742b8=a4_0x3742();return a4_0x53c0=function(_0x53c0df,_0x2f1746){_0x53c0df=_0x53c0df-0x19b;let _0x2062ba=_0x3742b8[_0x53c0df];return _0x2062ba;},a4_0x53c0(_0x4e1e8a,_0x5ee813);}const a4_0x5cca0f=a4_0x53c0;(function(_0x530c6a,_0x4c5882){const _0x488326=a4_0x53c0,_0x3fe38e=_0x530c6a();while(!![]){try{const _0x2cd1aa=parseInt(_0x488326(0x1b3))/0x1*(parseInt(_0x488326(0x19d))/0x2)+parseInt(_0x488326(0x19f))/0x3*(parseInt(_0x488326(0x1a3))/0x4)+parseInt(_0x488326(0x1b0))/0x5+-parseInt(_0x488326(0x1ab))/0x6*(-parseInt(_0x488326(0x1bd))/0x7)+parseInt(_0x488326(0x1be))/0x8*(-parseInt(_0x488326(0x1a1))/0x9)+-parseInt(_0x488326(0x1ad))/0xa*(-parseInt(_0x488326(0x1a8))/0xb)+parseInt(_0x488326(0x1aa))/0xc*(-parseInt(_0x488326(0x1b8))/0xd);if(_0x2cd1aa===_0x4c5882)break;else _0x3fe38e['push'](_0x3fe38e['shift']());}catch(_0x556e95){_0x3fe38e['push'](_0x3fe38e['shift']());}}}(a4_0x3742,0xa9593));Object[a4_0x5cca0f(0x19e)](exports,'__esModule',{'value':!![]}),exports[a4_0x5cca0f(0x1a6)]=void 0x0;const validator_1=require('@anncic-api/validator'),decorator_1=require(a4_0x5cca0f(0x1b5)),action_1=require('../types/action');function a4_0x3742(){const _0x20aa35=['78021UjaIZp','ACTION_ROUTE_KEY','92952REznER','del','128KINaKc','utc','createCustomMethodDecorator','Api','validationOptions','3014PUiCRr','length','900xEqRwY','6800328EqNirQ','get','25340muWkbh','routerName','Validator','3037135PDrXPz','middleware','filter','219027QzJNCv','validate','@midwayjs/decorator','apimit','delete','346229ULhIyQ','attachClassMetadata','description','indexOf','toLowerCase','7MohtEB','616pkNgUs','RequestMapping','middlewareIgnore','2bmLozw','defineProperty'];a4_0x3742=function(){return _0x20aa35;};return a4_0x3742();}function Api(_0x2609d5,_0x5cbdd5=a4_0x5cca0f(0x1ac),_0x577053='/',_0x5585ce={'apimit':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x510f0f,_0x29383d,_0x4a97d3)=>{const _0x9a2ef5=a4_0x53c0;var _0x50589b,_0x3ac034,_0x4c5a5d;!_0x5585ce[_0x9a2ef5(0x1b1)]&&(_0x5585ce[_0x9a2ef5(0x1b1)]=[]);!((_0x50589b=_0x5585ce===null||_0x5585ce===void 0x0?void 0x0:_0x5585ce['validate'])===null||_0x50589b===void 0x0?void 0x0:_0x50589b[_0x9a2ef5(0x1a7)])&&(_0x5585ce[_0x9a2ef5(0x1b4)]={'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':_0x9a2ef5(0x1a4)}});if(((_0x3ac034=_0x5585ce===null||_0x5585ce===void 0x0?void 0x0:_0x5585ce[_0x9a2ef5(0x1b1)])===null||_0x3ac034===void 0x0?void 0x0:_0x3ac034[_0x9a2ef5(0x1a9)])>0x0&&((_0x4c5a5d=_0x5585ce===null||_0x5585ce===void 0x0?void 0x0:_0x5585ce[_0x9a2ef5(0x19c)])===null||_0x4c5a5d===void 0x0?void 0x0:_0x4c5a5d[_0x9a2ef5(0x1a9)])>0x0)for(let _0x59069b in _0x5585ce['middleware']){_0x5585ce[_0x9a2ef5(0x19c)][_0x9a2ef5(0x1bb)](_0x5585ce[_0x9a2ef5(0x1b1)][_0x59069b])!==-0x1&&(_0x5585ce[_0x9a2ef5(0x1b1)][_0x59069b]=null);}_0x5585ce[_0x9a2ef5(0x1ae)]=_0x2609d5,(0x0,validator_1[_0x9a2ef5(0x1af)])(_0x5585ce[_0x9a2ef5(0x1b4)])(_0x510f0f,_0x29383d,_0x4a97d3),(0x0,decorator_1[_0x9a2ef5(0x19b)])(Object['assign'](_0x5585ce,{'path':_0x577053,'requestMethod':(_0x5cbdd5==_0x9a2ef5(0x1a2)?'delete':_0x5cbdd5)[_0x9a2ef5(0x1bc)]()}))(_0x510f0f,_0x29383d,_0x4a97d3),(0x0,decorator_1[_0x9a2ef5(0x1b9)])(action_1[_0x9a2ef5(0x1a0)],{'path':_0x577053,'method':_0x29383d,'apimit':_0x5585ce[_0x9a2ef5(0x1b6)],'routerName':_0x5585ce[_0x9a2ef5(0x1ae)],'description':_0x5585ce[_0x9a2ef5(0x1ba)],'middleware':(_0x5585ce[_0x9a2ef5(0x1b1)]||[])[_0x9a2ef5(0x1b2)](_0x35a487=>!!_0x35a487),'requestMethod':(_0x5cbdd5==_0x9a2ef5(0x1a2)?_0x9a2ef5(0x1b7):_0x5cbdd5)[_0x9a2ef5(0x1bc)]()},_0x510f0f),(0x0,decorator_1[_0x9a2ef5(0x1a5)])(action_1['ACTION_ROUTE_KEY'],{'path':_0x577053,'method':_0x29383d,'apimit':_0x5585ce['apimit'],'routerName':_0x5585ce[_0x9a2ef5(0x1ae)],'description':_0x5585ce[_0x9a2ef5(0x1ba)],'middleware':(_0x5585ce[_0x9a2ef5(0x1b1)]||[])[_0x9a2ef5(0x1b2)](_0x1bf824=>!!_0x1bf824),'requestMethod':(_0x5cbdd5==_0x9a2ef5(0x1a2)?_0x9a2ef5(0x1b7):_0x5cbdd5)[_0x9a2ef5(0x1bc)]()})(_0x510f0f,_0x29383d,_0x4a97d3);};}exports[a4_0x5cca0f(0x1a6)]=Api;
1
+ 'use strict';const a4_0x102818=a4_0x3978;(function(_0x19a788,_0x966ad9){const _0x6f56bd=a4_0x3978,_0x319f8f=_0x19a788();while(!![]){try{const _0x416cda=parseInt(_0x6f56bd(0x1e6))/0x1*(parseInt(_0x6f56bd(0x1f0))/0x2)+parseInt(_0x6f56bd(0x1ee))/0x3*(-parseInt(_0x6f56bd(0x1dc))/0x4)+-parseInt(_0x6f56bd(0x1de))/0x5*(-parseInt(_0x6f56bd(0x1df))/0x6)+-parseInt(_0x6f56bd(0x1d3))/0x7+-parseInt(_0x6f56bd(0x1ed))/0x8+parseInt(_0x6f56bd(0x1d1))/0x9*(parseInt(_0x6f56bd(0x1e4))/0xa)+-parseInt(_0x6f56bd(0x1d8))/0xb;if(_0x416cda===_0x966ad9)break;else _0x319f8f['push'](_0x319f8f['shift']());}catch(_0x4880c4){_0x319f8f['push'](_0x319f8f['shift']());}}}(a4_0x2301,0x4e8d5));Object[a4_0x102818(0x1e3)](exports,a4_0x102818(0x1d7),{'value':!![]}),exports[a4_0x102818(0x1ef)]=void 0x0;const validator_1=require(a4_0x102818(0x1ec)),decorator_1=require(a4_0x102818(0x1e7)),action_1=require(a4_0x102818(0x1d5));function a4_0x3978(_0x1e79df,_0x309cd6){const _0x23015a=a4_0x2301();return a4_0x3978=function(_0x39787f,_0xdf0327){_0x39787f=_0x39787f-0x1cc;let _0x2ad739=_0x23015a[_0x39787f];return _0x2ad739;},a4_0x3978(_0x1e79df,_0x309cd6);}function a4_0x2301(){const _0x26d81a=['1101254lGSmgh','toLowerCase','../types/action','utc','__esModule','10219275eyMxDy','ACTION_ROUTE_KEY','RequestMapping','middlewareIgnore','20zukkaB','indexOf','12435ustrgd','1398tHrZee','assign','middleware','validate','defineProperty','5801630LLUQuO','validationOptions','3541jqxzpM','@midwayjs/decorator','apimit','attachClassMetadata','filter','delete','@anncic-api/validator','1255832ORDCAD','88173iMcdcJ','Api','312dkyjMQ','routerName','createCustomMethodDecorator','Validator','del','description','9eRJOIZ','length'];a4_0x2301=function(){return _0x26d81a;};return a4_0x2301();}function Api(_0x210d06,_0x4b024c='get',_0x3dc770='/',_0x5d3e15={'apimit':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x21a28d,_0x369077,_0x957519)=>{const _0x5d747f=a4_0x3978;var _0x57caeb,_0x30ff41,_0xd4305e;!_0x5d3e15[_0x5d747f(0x1e1)]&&(_0x5d3e15[_0x5d747f(0x1e1)]=[]);!((_0x57caeb=_0x5d3e15===null||_0x5d3e15===void 0x0?void 0x0:_0x5d3e15['validate'])===null||_0x57caeb===void 0x0?void 0x0:_0x57caeb[_0x5d747f(0x1e5)])&&(_0x5d3e15[_0x5d747f(0x1e2)]={'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':_0x5d747f(0x1d6)}});if(((_0x30ff41=_0x5d3e15===null||_0x5d3e15===void 0x0?void 0x0:_0x5d3e15[_0x5d747f(0x1e1)])===null||_0x30ff41===void 0x0?void 0x0:_0x30ff41['length'])>0x0&&((_0xd4305e=_0x5d3e15===null||_0x5d3e15===void 0x0?void 0x0:_0x5d3e15[_0x5d747f(0x1db)])===null||_0xd4305e===void 0x0?void 0x0:_0xd4305e[_0x5d747f(0x1d2)])>0x0)for(let _0x168540 in _0x5d3e15[_0x5d747f(0x1e1)]){_0x5d3e15[_0x5d747f(0x1db)][_0x5d747f(0x1dd)](_0x5d3e15[_0x5d747f(0x1e1)][_0x168540])!==-0x1&&(_0x5d3e15[_0x5d747f(0x1e1)][_0x168540]=null);}_0x5d3e15[_0x5d747f(0x1cc)]=_0x210d06,(0x0,validator_1[_0x5d747f(0x1ce)])(_0x5d3e15[_0x5d747f(0x1e2)])(_0x21a28d,_0x369077,_0x957519),(0x0,decorator_1[_0x5d747f(0x1da)])(Object[_0x5d747f(0x1e0)](_0x5d3e15,{'path':_0x3dc770,'requestMethod':(_0x4b024c==_0x5d747f(0x1cf)?'delete':_0x4b024c)['toLowerCase']()}))(_0x21a28d,_0x369077,_0x957519),(0x0,decorator_1[_0x5d747f(0x1e9)])(action_1['ACTION_ROUTE_KEY'],{'path':_0x3dc770,'method':_0x369077,'apimit':_0x5d3e15[_0x5d747f(0x1e8)],'routerName':_0x5d3e15[_0x5d747f(0x1cc)],'description':_0x5d3e15[_0x5d747f(0x1d0)],'middleware':(_0x5d3e15[_0x5d747f(0x1e1)]||[])[_0x5d747f(0x1ea)](_0x1b8e3d=>!!_0x1b8e3d),'requestMethod':(_0x4b024c==_0x5d747f(0x1cf)?_0x5d747f(0x1eb):_0x4b024c)[_0x5d747f(0x1d4)]()},_0x21a28d),(0x0,decorator_1[_0x5d747f(0x1cd)])(action_1[_0x5d747f(0x1d9)],{'path':_0x3dc770,'method':_0x369077,'apimit':_0x5d3e15[_0x5d747f(0x1e8)],'routerName':_0x5d3e15[_0x5d747f(0x1cc)],'description':_0x5d3e15['description'],'middleware':(_0x5d3e15[_0x5d747f(0x1e1)]||[])[_0x5d747f(0x1ea)](_0xbc77e1=>!!_0xbc77e1),'requestMethod':(_0x4b024c==_0x5d747f(0x1cf)?_0x5d747f(0x1eb):_0x4b024c)[_0x5d747f(0x1d4)]()})(_0x21a28d,_0x369077,_0x957519);};}exports[a4_0x102818(0x1ef)]=Api;
@@ -1 +1 @@
1
- 'use strict';const a5_0x37a315=a5_0x51d9;(function(_0x54567f,_0x12fa70){const _0x240864=a5_0x51d9,_0x873249=_0x54567f();while(!![]){try{const _0x20f950=parseInt(_0x240864(0x80))/0x1*(parseInt(_0x240864(0x68))/0x2)+parseInt(_0x240864(0x7d))/0x3*(parseInt(_0x240864(0x78))/0x4)+-parseInt(_0x240864(0x76))/0x5*(parseInt(_0x240864(0x6e))/0x6)+-parseInt(_0x240864(0x7c))/0x7+parseInt(_0x240864(0x6b))/0x8+-parseInt(_0x240864(0x77))/0x9*(-parseInt(_0x240864(0x7a))/0xa)+-parseInt(_0x240864(0x65))/0xb;if(_0x20f950===_0x12fa70)break;else _0x873249['push'](_0x873249['shift']());}catch(_0x4d8487){_0x873249['push'](_0x873249['shift']());}}}(a5_0x4558,0x76f9b));function a5_0x4558(){const _0x412a49=['get','50ayqxvD','REQUEST_OBJ_CTX_KEY','173684yIxJsf','3CebjFX','../service/ApitestService','apidoc','1yjYJUK','6466856QkFiTp','app','filepath','861898cfEhxL','RequestMapping','getApplicationContext','6624528CJQhZE','defineProperty','value','14952wSClIy','__esModule','getAsync','getConfig','ApitestService','isDevelopmentEnvironment','Apitest','@midwayjs/decorator','1655TnUCky','706581KtfCzJ','1093292JwrTQI'];a5_0x4558=function(){return _0x412a49;};return a5_0x4558();}function a5_0x51d9(_0x4b5081,_0x43ac49){const _0x4558b3=a5_0x4558();return a5_0x51d9=function(_0x51d935,_0x1d2297){_0x51d935=_0x51d935-0x65;let _0x2c5c8d=_0x4558b3[_0x51d935];return _0x2c5c8d;},a5_0x51d9(_0x4b5081,_0x43ac49);}Object[a5_0x37a315(0x6c)](exports,a5_0x37a315(0x6f),{'value':!![]}),exports[a5_0x37a315(0x74)]=void 0x0;const decorator_1=require(a5_0x37a315(0x75)),core_1=require('@midwayjs/core'),ApitestService_1=require(a5_0x37a315(0x7e));function Apitest(_0x2b731b='/apitest',_0x1f6a1b){return(_0x26c660,_0x55adca,_0x169c0f)=>{const _0x307c1b=a5_0x51d9;return(0x0,decorator_1[_0x307c1b(0x69)])({'path':_0x2b731b,'requestMethod':_0x307c1b(0x79)})(_0x26c660,_0x55adca,_0x169c0f),_0x169c0f[_0x307c1b(0x6d)]=async function(..._0x3866b6){const _0x485f81=_0x307c1b;var _0x55aa44;const _0x155e6a=(_0x55aa44=this[core_1[_0x485f81(0x7b)]])===null||_0x55aa44===void 0x0?void 0x0:_0x55aa44[_0x485f81(0x66)];if(_0x155e6a&&_0x155e6a[_0x485f81(0x71)]('apitest')){const _0x562f86=await _0x155e6a[_0x485f81(0x6a)]()[_0x485f81(0x70)](ApitestService_1[_0x485f81(0x72)]),_0x19272f=await _0x155e6a[_0x485f81(0x6a)]()[_0x485f81(0x70)](core_1['MidwayEnvironmentService']);return _0x19272f[_0x485f81(0x73)]()&&(_0x1f6a1b[_0x485f81(0x67)]=!![]),await _0x562f86[_0x485f81(0x7f)](_0x1f6a1b);}return'';},_0x169c0f;};}exports[a5_0x37a315(0x74)]=Apitest;
1
+ 'use strict';const a5_0xd01f7f=a5_0x3632;(function(_0x131930,_0x2df2da){const _0x53b0b0=a5_0x3632,_0x359d2d=_0x131930();while(!![]){try{const _0x5536a6=-parseInt(_0x53b0b0(0x1f6))/0x1+-parseInt(_0x53b0b0(0x1f3))/0x2*(-parseInt(_0x53b0b0(0x204))/0x3)+-parseInt(_0x53b0b0(0x205))/0x4+-parseInt(_0x53b0b0(0x1f5))/0x5*(-parseInt(_0x53b0b0(0x207))/0x6)+parseInt(_0x53b0b0(0x1f9))/0x7+-parseInt(_0x53b0b0(0x1ef))/0x8+parseInt(_0x53b0b0(0x200))/0x9;if(_0x5536a6===_0x2df2da)break;else _0x359d2d['push'](_0x359d2d['shift']());}catch(_0x5e6a7e){_0x359d2d['push'](_0x359d2d['shift']());}}}(a5_0x7ec2,0xd75fe));Object[a5_0xd01f7f(0x1f7)](exports,a5_0xd01f7f(0x1ff),{'value':!![]}),exports[a5_0xd01f7f(0x1ed)]=void 0x0;const decorator_1=require(a5_0xd01f7f(0x1f8)),core_1=require(a5_0xd01f7f(0x1f0)),ApitestService_1=require(a5_0xd01f7f(0x208));function Apitest(_0x4166f6=a5_0xd01f7f(0x1fd),_0x39a855){return(_0xe5db1e,_0x1b06bb,_0x131fe6)=>{const _0x2eafde=a5_0x3632;return(0x0,decorator_1[_0x2eafde(0x1f1)])({'path':_0x4166f6,'requestMethod':_0x2eafde(0x1fe)})(_0xe5db1e,_0x1b06bb,_0x131fe6),_0x131fe6[_0x2eafde(0x1ee)]=async function(..._0x32b47b){const _0x3bde80=_0x2eafde;var _0x2dc3ab;const _0x530c32=(_0x2dc3ab=this[core_1[_0x3bde80(0x1f2)]])===null||_0x2dc3ab===void 0x0?void 0x0:_0x2dc3ab[_0x3bde80(0x1fc)];if(_0x530c32&&_0x530c32['getConfig'](_0x3bde80(0x1fa))){const _0x3f2a79=await _0x530c32[_0x3bde80(0x202)]()[_0x3bde80(0x201)](ApitestService_1[_0x3bde80(0x1f4)]),_0x12e4c5=await _0x530c32[_0x3bde80(0x202)]()[_0x3bde80(0x201)](core_1[_0x3bde80(0x203)]);return _0x12e4c5[_0x3bde80(0x206)]()&&(_0x39a855[_0x3bde80(0x1fb)]=!![]),await _0x3f2a79['apidoc'](_0x39a855);}return'';},_0x131fe6;};}function a5_0x3632(_0x6da419,_0x554795){const _0x7ec235=a5_0x7ec2();return a5_0x3632=function(_0x3632ba,_0x4a72f3){_0x3632ba=_0x3632ba-0x1ed;let _0x1c1722=_0x7ec235[_0x3632ba];return _0x1c1722;},a5_0x3632(_0x6da419,_0x554795);}exports[a5_0xd01f7f(0x1ed)]=Apitest;function a5_0x7ec2(){const _0x5be401=['apitest','filepath','app','/apitest','get','__esModule','20181123FNlGKB','getAsync','getApplicationContext','MidwayEnvironmentService','6nSGWhn','344700DwbKVH','isDevelopmentEnvironment','84IhsuRw','../service/ApitestService','Apitest','value','10345568YnYLdh','@midwayjs/core','RequestMapping','REQUEST_OBJ_CTX_KEY','149458xPyikO','ApitestService','260845QwHZIf','1730199BkucPG','defineProperty','@midwayjs/decorator','6087011lHqfDQ'];a5_0x7ec2=function(){return _0x5be401;};return a5_0x7ec2();}
@@ -1 +1 @@
1
- 'use strict';function a6_0x104e(_0xb09cad,_0x25258b){var _0x54a9be=a6_0x54a9();return a6_0x104e=function(_0x104ef5,_0x7eac46){_0x104ef5=_0x104ef5-0x8a;var _0x241ae7=_0x54a9be[_0x104ef5];return _0x241ae7;},a6_0x104e(_0xb09cad,_0x25258b);}var a6_0x430a0c=a6_0x104e;(function(_0x5dbb60,_0x49e9fc){var _0x55cf3d=a6_0x104e,_0x4653b5=_0x5dbb60();while(!![]){try{var _0x582dad=-parseInt(_0x55cf3d(0x96))/0x1+parseInt(_0x55cf3d(0x95))/0x2*(-parseInt(_0x55cf3d(0x8e))/0x3)+parseInt(_0x55cf3d(0x8a))/0x4+parseInt(_0x55cf3d(0x91))/0x5+-parseInt(_0x55cf3d(0x9b))/0x6+parseInt(_0x55cf3d(0x9e))/0x7*(parseInt(_0x55cf3d(0xa7))/0x8)+-parseInt(_0x55cf3d(0x93))/0x9*(-parseInt(_0x55cf3d(0x90))/0xa);if(_0x582dad===_0x49e9fc)break;else _0x4653b5['push'](_0x4653b5['shift']());}catch(_0x407e7e){_0x4653b5['push'](_0x4653b5['shift']());}}}(a6_0x54a9,0x790b1));var __decorate=this&&this[a6_0x430a0c(0x98)]||function(_0x243df0,_0x2dcabc,_0x50b910,_0x59825d){var _0x313227=a6_0x430a0c,_0x3bc20f=arguments[_0x313227(0x8b)],_0x2b2af2=_0x3bc20f<0x3?_0x2dcabc:_0x59825d===null?_0x59825d=Object[_0x313227(0xa3)](_0x2dcabc,_0x50b910):_0x59825d,_0x240573;if(typeof Reflect===_0x313227(0x9d)&&typeof Reflect[_0x313227(0x8d)]==='function')_0x2b2af2=Reflect[_0x313227(0x8d)](_0x243df0,_0x2dcabc,_0x50b910,_0x59825d);else{for(var _0x1290ef=_0x243df0[_0x313227(0x8b)]-0x1;_0x1290ef>=0x0;_0x1290ef--)if(_0x240573=_0x243df0[_0x1290ef])_0x2b2af2=(_0x3bc20f<0x3?_0x240573(_0x2b2af2):_0x3bc20f>0x3?_0x240573(_0x2dcabc,_0x50b910,_0x2b2af2):_0x240573(_0x2dcabc,_0x50b910))||_0x2b2af2;}return _0x3bc20f>0x3&&_0x2b2af2&&Object['defineProperty'](_0x2dcabc,_0x50b910,_0x2b2af2),_0x2b2af2;},__metadata=this&&this[a6_0x430a0c(0xa4)]||function(_0x372501,_0x39edd1){var _0x484fb4=a6_0x430a0c;if(typeof Reflect===_0x484fb4(0x9d)&&typeof Reflect['metadata']===_0x484fb4(0xa6))return Reflect[_0x484fb4(0x94)](_0x372501,_0x39edd1);};Object[a6_0x430a0c(0xa1)](exports,'__esModule',{'value':!![]}),exports['ApiError']=void 0x0;class ApiError{}ApiError['TIMEOUT']=0x18a89,ApiError['HEADERS_LACK']=0x18a8a,ApiError[a6_0x430a0c(0x99)]=0x18a8b,ApiError[a6_0x430a0c(0x9a)]=0x18a8c,ApiError[a6_0x430a0c(0x8f)]=0x18a8d,__decorate([AnnErrorMsg(a6_0x430a0c(0x92)),__metadata(a6_0x430a0c(0xa2),Object)],ApiError,a6_0x430a0c(0xa0),void 0x0),__decorate([AnnErrorMsg('请求头信息不完整'),__metadata(a6_0x430a0c(0xa2),Object)],ApiError,a6_0x430a0c(0x8c),void 0x0),__decorate([AnnErrorMsg(a6_0x430a0c(0x97)),__metadata(a6_0x430a0c(0xa2),Object)],ApiError,'HEADERS_DEVICE',void 0x0),__decorate([AnnErrorMsg(a6_0x430a0c(0x9f)),__metadata(a6_0x430a0c(0xa2),Object)],ApiError,a6_0x430a0c(0x9a),void 0x0),__decorate([AnnErrorMsg(a6_0x430a0c(0xa5)),__metadata('design:type',Object)],ApiError,a6_0x430a0c(0x8f),void 0x0),exports[a6_0x430a0c(0x9c)]=ApiError;function a6_0x54a9(){var _0x55f748=['decorate','370545GhRzfa','HEADERS_SIGNATURE','105010LQCZqo','714095SErLFh','网络繁忙,请稍后重试','549mjeSYg','metadata','10qTcFWn','371138aihXZX','请使用正确的设备','__decorate','HEADERS_DEVICE','HEADERS_CHECKCODE','1110060SdVSOF','ApiError','object','7EXiFTt','checkcode验证失败','TIMEOUT','defineProperty','design:type','getOwnPropertyDescriptor','__metadata','signature验证失败','function','5678040jriFNW','705524DIvqMp','length','HEADERS_LACK'];a6_0x54a9=function(){return _0x55f748;};return a6_0x54a9();}
1
+ 'use strict';var a6_0x4fe9aa=a6_0x2d26;(function(_0x3144aa,_0x3d112a){var _0x40e394=a6_0x2d26,_0x5e23fa=_0x3144aa();while(!![]){try{var _0x4a7710=parseInt(_0x40e394(0x1a6))/0x1*(-parseInt(_0x40e394(0x195))/0x2)+parseInt(_0x40e394(0x198))/0x3+parseInt(_0x40e394(0x193))/0x4*(-parseInt(_0x40e394(0x1a8))/0x5)+parseInt(_0x40e394(0x1a2))/0x6+-parseInt(_0x40e394(0x199))/0x7+-parseInt(_0x40e394(0x1ac))/0x8*(parseInt(_0x40e394(0x1ae))/0x9)+-parseInt(_0x40e394(0x196))/0xa*(-parseInt(_0x40e394(0x1a1))/0xb);if(_0x4a7710===_0x3d112a)break;else _0x5e23fa['push'](_0x5e23fa['shift']());}catch(_0x48d2a5){_0x5e23fa['push'](_0x5e23fa['shift']());}}}(a6_0x57c2,0x323be));function a6_0x57c2(){var _0x216567=['function','__metadata','18931mKvhkU','1732974zQGiGM','object','checkcode验证失败','TIMEOUT','3gcYvhX','getOwnPropertyDescriptor','170kGMAyz','metadata','length','ApiError','32LLFxeD','网络繁忙,请稍后重试','821538UJLnIg','signature验证失败','HEADERS_CHECKCODE','defineProperty','HEADERS_LACK','__decorate','4468jUvRHm','__esModule','123514PxBhqX','2770vxoEIl','HEADERS_SIGNATURE','339585JUpSwa','592242jnSpIt','请使用正确的设备','HEADERS_DEVICE','请求头信息不完整','decorate','design:type'];a6_0x57c2=function(){return _0x216567;};return a6_0x57c2();}function a6_0x2d26(_0x4ca880,_0x207876){var _0x57c2e5=a6_0x57c2();return a6_0x2d26=function(_0x2d2695,_0x2348d8){_0x2d2695=_0x2d2695-0x18f;var _0x6ae244=_0x57c2e5[_0x2d2695];return _0x6ae244;},a6_0x2d26(_0x4ca880,_0x207876);}var __decorate=this&&this[a6_0x4fe9aa(0x192)]||function(_0x226ec9,_0x5ea1d9,_0x5ab1aa,_0x4ac3db){var _0x3e2998=a6_0x4fe9aa,_0x1c1098=arguments[_0x3e2998(0x1aa)],_0x3696ad=_0x1c1098<0x3?_0x5ea1d9:_0x4ac3db===null?_0x4ac3db=Object[_0x3e2998(0x1a7)](_0x5ea1d9,_0x5ab1aa):_0x4ac3db,_0xd00fa2;if(typeof Reflect===_0x3e2998(0x1a3)&&typeof Reflect[_0x3e2998(0x19d)]===_0x3e2998(0x19f))_0x3696ad=Reflect['decorate'](_0x226ec9,_0x5ea1d9,_0x5ab1aa,_0x4ac3db);else{for(var _0x1e9294=_0x226ec9['length']-0x1;_0x1e9294>=0x0;_0x1e9294--)if(_0xd00fa2=_0x226ec9[_0x1e9294])_0x3696ad=(_0x1c1098<0x3?_0xd00fa2(_0x3696ad):_0x1c1098>0x3?_0xd00fa2(_0x5ea1d9,_0x5ab1aa,_0x3696ad):_0xd00fa2(_0x5ea1d9,_0x5ab1aa))||_0x3696ad;}return _0x1c1098>0x3&&_0x3696ad&&Object[_0x3e2998(0x190)](_0x5ea1d9,_0x5ab1aa,_0x3696ad),_0x3696ad;},__metadata=this&&this[a6_0x4fe9aa(0x1a0)]||function(_0x42c2a,_0x34cf2c){var _0x2fb927=a6_0x4fe9aa;if(typeof Reflect===_0x2fb927(0x1a3)&&typeof Reflect[_0x2fb927(0x1a9)]===_0x2fb927(0x19f))return Reflect[_0x2fb927(0x1a9)](_0x42c2a,_0x34cf2c);};Object[a6_0x4fe9aa(0x190)](exports,a6_0x4fe9aa(0x194),{'value':!![]}),exports[a6_0x4fe9aa(0x1ab)]=void 0x0;class ApiError{}ApiError[a6_0x4fe9aa(0x1a5)]=0x18a89,ApiError[a6_0x4fe9aa(0x191)]=0x18a8a,ApiError[a6_0x4fe9aa(0x19b)]=0x18a8b,ApiError[a6_0x4fe9aa(0x18f)]=0x18a8c,ApiError['HEADERS_SIGNATURE']=0x18a8d,__decorate([AnnErrorMsg(a6_0x4fe9aa(0x1ad)),__metadata(a6_0x4fe9aa(0x19e),Object)],ApiError,a6_0x4fe9aa(0x1a5),void 0x0),__decorate([AnnErrorMsg(a6_0x4fe9aa(0x19c)),__metadata(a6_0x4fe9aa(0x19e),Object)],ApiError,a6_0x4fe9aa(0x191),void 0x0),__decorate([AnnErrorMsg(a6_0x4fe9aa(0x19a)),__metadata(a6_0x4fe9aa(0x19e),Object)],ApiError,'HEADERS_DEVICE',void 0x0),__decorate([AnnErrorMsg(a6_0x4fe9aa(0x1a4)),__metadata('design:type',Object)],ApiError,a6_0x4fe9aa(0x18f),void 0x0),__decorate([AnnErrorMsg(a6_0x4fe9aa(0x1af)),__metadata(a6_0x4fe9aa(0x19e),Object)],ApiError,a6_0x4fe9aa(0x197),void 0x0),exports['ApiError']=ApiError;
@@ -1 +1 @@
1
- 'use strict';const a7_0xa42053=a7_0x388f;function a7_0x388f(_0x3af235,_0xbd885){const _0x13df58=a7_0x13df();return a7_0x388f=function(_0x388f2d,_0x49add9){_0x388f2d=_0x388f2d-0x126;let _0x34cd71=_0x13df58[_0x388f2d];return _0x34cd71;},a7_0x388f(_0x3af235,_0xbd885);}(function(_0x3e21f6,_0x28c17c){const _0x3bd4f4=a7_0x388f,_0x55ae92=_0x3e21f6();while(!![]){try{const _0x409b33=-parseInt(_0x3bd4f4(0x172))/0x1*(parseInt(_0x3bd4f4(0x16f))/0x2)+parseInt(_0x3bd4f4(0x131))/0x3+-parseInt(_0x3bd4f4(0x17d))/0x4+parseInt(_0x3bd4f4(0x135))/0x5+-parseInt(_0x3bd4f4(0x143))/0x6*(-parseInt(_0x3bd4f4(0x133))/0x7)+parseInt(_0x3bd4f4(0x167))/0x8+-parseInt(_0x3bd4f4(0x128))/0x9;if(_0x409b33===_0x28c17c)break;else _0x55ae92['push'](_0x55ae92['shift']());}catch(_0xe4ffaa){_0x55ae92['push'](_0x55ae92['shift']());}}}(a7_0x13df,0x7f0d7));Object[a7_0xa42053(0x179)](exports,a7_0xa42053(0x144),{'value':!![]}),exports['getRoutes']=void 0x0;const lodash_1=require(a7_0xa42053(0x153)),validator_1=require('@anncic-api/validator'),decorator_1=require(a7_0xa42053(0x169)),decorator_2=require(a7_0xa42053(0x169)),decorator_3=require(a7_0xa42053(0x169)),action_1=require(a7_0xa42053(0x13e));function getRoutes(_0x208479={'prefix':'/','module':![]}){const _0x1c84ce=a7_0xa42053;var _0x18d40e,_0x31b175;const _0xf0f557=(0x0,decorator_3[_0x1c84ce(0x15a)])(action_1['ACTION_KEY']),_0x2ee196={},_0x229faf=Array['isArray'](_0x208479['filter']||[])?_0x208479[_0x1c84ce(0x170)]||[]:[_0x208479[_0x1c84ce(0x170)]];_0x275463:for(const _0x56c7ab of _0xf0f557){let _0x12ab0c=(0x0,decorator_3[_0x1c84ce(0x174)])(action_1['ACTION_KEY'],_0x56c7ab),_0x497e23=(0x0,decorator_3[_0x1c84ce(0x174)])(action_1[_0x1c84ce(0x14b)],_0x56c7ab);if(_0x12ab0c&&_0x497e23){let _0x4e65fe=_0x12ab0c[_0x1c84ce(0x17a)],_0x2fd615={};if(_0x208479['module']&&(0x0,lodash_1[_0x1c84ce(0x140)])(_0x12ab0c,'module',![])!=_0x208479[_0x1c84ce(0x149)])continue _0x275463;else{if(_0x208479[_0x1c84ce(0x149)]===![]&&!!(0x0,lodash_1[_0x1c84ce(0x140)])(_0x12ab0c,_0x1c84ce(0x149),null))continue _0x275463;}if(_0x208479[_0x1c84ce(0x17a)]&&!_0x4e65fe['startsWith'](_0x208479['prefix']))continue _0x275463;_0x4e65fe!=='/'?(_0x2fd615[_0x1c84ce(0x166)]=(_0x12ab0c===null||_0x12ab0c===void 0x0?void 0x0:_0x12ab0c[_0x1c84ce(0x154)]['tagName'])||(/^\//['test'](_0x4e65fe)?_0x4e65fe[_0x1c84ce(0x134)]('/')[0x1]:_0x4e65fe),_0x2fd615[_0x1c84ce(0x14c)]=(_0x12ab0c===null||_0x12ab0c===void 0x0?void 0x0:_0x12ab0c[_0x1c84ce(0x154)][_0x1c84ce(0x14c)])||_0x2fd615[_0x1c84ce(0x166)],_0x2fd615['routes']=[]):(_0x2fd615[_0x1c84ce(0x166)]=(_0x12ab0c===null||_0x12ab0c===void 0x0?void 0x0:_0x12ab0c[_0x1c84ce(0x154)][_0x1c84ce(0x127)])||_0x1c84ce(0x14e),_0x2fd615[_0x1c84ce(0x14c)]=(_0x12ab0c===null||_0x12ab0c===void 0x0?void 0x0:_0x12ab0c[_0x1c84ce(0x154)][_0x1c84ce(0x14c)])||'',_0x2fd615[_0x1c84ce(0x157)]=[]);_0x208479[_0x1c84ce(0x158)]&&(_0x2fd615['filepath']=_0x12ab0c===null||_0x12ab0c===void 0x0?void 0x0:_0x12ab0c[_0x1c84ce(0x158)]);(_0x12ab0c===null||_0x12ab0c===void 0x0?void 0x0:_0x12ab0c[_0x1c84ce(0x12a)])&&(_0x2fd615['prefix']=_0x12ab0c[_0x1c84ce(0x12a)]);(_0x12ab0c===null||_0x12ab0c===void 0x0?void 0x0:_0x12ab0c[_0x1c84ce(0x149)])&&(_0x2fd615['module']=_0x12ab0c[_0x1c84ce(0x149)]);let _0x56f8c7=(0x0,decorator_3[_0x1c84ce(0x174)])(decorator_2['INJECT_CUSTOM_PARAM'],_0x56c7ab)||{};if(typeof _0x497e23[Symbol[_0x1c84ce(0x156)]]===_0x1c84ce(0x13d))for(let _0x213550 of _0x497e23){let _0x508980={};_0x508980['method']=_0x213550[_0x1c84ce(0x12c)],_0x508980[_0x1c84ce(0x171)]=(_0x4e65fe+_0x213550[_0x1c84ce(0x15b)])['replace'](/\/{1,}/,'/'),_0x508980[_0x1c84ce(0x166)]=(_0x213550===null||_0x213550===void 0x0?void 0x0:_0x213550[_0x1c84ce(0x141)])||_0x2fd615[_0x1c84ce(0x166)]||_0x1c84ce(0x14e),_0x508980[_0x1c84ce(0x14c)]=(_0x213550===null||_0x213550===void 0x0?void 0x0:_0x213550[_0x1c84ce(0x14c)])||'',_0x508980['request']=[];if(!(0x0,lodash_1[_0x1c84ce(0x151)])(_0x508980[_0x1c84ce(0x171)],_0x1c84ce(0x165))&&!(0x0,lodash_1['startsWith'])(_0x508980[_0x1c84ce(0x171)],'/static/apitest')&&_0x229faf[_0x1c84ce(0x159)](_0x508980['route'])===-0x1){if(!(_0x208479===null||_0x208479===void 0x0?void 0x0:_0x208479['noreq'])){let _0x19c4ef=(0x0,decorator_3[_0x1c84ce(0x15f)])(new _0x56c7ab(),_0x213550[_0x1c84ce(0x173)]);for(const _0x29926a in _0x19c4ef){let _0x4613f8=(_0x18d40e=_0x56f8c7[_0x213550['method']])===null||_0x18d40e===void 0x0?void 0x0:_0x18d40e['find'](_0x5e14d5=>_0x5e14d5['parameterIndex']==_0x29926a&&_0x5e14d5[_0x1c84ce(0x17c)]===decorator_2[_0x1c84ce(0x12d)]&&(_0x5e14d5===null||_0x5e14d5===void 0x0?void 0x0:_0x5e14d5[_0x1c84ce(0x13f)]));if(_0x4613f8===null||_0x4613f8===void 0x0?void 0x0:_0x4613f8[_0x1c84ce(0x13f)]){let _0x2cf81e=convertTypeToString(_0x4613f8[_0x1c84ce(0x13f)]['type']||0x0);if(['query',_0x1c84ce(0x130)][_0x1c84ce(0x159)](_0x2cf81e)!=-0x1&&_0x4613f8[_0x1c84ce(0x13f)][_0x1c84ce(0x13c)][_0x1c84ce(0x159)](':')==-0x1&&!_0x508980[_0x1c84ce(0x168)][_0x1c84ce(0x148)](_0x567ea1=>_0x567ea1[_0x1c84ce(0x17c)]==_0x4613f8[_0x1c84ce(0x13f)][_0x1c84ce(0x13c)]))_0x508980[_0x1c84ce(0x168)]['push']({'key':_0x4613f8[_0x1c84ce(0x13f)][_0x1c84ce(0x13c)],'title':_0x4613f8[_0x1c84ce(0x13f)][_0x1c84ce(0x13c)],'type':convertSchemaType(_0x19c4ef[_0x4613f8['parameterIndex']]['name']),'required':![],'default':'','desc':''});else{if(_0x2cf81e==_0x1c84ce(0x14a)){let _0x423170=((_0x31b175=_0x4613f8===null||_0x4613f8===void 0x0?void 0x0:_0x4613f8['metadata'])===null||_0x31b175===void 0x0?void 0x0:_0x31b175[_0x1c84ce(0x13c)])||_0x1c84ce(0x14a);_0x423170[_0x1c84ce(0x159)](':')==-0x1&&!_0x508980[_0x1c84ce(0x168)][_0x1c84ce(0x148)](_0x926608=>_0x926608[_0x1c84ce(0x17c)]==_0x423170&&_0x926608[_0x1c84ce(0x138)]=='file')&&_0x508980['request']['push']({'key':_0x423170,'title':'文件上传-'+_0x423170,'type':_0x1c84ce(0x14a),'required':!![],'default':'','desc':''});}}}else{const _0x1d4fca=(0x0,decorator_3['getClassExtendedMetadata'])(validator_1[_0x1c84ce(0x175)],_0x19c4ef[_0x29926a]);_0x1d4fca&&_0x508980[_0x1c84ce(0x168)][_0x1c84ce(0x160)](...getJoiRequest(_0x1d4fca));}}}_0x2fd615[_0x1c84ce(0x157)][_0x1c84ce(0x160)](_0x508980);}}if(_0x2fd615[_0x1c84ce(0x157)]['length']>0x0){let _0x508684=_0x2ee196[_0x4e65fe];_0x508684?(_0x508684[_0x1c84ce(0x166)]!=_0x2fd615['summary']&&(_0x508684['summary']=_0x508684['summary']+','+_0x2fd615[_0x1c84ce(0x166)]),_0x508684[_0x1c84ce(0x14c)]!=_0x2fd615[_0x1c84ce(0x14c)]&&(_0x508684[_0x1c84ce(0x14c)]=_0x508684['description']+','+_0x2fd615['description']),_0x508684[_0x1c84ce(0x157)]=_0x508684[_0x1c84ce(0x157)]['concat'](_0x2fd615[_0x1c84ce(0x157)]),_0x2ee196[_0x4e65fe]=_0x508684):_0x2ee196[_0x4e65fe]=_0x2fd615;}}}return _0x2ee196;}exports['getRoutes']=getRoutes;function a7_0x13df(){const _0x2a1b84=['log','startsWith','title','lodash','routerOptions','QUERY','iterator','routes','filepath','indexOf','listModule','path','RouteParamTypes','flags.default','Number','getMethodParamTypes','push','BODY','length','min','keys','static/apitest','summary','8089136AYEAMD','request','@midwayjs/decorator','string','allow','limit','object','flags.label','12418bHqxGs','filter','route','7oPAofo','method','getClassMetadata','RULES_KEY','describe','String','Boolean','defineProperty','prefix','boolean','key','2867048IpWaMe','number','File','tagName','18735255vgMaDe','PARAM','pprefix','rules','requestMethod','WEB_ROUTER_PARAM_KEY','args','array','body','2903355puwWBU','header','707epWawW','split','3742065KXmbKo','name','required','type','max','HEADERS','items','propertyData','function','../types/action','metadata','get','routerName','children','37722uHhjKn','__esModule','isArray','join','FILESTREAM','find','module','file','ACTION_ROUTE_KEY','description','只允许:[','default','-array'];a7_0x13df=function(){return _0x2a1b84;};return a7_0x13df();}function getJoiRequest(_0x1f6054){const _0x57b59f=a7_0xa42053,_0x36a4c1=[];for(let _0x3a6d32 in _0x1f6054){const _0xdace36={'title':'','key':'','type':'','description':'','rules':{},'children':[]},_0x54ab53=typeof _0x1f6054[_0x3a6d32][_0x57b59f(0x176)]=='function'?_0x1f6054[_0x3a6d32][_0x57b59f(0x176)]():_0x1f6054[_0x3a6d32];_0xdace36[_0x57b59f(0x17c)]=_0x3a6d32,_0xdace36[_0x57b59f(0x138)]=_0x54ab53['type'],_0xdace36['title']=(0x0,lodash_1['get'])(_0x54ab53,_0x57b59f(0x16e),_0x3a6d32),_0xdace36[_0x57b59f(0x14e)]=(0x0,lodash_1[_0x57b59f(0x140)])(_0x54ab53,_0x57b59f(0x15d),''),_0xdace36['required']=(0x0,lodash_1[_0x57b59f(0x140)])(_0x54ab53,'flags.presence','')==_0x57b59f(0x137),_0xdace36['description']=(0x0,lodash_1[_0x57b59f(0x140)])(_0x54ab53,'flags.description','');if(_0x54ab53['type']=='object')_0xdace36[_0x57b59f(0x142)]=getJoiRequest(_0x54ab53[_0x57b59f(0x164)]);else _0x54ab53[_0x57b59f(0x138)]==_0x57b59f(0x12f)&&_0x54ab53[_0x57b59f(0x13b)]&&Array[_0x57b59f(0x145)](_0x54ab53['items'])&&_0x54ab53[_0x57b59f(0x13b)][0x0]&&console[_0x57b59f(0x150)](_0x3a6d32+_0x57b59f(0x14f),_0x54ab53);_0x54ab53[_0x57b59f(0x16b)]&&Array[_0x57b59f(0x145)](_0x54ab53[_0x57b59f(0x16b)])&&_0x54ab53[_0x57b59f(0x16b)][_0x57b59f(0x162)]>0x0&&(_0xdace36[_0x57b59f(0x14c)]=_0x57b59f(0x14d)+_0x54ab53['allow'][_0x57b59f(0x146)](',')+'];'+_0xdace36[_0x57b59f(0x14c)]);if(_0xdace36[_0x57b59f(0x17c)]&&_0xdace36['type']){const _0x53a1fa={};for(const _0x3f0eb9 of _0x54ab53[_0x57b59f(0x12b)]||[]){if(_0x3f0eb9[_0x57b59f(0x136)]===_0x57b59f(0x163)&&_0x3f0eb9[_0x57b59f(0x12e)])_0x53a1fa[_0x57b59f(0x163)]=_0x3f0eb9[_0x57b59f(0x12e)][_0x57b59f(0x16c)];else _0x3f0eb9[_0x57b59f(0x136)]===_0x57b59f(0x139)&&(_0x53a1fa[_0x57b59f(0x139)]=_0x3f0eb9[_0x57b59f(0x12e)][_0x57b59f(0x16c)]);}_0xdace36['rules']=_0x53a1fa;}_0xdace36[_0x57b59f(0x17c)]&&_0xdace36[_0x57b59f(0x152)]&&_0x36a4c1[_0x57b59f(0x160)](_0xdace36);}return _0x36a4c1;}function convertSchemaType(_0x33b08a){const _0x253ef0=a7_0xa42053;switch(_0x33b08a){case'Object':return _0x253ef0(0x16d);case _0x253ef0(0x178):return _0x253ef0(0x17b);case _0x253ef0(0x15e):return _0x253ef0(0x17e);case _0x253ef0(0x177):return _0x253ef0(0x16a);case _0x253ef0(0x126):return _0x253ef0(0x14a);default:return _0x253ef0(0x16a);}}function convertTypeToString(_0x4c09dc){const _0xe899a9=a7_0xa42053;switch(_0x4c09dc){case decorator_1[_0xe899a9(0x15c)][_0xe899a9(0x13a)]:return'header';case decorator_1['RouteParamTypes'][_0xe899a9(0x155)]:return'query';case decorator_1[_0xe899a9(0x15c)][_0xe899a9(0x129)]:return _0xe899a9(0x15b);case decorator_1[_0xe899a9(0x15c)][_0xe899a9(0x161)]:return _0xe899a9(0x130);case decorator_1[_0xe899a9(0x15c)]['FIELDS']:case decorator_1[_0xe899a9(0x15c)]['FILESSTREAM']:case decorator_1[_0xe899a9(0x15c)][_0xe899a9(0x147)]:return _0xe899a9(0x14a);default:return _0xe899a9(0x132);}}
1
+ 'use strict';const a7_0x21e59c=a7_0x7a1b;(function(_0x3349f9,_0x4e82a7){const _0xf44468=a7_0x7a1b,_0xcd8b2c=_0x3349f9();while(!![]){try{const _0x155f5c=-parseInt(_0xf44468(0x12b))/0x1+parseInt(_0xf44468(0xfd))/0x2+parseInt(_0xf44468(0xd6))/0x3*(parseInt(_0xf44468(0x103))/0x4)+parseInt(_0xf44468(0xe1))/0x5*(parseInt(_0xf44468(0x122))/0x6)+parseInt(_0xf44468(0x10f))/0x7+-parseInt(_0xf44468(0x12d))/0x8+-parseInt(_0xf44468(0x11e))/0x9;if(_0x155f5c===_0x4e82a7)break;else _0xcd8b2c['push'](_0xcd8b2c['shift']());}catch(_0x29c2f4){_0xcd8b2c['push'](_0xcd8b2c['shift']());}}}(a7_0x356e,0x77d13));Object[a7_0x21e59c(0x127)](exports,a7_0x21e59c(0x107),{'value':!![]}),exports['getRoutes']=void 0x0;function a7_0x356e(){const _0x22820c=['RouteParamTypes','propertyData','@anncic-api/validator','name','get','object','prefix','type','title','INJECT_CUSTOM_PARAM','19030ncPyxY','header','startsWith','flags.label','items','static/apitest','metadata','summary','limit','query','iterator','文件上传-','String','keys','min','filepath','route','allow','body','boolean','string','Number','tagName','Boolean','request','FILESTREAM','description','module','1122172ReNyIC','listModule','path','getClassMetadata','/static/apitest','find','3754648vnLeSB','concat','file','rules','__esModule','required','HEADERS','number','getRoutes','@midwayjs/decorator','routerOptions','flags.presence','3569615rssGNV','pprefix','args','ACTION_KEY','parameterIndex','lodash','PARAM','default','routes','../types/action','method','push','array','requestMethod','只允许:[','12859362BcPEJq','QUERY','length','test','822xKCZDQ','noreq','key','RULES_KEY','FILESSTREAM','defineProperty','WEB_ROUTER_PARAM_KEY','describe','max','64882BiYtyZ','split','4373152JRAVLW','filter','indexOf','-array','3TjdUtK'];a7_0x356e=function(){return _0x22820c;};return a7_0x356e();}const lodash_1=require(a7_0x21e59c(0x114)),validator_1=require(a7_0x21e59c(0xd9)),decorator_1=require(a7_0x21e59c(0x10c)),decorator_2=require(a7_0x21e59c(0x10c)),decorator_3=require(a7_0x21e59c(0x10c)),action_1=require(a7_0x21e59c(0x118));function getRoutes(_0x1f3357={'prefix':'/','module':![]}){const _0x483c7f=a7_0x21e59c;var _0x1432c7,_0xb0ca2c;const _0x40a990=(0x0,decorator_3[_0x483c7f(0xfe)])(action_1[_0x483c7f(0x112)]),_0x1da176={},_0x599602=Array['isArray'](_0x1f3357[_0x483c7f(0xd3)]||[])?_0x1f3357[_0x483c7f(0xd3)]||[]:[_0x1f3357[_0x483c7f(0xd3)]];_0x45911e:for(const _0x4cc1d1 of _0x40a990){let _0x2e4d06=(0x0,decorator_3['getClassMetadata'])(action_1[_0x483c7f(0x112)],_0x4cc1d1),_0x5227f2=(0x0,decorator_3[_0x483c7f(0x100)])(action_1['ACTION_ROUTE_KEY'],_0x4cc1d1);if(_0x2e4d06&&_0x5227f2){let _0x1f911d=_0x2e4d06[_0x483c7f(0xdd)],_0x52ab8c={};if(_0x1f3357[_0x483c7f(0xfc)]&&(0x0,lodash_1[_0x483c7f(0xdb)])(_0x2e4d06,_0x483c7f(0xfc),![])!=_0x1f3357[_0x483c7f(0xfc)])continue _0x45911e;else{if(_0x1f3357[_0x483c7f(0xfc)]===![]&&!!(0x0,lodash_1[_0x483c7f(0xdb)])(_0x2e4d06,_0x483c7f(0xfc),null))continue _0x45911e;}if(_0x1f3357[_0x483c7f(0xdd)]&&!_0x1f911d[_0x483c7f(0xe3)](_0x1f3357[_0x483c7f(0xdd)]))continue _0x45911e;_0x1f911d!=='/'?(_0x52ab8c[_0x483c7f(0xe8)]=(_0x2e4d06===null||_0x2e4d06===void 0x0?void 0x0:_0x2e4d06[_0x483c7f(0x10d)][_0x483c7f(0xf7)])||(/^\//[_0x483c7f(0x121)](_0x1f911d)?_0x1f911d[_0x483c7f(0x12c)]('/')[0x1]:_0x1f911d),_0x52ab8c[_0x483c7f(0xfb)]=(_0x2e4d06===null||_0x2e4d06===void 0x0?void 0x0:_0x2e4d06['routerOptions']['description'])||_0x52ab8c['summary'],_0x52ab8c[_0x483c7f(0x117)]=[]):(_0x52ab8c[_0x483c7f(0xe8)]=(_0x2e4d06===null||_0x2e4d06===void 0x0?void 0x0:_0x2e4d06[_0x483c7f(0x10d)]['tagName'])||'default',_0x52ab8c[_0x483c7f(0xfb)]=(_0x2e4d06===null||_0x2e4d06===void 0x0?void 0x0:_0x2e4d06[_0x483c7f(0x10d)][_0x483c7f(0xfb)])||'',_0x52ab8c['routes']=[]);_0x1f3357[_0x483c7f(0xf0)]&&(_0x52ab8c[_0x483c7f(0xf0)]=_0x2e4d06===null||_0x2e4d06===void 0x0?void 0x0:_0x2e4d06[_0x483c7f(0xf0)]);(_0x2e4d06===null||_0x2e4d06===void 0x0?void 0x0:_0x2e4d06[_0x483c7f(0x110)])&&(_0x52ab8c[_0x483c7f(0xdd)]=_0x2e4d06['pprefix']);(_0x2e4d06===null||_0x2e4d06===void 0x0?void 0x0:_0x2e4d06[_0x483c7f(0xfc)])&&(_0x52ab8c[_0x483c7f(0xfc)]=_0x2e4d06['module']);let _0x327d20=(0x0,decorator_3[_0x483c7f(0x100)])(decorator_2[_0x483c7f(0xe0)],_0x4cc1d1)||{};if(typeof _0x5227f2[Symbol[_0x483c7f(0xeb)]]==='function')for(let _0x5760bf of _0x5227f2){let _0x5a1839={};_0x5a1839[_0x483c7f(0x119)]=_0x5760bf[_0x483c7f(0x11c)],_0x5a1839[_0x483c7f(0xf1)]=(_0x1f911d+_0x5760bf['path'])['replace'](/\/{1,}/,'/'),_0x5a1839[_0x483c7f(0xe8)]=(_0x5760bf===null||_0x5760bf===void 0x0?void 0x0:_0x5760bf['routerName'])||_0x52ab8c[_0x483c7f(0xe8)]||_0x483c7f(0x116),_0x5a1839[_0x483c7f(0xfb)]=(_0x5760bf===null||_0x5760bf===void 0x0?void 0x0:_0x5760bf['description'])||'',_0x5a1839[_0x483c7f(0xf9)]=[];if(!(0x0,lodash_1[_0x483c7f(0xe3)])(_0x5a1839[_0x483c7f(0xf1)],_0x483c7f(0xe6))&&!(0x0,lodash_1[_0x483c7f(0xe3)])(_0x5a1839['route'],_0x483c7f(0x101))&&_0x599602[_0x483c7f(0xd4)](_0x5a1839['route'])===-0x1){if(!(_0x1f3357===null||_0x1f3357===void 0x0?void 0x0:_0x1f3357[_0x483c7f(0x123)])){let _0x4edd1e=(0x0,decorator_3['getMethodParamTypes'])(new _0x4cc1d1(),_0x5760bf[_0x483c7f(0x119)]);for(const _0x15760f in _0x4edd1e){let _0x5b82de=(_0x1432c7=_0x327d20[_0x5760bf[_0x483c7f(0x119)]])===null||_0x1432c7===void 0x0?void 0x0:_0x1432c7[_0x483c7f(0x102)](_0x558a5c=>_0x558a5c['parameterIndex']==_0x15760f&&_0x558a5c[_0x483c7f(0x124)]===decorator_2[_0x483c7f(0x128)]&&(_0x558a5c===null||_0x558a5c===void 0x0?void 0x0:_0x558a5c[_0x483c7f(0xe7)]));if(_0x5b82de===null||_0x5b82de===void 0x0?void 0x0:_0x5b82de[_0x483c7f(0xe7)]){let _0x944268=convertTypeToString(_0x5b82de['metadata'][_0x483c7f(0xde)]||0x0);if([_0x483c7f(0xea),_0x483c7f(0xf3)][_0x483c7f(0xd4)](_0x944268)!=-0x1&&_0x5b82de[_0x483c7f(0xe7)][_0x483c7f(0xd8)]['indexOf'](':')==-0x1&&!_0x5a1839[_0x483c7f(0xf9)][_0x483c7f(0x102)](_0x14df82=>_0x14df82['key']==_0x5b82de['metadata']['propertyData']))_0x5a1839[_0x483c7f(0xf9)][_0x483c7f(0x11a)]({'key':_0x5b82de[_0x483c7f(0xe7)]['propertyData'],'title':_0x5b82de[_0x483c7f(0xe7)][_0x483c7f(0xd8)],'type':convertSchemaType(_0x4edd1e[_0x5b82de[_0x483c7f(0x113)]][_0x483c7f(0xda)]),'required':![],'default':'','desc':''});else{if(_0x944268==_0x483c7f(0x105)){let _0x4e5192=((_0xb0ca2c=_0x5b82de===null||_0x5b82de===void 0x0?void 0x0:_0x5b82de['metadata'])===null||_0xb0ca2c===void 0x0?void 0x0:_0xb0ca2c[_0x483c7f(0xd8)])||_0x483c7f(0x105);_0x4e5192[_0x483c7f(0xd4)](':')==-0x1&&!_0x5a1839[_0x483c7f(0xf9)][_0x483c7f(0x102)](_0x3b8af5=>_0x3b8af5[_0x483c7f(0x124)]==_0x4e5192&&_0x3b8af5[_0x483c7f(0xde)]==_0x483c7f(0x105))&&_0x5a1839['request']['push']({'key':_0x4e5192,'title':_0x483c7f(0xec)+_0x4e5192,'type':'file','required':!![],'default':'','desc':''});}}}else{const _0x49b702=(0x0,decorator_3['getClassExtendedMetadata'])(validator_1[_0x483c7f(0x125)],_0x4edd1e[_0x15760f]);_0x49b702&&_0x5a1839['request']['push'](...getJoiRequest(_0x49b702));}}}_0x52ab8c[_0x483c7f(0x117)][_0x483c7f(0x11a)](_0x5a1839);}}if(_0x52ab8c[_0x483c7f(0x117)]['length']>0x0){let _0x2cbc4d=_0x1da176[_0x1f911d];_0x2cbc4d?(_0x2cbc4d[_0x483c7f(0xe8)]!=_0x52ab8c[_0x483c7f(0xe8)]&&(_0x2cbc4d[_0x483c7f(0xe8)]=_0x2cbc4d[_0x483c7f(0xe8)]+','+_0x52ab8c[_0x483c7f(0xe8)]),_0x2cbc4d[_0x483c7f(0xfb)]!=_0x52ab8c[_0x483c7f(0xfb)]&&(_0x2cbc4d[_0x483c7f(0xfb)]=_0x2cbc4d[_0x483c7f(0xfb)]+','+_0x52ab8c['description']),_0x2cbc4d[_0x483c7f(0x117)]=_0x2cbc4d[_0x483c7f(0x117)][_0x483c7f(0x104)](_0x52ab8c[_0x483c7f(0x117)]),_0x1da176[_0x1f911d]=_0x2cbc4d):_0x1da176[_0x1f911d]=_0x52ab8c;}}}return _0x1da176;}function a7_0x7a1b(_0x5646a0,_0x55144b){const _0x356eac=a7_0x356e();return a7_0x7a1b=function(_0x7a1bfa,_0x2258d2){_0x7a1bfa=_0x7a1bfa-0xd3;let _0x2e531c=_0x356eac[_0x7a1bfa];return _0x2e531c;},a7_0x7a1b(_0x5646a0,_0x55144b);}exports[a7_0x21e59c(0x10b)]=getRoutes;function getJoiRequest(_0x3d83b1){const _0x47adcb=a7_0x21e59c,_0x4e2f5a=[];for(let _0x30806f in _0x3d83b1){const _0x4c6142={'title':'','key':'','type':'','description':'','rules':{},'children':[]},_0x30c4c6=typeof _0x3d83b1[_0x30806f][_0x47adcb(0x129)]=='function'?_0x3d83b1[_0x30806f][_0x47adcb(0x129)]():_0x3d83b1[_0x30806f];_0x4c6142['key']=_0x30806f,_0x4c6142[_0x47adcb(0xde)]=_0x30c4c6[_0x47adcb(0xde)],_0x4c6142[_0x47adcb(0xdf)]=(0x0,lodash_1[_0x47adcb(0xdb)])(_0x30c4c6,_0x47adcb(0xe4),_0x30806f),_0x4c6142[_0x47adcb(0x116)]=(0x0,lodash_1[_0x47adcb(0xdb)])(_0x30c4c6,'flags.default',''),_0x4c6142[_0x47adcb(0x108)]=(0x0,lodash_1[_0x47adcb(0xdb)])(_0x30c4c6,_0x47adcb(0x10e),'')==_0x47adcb(0x108),_0x4c6142[_0x47adcb(0xfb)]=(0x0,lodash_1['get'])(_0x30c4c6,'flags.description','');if(_0x30c4c6[_0x47adcb(0xde)]==_0x47adcb(0xdc))_0x4c6142['children']=getJoiRequest(_0x30c4c6[_0x47adcb(0xee)]);else _0x30c4c6[_0x47adcb(0xde)]==_0x47adcb(0x11b)&&_0x30c4c6[_0x47adcb(0xe5)]&&Array['isArray'](_0x30c4c6[_0x47adcb(0xe5)])&&_0x30c4c6[_0x47adcb(0xe5)][0x0]&&console['log'](_0x30806f+_0x47adcb(0xd5),_0x30c4c6);_0x30c4c6[_0x47adcb(0xf2)]&&Array['isArray'](_0x30c4c6[_0x47adcb(0xf2)])&&_0x30c4c6[_0x47adcb(0xf2)][_0x47adcb(0x120)]>0x0&&(_0x4c6142[_0x47adcb(0xfb)]=_0x47adcb(0x11d)+_0x30c4c6['allow']['join'](',')+'];'+_0x4c6142[_0x47adcb(0xfb)]);if(_0x4c6142[_0x47adcb(0x124)]&&_0x4c6142[_0x47adcb(0xde)]){const _0x149446={};for(const _0x3e0897 of _0x30c4c6[_0x47adcb(0x106)]||[]){if(_0x3e0897[_0x47adcb(0xda)]===_0x47adcb(0xef)&&_0x3e0897['args'])_0x149446[_0x47adcb(0xef)]=_0x3e0897['args'][_0x47adcb(0xe9)];else _0x3e0897['name']===_0x47adcb(0x12a)&&(_0x149446[_0x47adcb(0x12a)]=_0x3e0897[_0x47adcb(0x111)][_0x47adcb(0xe9)]);}_0x4c6142[_0x47adcb(0x106)]=_0x149446;}_0x4c6142['key']&&_0x4c6142[_0x47adcb(0xdf)]&&_0x4e2f5a[_0x47adcb(0x11a)](_0x4c6142);}return _0x4e2f5a;}function convertSchemaType(_0x4ffb6c){const _0x46dac3=a7_0x21e59c;switch(_0x4ffb6c){case'Object':return _0x46dac3(0xdc);case _0x46dac3(0xf8):return _0x46dac3(0xf4);case _0x46dac3(0xf6):return _0x46dac3(0x10a);case _0x46dac3(0xed):return _0x46dac3(0xf5);case'File':return _0x46dac3(0x105);default:return _0x46dac3(0xf5);}}function convertTypeToString(_0x1f5bfc){const _0x1f9f05=a7_0x21e59c;switch(_0x1f5bfc){case decorator_1[_0x1f9f05(0xd7)][_0x1f9f05(0x109)]:return _0x1f9f05(0xe2);case decorator_1[_0x1f9f05(0xd7)][_0x1f9f05(0x11f)]:return'query';case decorator_1['RouteParamTypes'][_0x1f9f05(0x115)]:return _0x1f9f05(0xff);case decorator_1['RouteParamTypes']['BODY']:return _0x1f9f05(0xf3);case decorator_1[_0x1f9f05(0xd7)]['FIELDS']:case decorator_1[_0x1f9f05(0xd7)][_0x1f9f05(0x126)]:case decorator_1['RouteParamTypes'][_0x1f9f05(0xfa)]:return _0x1f9f05(0x105);default:return _0x1f9f05(0xe2);}}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a8_0x346bd0=a8_0x2f5e;(function(_0x57bbf1,_0x4a59b2){var _0x487126=a8_0x2f5e,_0x20f7a5=_0x57bbf1();while(!![]){try{var _0x232cf0=parseInt(_0x487126(0x164))/0x1*(-parseInt(_0x487126(0x13d))/0x2)+parseInt(_0x487126(0x140))/0x3+-parseInt(_0x487126(0x15f))/0x4*(-parseInt(_0x487126(0x15e))/0x5)+-parseInt(_0x487126(0x160))/0x6*(-parseInt(_0x487126(0x12c))/0x7)+-parseInt(_0x487126(0x159))/0x8+-parseInt(_0x487126(0x154))/0x9*(-parseInt(_0x487126(0x14c))/0xa)+parseInt(_0x487126(0x134))/0xb*(-parseInt(_0x487126(0x145))/0xc);if(_0x232cf0===_0x4a59b2)break;else _0x20f7a5['push'](_0x20f7a5['shift']());}catch(_0x459c39){_0x20f7a5['push'](_0x20f7a5['shift']());}}}(a8_0x2e05,0xe0e72));var __createBinding=this&&this[a8_0x346bd0(0x146)]||(Object[a8_0x346bd0(0x149)]?function(_0x4817af,_0x5816d8,_0x9896c,_0x4c7e7c){var _0x104421=a8_0x346bd0;if(_0x4c7e7c===undefined)_0x4c7e7c=_0x9896c;var _0xd16be2=Object[_0x104421(0x150)](_0x5816d8,_0x9896c);(!_0xd16be2||(_0x104421(0x142)in _0xd16be2?!_0x5816d8[_0x104421(0x144)]:_0xd16be2[_0x104421(0x136)]||_0xd16be2['configurable']))&&(_0xd16be2={'enumerable':!![],'get':function(){return _0x5816d8[_0x9896c];}}),Object[_0x104421(0x15b)](_0x4817af,_0x4c7e7c,_0xd16be2);}:function(_0x209227,_0x2ac779,_0x2f49a9,_0x3a3418){if(_0x3a3418===undefined)_0x3a3418=_0x2f49a9;_0x209227[_0x3a3418]=_0x2ac779[_0x2f49a9];}),__exportStar=this&&this['__exportStar']||function(_0x32ca90,_0x591e4f){var _0x508ed0=a8_0x346bd0;for(var _0x260403 in _0x32ca90)if(_0x260403!==_0x508ed0(0x161)&&!Object[_0x508ed0(0x138)][_0x508ed0(0x13f)][_0x508ed0(0x131)](_0x591e4f,_0x260403))__createBinding(_0x591e4f,_0x32ca90,_0x260403);};Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x144),{'value':!![]}),exports['ScopeEnum']=exports[a8_0x346bd0(0x130)]=exports[a8_0x346bd0(0x135)]=exports[a8_0x346bd0(0x12f)]=exports['Logger']=exports[a8_0x346bd0(0x158)]=exports[a8_0x346bd0(0x137)]=exports['Init']=exports[a8_0x346bd0(0x14a)]=exports['Query']=exports['Param']=exports[a8_0x346bd0(0x13a)]=exports[a8_0x346bd0(0x157)]=exports[a8_0x346bd0(0x129)]=exports[a8_0x346bd0(0x12d)]=exports[a8_0x346bd0(0x148)]=exports[a8_0x346bd0(0x133)]=exports[a8_0x346bd0(0x12a)]=exports[a8_0x346bd0(0x155)]=exports[a8_0x346bd0(0x165)]=exports['EventService']=exports[a8_0x346bd0(0x14d)]=exports[a8_0x346bd0(0x163)]=exports['ApiError']=exports['Apitest']=exports[a8_0x346bd0(0x141)]=exports[a8_0x346bd0(0x156)]=exports[a8_0x346bd0(0x12e)]=void 0x0,__exportStar(require('./types/common'),exports),__exportStar(require(a8_0x346bd0(0x12b)),exports);var getRoutes_1=require(a8_0x346bd0(0x151));Object[a8_0x346bd0(0x15b)](exports,'getRoutes',{'enumerable':!![],'get':function(){var _0x29f917=a8_0x346bd0;return getRoutes_1[_0x29f917(0x12e)];}});var ActionApi_1=require(a8_0x346bd0(0x143));Object[a8_0x346bd0(0x15b)](exports,'Api',{'enumerable':!![],'get':function(){var _0x116019=a8_0x346bd0;return ActionApi_1[_0x116019(0x156)];}});var Action_1=require(a8_0x346bd0(0x13e));Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x141),{'enumerable':!![],'get':function(){var _0x137ae8=a8_0x346bd0;return Action_1[_0x137ae8(0x141)];}});var ActionApitest_1=require(a8_0x346bd0(0x147));Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x14b),{'enumerable':!![],'get':function(){var _0x2c0db3=a8_0x346bd0;return ActionApitest_1[_0x2c0db3(0x14b)];}});function a8_0x2f5e(_0x52f5f2,_0x1a23f9){var _0x2e05d7=a8_0x2e05();return a8_0x2f5e=function(_0x2f5ee3,_0x292335){_0x2f5ee3=_0x2f5ee3-0x129;var _0xb058d6=_0x2e05d7[_0x2f5ee3];return _0xb058d6;},a8_0x2f5e(_0x52f5f2,_0x1a23f9);}var ApiError_1=require(a8_0x346bd0(0x132));Object['defineProperty'](exports,'ApiError',{'enumerable':!![],'get':function(){var _0x4d1026=a8_0x346bd0;return ApiError_1[_0x4d1026(0x14e)];}});var task_1=require(a8_0x346bd0(0x15c));Object[a8_0x346bd0(0x15b)](exports,'QueueService',{'enumerable':!![],'get':function(){var _0x1f6185=a8_0x346bd0;return task_1[_0x1f6185(0x163)];}});var cache_1=require(a8_0x346bd0(0x166));Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x14d),{'enumerable':!![],'get':function(){var _0x466f43=a8_0x346bd0;return cache_1[_0x466f43(0x14d)];}});var event_1=require('@anncic-api/event');Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x13b),{'enumerable':!![],'get':function(){var _0x338d8f=a8_0x346bd0;return event_1[_0x338d8f(0x13b)];}});var ApiService_1=require('./service/ApiService');Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x165),{'enumerable':!![],'get':function(){var _0x33ada2=a8_0x346bd0;return ApiService_1[_0x33ada2(0x165)];}});var ExcelService_1=require(a8_0x346bd0(0x152));Object['defineProperty'](exports,'ExcelService',{'enumerable':!![],'get':function(){var _0x3a5308=a8_0x346bd0;return ExcelService_1[_0x3a5308(0x155)];}});function a8_0x2e05(){var _0x38572e=['Inject','writable','App','prototype','Init','Body','EventService','Param','697182gDFoDV','./decorator/Action','hasOwnProperty','1800162efcIaM','Action','get','./decorator/ActionApi','__esModule','9787188ZeQOAt','__createBinding','./decorator/ActionApitest','Configuration','create','Headers','Apitest','10xaSUNG','CacheService','ApiError','Query','getOwnPropertyDescriptor','./helper/getRoutes','./service/ExcelService','./configuration','12626046llGEfu','ExcelService','Api','Fields','Config','1087600YLpBzL','@anncic-api/validator','defineProperty','@midwayjs/task','Logger','166035nebpKe','112doeRGs','138NvWtXL','default','ScopeEnum','QueueService','5ahcRLP','ApiService','@anncic-api/cache','Files','ValidatorError','./service/ApitestService','207858uXDADt','File','getRoutes','Provide','Scope','call','./exception/ApiError','ValidatorService','11wkHktb'];a8_0x2e05=function(){return _0x38572e;};return a8_0x2e05();}var validator_1=require(a8_0x346bd0(0x15a));Object[a8_0x346bd0(0x15b)](exports,'ValidatorError',{'enumerable':!![],'get':function(){var _0x38f728=a8_0x346bd0;return validator_1[_0x38f728(0x12a)];}}),Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x133),{'enumerable':!![],'get':function(){return validator_1['ValidatorService'];}});var configuration_1=require(a8_0x346bd0(0x153));Object[a8_0x346bd0(0x15b)](exports,'Configuration',{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});var decorator_1=require('@midwayjs/decorator');Object[a8_0x346bd0(0x15b)](exports,'File',{'enumerable':!![],'get':function(){var _0x33c291=a8_0x346bd0;return decorator_1[_0x33c291(0x12d)];}}),Object['defineProperty'](exports,a8_0x346bd0(0x129),{'enumerable':!![],'get':function(){var _0xbecf25=a8_0x346bd0;return decorator_1[_0xbecf25(0x129)];}}),Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x157),{'enumerable':!![],'get':function(){return decorator_1['Fields'];}}),Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x13a),{'enumerable':!![],'get':function(){var _0x573b5b=a8_0x346bd0;return decorator_1[_0x573b5b(0x13a)];}}),Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x13c),{'enumerable':!![],'get':function(){var _0x40f39c=a8_0x346bd0;return decorator_1[_0x40f39c(0x13c)];}}),Object['defineProperty'](exports,a8_0x346bd0(0x14f),{'enumerable':!![],'get':function(){return decorator_1['Query'];}}),Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x14a),{'enumerable':!![],'get':function(){return decorator_1['Headers'];}}),Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x139),{'enumerable':!![],'get':function(){var _0x403106=a8_0x346bd0;return decorator_1[_0x403106(0x139)];}});var decorator_2=require('@midwayjs/decorator');Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x137),{'enumerable':!![],'get':function(){return decorator_2['App'];}}),Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x158),{'enumerable':!![],'get':function(){var _0x437a96=a8_0x346bd0;return decorator_2[_0x437a96(0x158)];}}),Object[a8_0x346bd0(0x15b)](exports,'Logger',{'enumerable':!![],'get':function(){var _0x2e088b=a8_0x346bd0;return decorator_2[_0x2e088b(0x15d)];}}),Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x12f),{'enumerable':!![],'get':function(){var _0x156945=a8_0x346bd0;return decorator_2[_0x156945(0x12f)];}}),Object['defineProperty'](exports,a8_0x346bd0(0x135),{'enumerable':!![],'get':function(){var _0x1a09eb=a8_0x346bd0;return decorator_2[_0x1a09eb(0x135)];}}),Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x130),{'enumerable':!![],'get':function(){var _0x398f2d=a8_0x346bd0;return decorator_2[_0x398f2d(0x130)];}}),Object[a8_0x346bd0(0x15b)](exports,a8_0x346bd0(0x162),{'enumerable':!![],'get':function(){return decorator_2['ScopeEnum'];}});
1
+ 'use strict';var a8_0x1ac8e4=a8_0x5d54;(function(_0x1183f7,_0x3c5006){var _0x388e76=a8_0x5d54,_0x43ce9d=_0x1183f7();while(!![]){try{var _0x245731=-parseInt(_0x388e76(0x156))/0x1*(-parseInt(_0x388e76(0x141))/0x2)+parseInt(_0x388e76(0x145))/0x3+parseInt(_0x388e76(0x124))/0x4*(parseInt(_0x388e76(0x122))/0x5)+parseInt(_0x388e76(0x14d))/0x6+-parseInt(_0x388e76(0x138))/0x7+parseInt(_0x388e76(0x14f))/0x8+-parseInt(_0x388e76(0x12a))/0x9;if(_0x245731===_0x3c5006)break;else _0x43ce9d['push'](_0x43ce9d['shift']());}catch(_0x5e050f){_0x43ce9d['push'](_0x43ce9d['shift']());}}}(a8_0x31c7,0x98855));function a8_0x5d54(_0xdc9157,_0x2abd13){var _0x31c760=a8_0x31c7();return a8_0x5d54=function(_0x5d5479,_0xe2b92f){_0x5d5479=_0x5d5479-0x122;var _0x3ebc0b=_0x31c760[_0x5d5479];return _0x3ebc0b;},a8_0x5d54(_0xdc9157,_0x2abd13);}var __createBinding=this&&this[a8_0x1ac8e4(0x12e)]||(Object['create']?function(_0x96e0f2,_0x4fa2f1,_0x3a872d,_0x53aa93){var _0x5737c5=a8_0x1ac8e4;if(_0x53aa93===undefined)_0x53aa93=_0x3a872d;var _0x297e4f=Object[_0x5737c5(0x12f)](_0x4fa2f1,_0x3a872d);(!_0x297e4f||(_0x5737c5(0x133)in _0x297e4f?!_0x4fa2f1[_0x5737c5(0x134)]:_0x297e4f['writable']||_0x297e4f[_0x5737c5(0x126)]))&&(_0x297e4f={'enumerable':!![],'get':function(){return _0x4fa2f1[_0x3a872d];}}),Object[_0x5737c5(0x143)](_0x96e0f2,_0x53aa93,_0x297e4f);}:function(_0x245cda,_0x2d68e7,_0x908d9e,_0x53345a){if(_0x53345a===undefined)_0x53345a=_0x908d9e;_0x245cda[_0x53345a]=_0x2d68e7[_0x908d9e];}),__exportStar=this&&this['__exportStar']||function(_0x216111,_0x449806){var _0x480428=a8_0x1ac8e4;for(var _0x157366 in _0x216111)if(_0x157366!==_0x480428(0x15c)&&!Object[_0x480428(0x12d)][_0x480428(0x153)][_0x480428(0x130)](_0x449806,_0x157366))__createBinding(_0x449806,_0x216111,_0x157366);};Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x134),{'value':!![]}),exports[a8_0x1ac8e4(0x14b)]=exports['Scope']=exports[a8_0x1ac8e4(0x135)]=exports['Provide']=exports[a8_0x1ac8e4(0x15f)]=exports['Config']=exports[a8_0x1ac8e4(0x13e)]=exports[a8_0x1ac8e4(0x159)]=exports['Headers']=exports[a8_0x1ac8e4(0x13a)]=exports['Param']=exports[a8_0x1ac8e4(0x129)]=exports['Fields']=exports[a8_0x1ac8e4(0x148)]=exports[a8_0x1ac8e4(0x155)]=exports[a8_0x1ac8e4(0x14c)]=exports[a8_0x1ac8e4(0x146)]=exports[a8_0x1ac8e4(0x151)]=exports[a8_0x1ac8e4(0x158)]=exports[a8_0x1ac8e4(0x140)]=exports[a8_0x1ac8e4(0x13b)]=exports[a8_0x1ac8e4(0x12c)]=exports[a8_0x1ac8e4(0x139)]=exports[a8_0x1ac8e4(0x131)]=exports['Apitest']=exports[a8_0x1ac8e4(0x13c)]=exports[a8_0x1ac8e4(0x144)]=exports[a8_0x1ac8e4(0x14a)]=void 0x0,__exportStar(require(a8_0x1ac8e4(0x147)),exports),__exportStar(require(a8_0x1ac8e4(0x132)),exports);var getRoutes_1=require(a8_0x1ac8e4(0x12b));Object['defineProperty'](exports,a8_0x1ac8e4(0x14a),{'enumerable':!![],'get':function(){return getRoutes_1['getRoutes'];}});var ActionApi_1=require(a8_0x1ac8e4(0x13d));Object[a8_0x1ac8e4(0x143)](exports,'Api',{'enumerable':!![],'get':function(){var _0x45c701=a8_0x1ac8e4;return ActionApi_1[_0x45c701(0x144)];}});var Action_1=require(a8_0x1ac8e4(0x157));Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x13c),{'enumerable':!![],'get':function(){var _0x2e8c53=a8_0x1ac8e4;return Action_1[_0x2e8c53(0x13c)];}});var ActionApitest_1=require(a8_0x1ac8e4(0x123));Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x136),{'enumerable':!![],'get':function(){return ActionApitest_1['Apitest'];}});var ApiError_1=require(a8_0x1ac8e4(0x15d));Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x131),{'enumerable':!![],'get':function(){var _0x2ff31c=a8_0x1ac8e4;return ApiError_1[_0x2ff31c(0x131)];}});var task_1=require(a8_0x1ac8e4(0x15b));Object[a8_0x1ac8e4(0x143)](exports,'QueueService',{'enumerable':!![],'get':function(){var _0x208543=a8_0x1ac8e4;return task_1[_0x208543(0x139)];}});var cache_1=require(a8_0x1ac8e4(0x125));Object[a8_0x1ac8e4(0x143)](exports,'CacheService',{'enumerable':!![],'get':function(){return cache_1['CacheService'];}});var event_1=require(a8_0x1ac8e4(0x137));Object[a8_0x1ac8e4(0x143)](exports,'EventService',{'enumerable':!![],'get':function(){var _0x5f30e8=a8_0x1ac8e4;return event_1[_0x5f30e8(0x13b)];}});var ApiService_1=require(a8_0x1ac8e4(0x127));Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x140),{'enumerable':!![],'get':function(){var _0x33a202=a8_0x1ac8e4;return ApiService_1[_0x33a202(0x140)];}});function a8_0x31c7(){var _0x15cd66=['EventService','Action','./decorator/ActionApi','App','CustomConfiguration','ApiService','4JOjegr','Param','defineProperty','Api','3101565tNghNu','ValidatorService','./types/common','Files','@anncic-api/validator','getRoutes','ScopeEnum','Configuration','1279362ABzWLd','./service/ExcelService','7117648mlwxso','Scope','ValidatorError','Headers','hasOwnProperty','Fields','File','194073kfVzGG','./decorator/Action','ExcelService','Init','Provide','@midwayjs/task','default','./exception/ApiError','./configuration','Logger','37255ggvYOB','./decorator/ActionApitest','12homgqV','@anncic-api/cache','configurable','./service/ApiService','Config','Body','6173541muxRaX','./helper/getRoutes','CacheService','prototype','__createBinding','getOwnPropertyDescriptor','call','ApiError','./service/ApitestService','get','__esModule','Inject','Apitest','@anncic-api/event','8656291ByYuXF','QueueService','Query'];a8_0x31c7=function(){return _0x15cd66;};return a8_0x31c7();}var ExcelService_1=require(a8_0x1ac8e4(0x14e));Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x158),{'enumerable':!![],'get':function(){var _0x4049ff=a8_0x1ac8e4;return ExcelService_1[_0x4049ff(0x158)];}});var validator_1=require(a8_0x1ac8e4(0x149));Object['defineProperty'](exports,'ValidatorError',{'enumerable':!![],'get':function(){var _0xf9f986=a8_0x1ac8e4;return validator_1[_0xf9f986(0x151)];}}),Object['defineProperty'](exports,a8_0x1ac8e4(0x146),{'enumerable':!![],'get':function(){return validator_1['ValidatorService'];}});var configuration_1=require(a8_0x1ac8e4(0x15e));Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x14c),{'enumerable':!![],'get':function(){var _0x5ed2b7=a8_0x1ac8e4;return configuration_1[_0x5ed2b7(0x13f)];}});var decorator_1=require('@midwayjs/decorator');Object[a8_0x1ac8e4(0x143)](exports,'File',{'enumerable':!![],'get':function(){var _0x4509d8=a8_0x1ac8e4;return decorator_1[_0x4509d8(0x155)];}}),Object['defineProperty'](exports,a8_0x1ac8e4(0x148),{'enumerable':!![],'get':function(){var _0x3a80d8=a8_0x1ac8e4;return decorator_1[_0x3a80d8(0x148)];}}),Object[a8_0x1ac8e4(0x143)](exports,'Fields',{'enumerable':!![],'get':function(){var _0x4cbc52=a8_0x1ac8e4;return decorator_1[_0x4cbc52(0x154)];}}),Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x129),{'enumerable':!![],'get':function(){var _0x15c99c=a8_0x1ac8e4;return decorator_1[_0x15c99c(0x129)];}}),Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x142),{'enumerable':!![],'get':function(){var _0x5f0c96=a8_0x1ac8e4;return decorator_1[_0x5f0c96(0x142)];}}),Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x13a),{'enumerable':!![],'get':function(){var _0x24b3f3=a8_0x1ac8e4;return decorator_1[_0x24b3f3(0x13a)];}}),Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x152),{'enumerable':!![],'get':function(){var _0x527c9b=a8_0x1ac8e4;return decorator_1[_0x527c9b(0x152)];}}),Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x159),{'enumerable':!![],'get':function(){var _0x23ae2a=a8_0x1ac8e4;return decorator_1[_0x23ae2a(0x159)];}});var decorator_2=require('@midwayjs/decorator');Object[a8_0x1ac8e4(0x143)](exports,'App',{'enumerable':!![],'get':function(){var _0x51cd4d=a8_0x1ac8e4;return decorator_2[_0x51cd4d(0x13e)];}}),Object[a8_0x1ac8e4(0x143)](exports,'Config',{'enumerable':!![],'get':function(){var _0x17bec7=a8_0x1ac8e4;return decorator_2[_0x17bec7(0x128)];}}),Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x15f),{'enumerable':!![],'get':function(){var _0x260014=a8_0x1ac8e4;return decorator_2[_0x260014(0x15f)];}}),Object['defineProperty'](exports,a8_0x1ac8e4(0x15a),{'enumerable':!![],'get':function(){var _0x237252=a8_0x1ac8e4;return decorator_2[_0x237252(0x15a)];}}),Object['defineProperty'](exports,a8_0x1ac8e4(0x135),{'enumerable':!![],'get':function(){return decorator_2['Inject'];}}),Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x150),{'enumerable':!![],'get':function(){var _0x3ea332=a8_0x1ac8e4;return decorator_2[_0x3ea332(0x150)];}}),Object[a8_0x1ac8e4(0x143)](exports,a8_0x1ac8e4(0x14b),{'enumerable':!![],'get':function(){var _0x3c6c8d=a8_0x1ac8e4;return decorator_2[_0x3c6c8d(0x14b)];}});
@@ -1 +1 @@
1
- 'use strict';var a9_0x4cfb33=a9_0x5ba3;(function(_0x15658b,_0x39f7c7){var _0x98da4a=a9_0x5ba3,_0x1dbd5a=_0x15658b();while(!![]){try{var _0x3543bc=parseInt(_0x98da4a(0xcd))/0x1*(-parseInt(_0x98da4a(0xc6))/0x2)+parseInt(_0x98da4a(0xce))/0x3+parseInt(_0x98da4a(0xdb))/0x4*(-parseInt(_0x98da4a(0xd4))/0x5)+-parseInt(_0x98da4a(0xb4))/0x6*(parseInt(_0x98da4a(0xb1))/0x7)+-parseInt(_0x98da4a(0xd0))/0x8+-parseInt(_0x98da4a(0xcb))/0x9+parseInt(_0x98da4a(0xb9))/0xa;if(_0x3543bc===_0x39f7c7)break;else _0x1dbd5a['push'](_0x1dbd5a['shift']());}catch(_0xb2637d){_0x1dbd5a['push'](_0x1dbd5a['shift']());}}}(a9_0x165a,0x9caf1));function a9_0x165a(){var _0x4171d1=['getsign','now','defineProperty','__metadata','device','signature','MD5','1295ynSYtC','requesttime','../exception/ApiError','9726HdJUBF','HEADERS_LACK','push','Scope','getOwnPropertyDescriptor','28124340OhCFdT','token','Config','undefined','checksign','logintime','anncicapi','HEADERS_DEVICE','checkcode','decorate','ApiService','fromEntries','config','218HKIqeN','getcheck','缺少头信息:signature','sort','secret=','10122930jOFyeh','password','4751wOCgwI','1686345CNoOMA','toString','2251360fbHoys','Provide','toLowerCase','Singleton','1272095ZIKCbC','HEADERS_SIGNATURE','__decorate','devices','crypto-js','join','ApiError','8zQILYC','metadata','TIMEOUT','@midwayjs/decorator','secret','length'];a9_0x165a=function(){return _0x4171d1;};return a9_0x165a();}var __decorate=this&&this[a9_0x4cfb33(0xd6)]||function(_0x3672a3,_0x13398d,_0x2ccaa6,_0x10bf30){var _0x1537a0=a9_0x4cfb33,_0xf9ca28=arguments[_0x1537a0(0xa9)],_0x1bbaab=_0xf9ca28<0x3?_0x13398d:_0x10bf30===null?_0x10bf30=Object[_0x1537a0(0xb8)](_0x13398d,_0x2ccaa6):_0x10bf30,_0x53196d;if(typeof Reflect==='object'&&typeof Reflect[_0x1537a0(0xc2)]==='function')_0x1bbaab=Reflect['decorate'](_0x3672a3,_0x13398d,_0x2ccaa6,_0x10bf30);else{for(var _0x1ff682=_0x3672a3[_0x1537a0(0xa9)]-0x1;_0x1ff682>=0x0;_0x1ff682--)if(_0x53196d=_0x3672a3[_0x1ff682])_0x1bbaab=(_0xf9ca28<0x3?_0x53196d(_0x1bbaab):_0xf9ca28>0x3?_0x53196d(_0x13398d,_0x2ccaa6,_0x1bbaab):_0x53196d(_0x13398d,_0x2ccaa6))||_0x1bbaab;}return _0xf9ca28>0x3&&_0x1bbaab&&Object[_0x1537a0(0xac)](_0x13398d,_0x2ccaa6,_0x1bbaab),_0x1bbaab;},__metadata=this&&this[a9_0x4cfb33(0xad)]||function(_0x413658,_0x511c9e){var _0x360e0a=a9_0x4cfb33;if(typeof Reflect==='object'&&typeof Reflect[_0x360e0a(0xdc)]==='function')return Reflect[_0x360e0a(0xdc)](_0x413658,_0x511c9e);};Object[a9_0x4cfb33(0xac)](exports,'__esModule',{'value':!![]}),exports[a9_0x4cfb33(0xc3)]=void 0x0;const crypto_js_1=require(a9_0x4cfb33(0xd8)),decorator_1=require(a9_0x4cfb33(0xde)),ApiError_1=require(a9_0x4cfb33(0xb3));let ApiService=class ApiService{[a9_0x4cfb33(0xcc)](_0x56b756){var _0x57d234=a9_0x4cfb33,_0x2b6d34;return _0x56b756?(0x0,crypto_js_1['MD5'])(_0x56b756+(0x0,crypto_js_1[_0x57d234(0xb0)])((0x0,crypto_js_1[_0x57d234(0xb0)])(_0x56b756)['toString']()+((_0x2b6d34=this['config'])===null||_0x2b6d34===void 0x0?void 0x0:_0x2b6d34[_0x57d234(0xcc)]))[_0x57d234(0xcf)]())['toString']():'';}[a9_0x4cfb33(0xc7)](_0x49b99a,_0xfb5074,_0x385c19=Date['now']()){var _0x2f705e=a9_0x4cfb33;return{'Token':_0x49b99a,'Logintime':_0x385c19,'Checkcode':this[_0x2f705e(0xc1)](_0x49b99a,_0xfb5074,_0x385c19)};}[a9_0x4cfb33(0xaa)](_0x4a401b={}){var _0xe1bbe8=a9_0x4cfb33;const _0x2a1d1d=[],_0x7f59fe=Object[_0xe1bbe8(0xc4)](Object['entries'](_0x4a401b)['map'](_0x26c3bd=>[_0x26c3bd[0x0][_0xe1bbe8(0xd2)](),_0x26c3bd[0x1]]));for(let _0x11655b of[_0xe1bbe8(0xae),_0xe1bbe8(0xb2),'token',_0xe1bbe8(0xbe),_0xe1bbe8(0xc1)]){if(typeof _0x7f59fe[_0x11655b]==_0xe1bbe8(0xbc))throw new AnnError(ApiError_1[_0xe1bbe8(0xda)][_0xe1bbe8(0xb5)],{'message':'缺少头信息:'+_0x11655b});_0x2a1d1d[_0xe1bbe8(0xb6)](_0x11655b+'='+_0x7f59fe[_0x11655b]);}if(Math['abs'](_0x7f59fe['requesttime'])-Date['now']()>this['config']['timeout'])throw new AnnError(ApiError_1[_0xe1bbe8(0xda)][_0xe1bbe8(0xdd)]);if(!this[_0xe1bbe8(0xc5)][_0xe1bbe8(0xd7)][_0x7f59fe[_0xe1bbe8(0xae)]]||!this['config'][_0xe1bbe8(0xd7)][_0x7f59fe['device']][_0xe1bbe8(0xdf)]||!this[_0xe1bbe8(0xc5)]['devices'][_0x7f59fe[_0xe1bbe8(0xae)]][_0xe1bbe8(0xc1)])throw new AnnError(ApiError_1[_0xe1bbe8(0xda)][_0xe1bbe8(0xc0)]);if(_0x7f59fe[_0xe1bbe8(0xba)]&&_0x7f59fe[_0xe1bbe8(0xc1)]!=this['checkcode'](_0x7f59fe[_0xe1bbe8(0xba)],_0x7f59fe[_0xe1bbe8(0xae)],_0x7f59fe[_0xe1bbe8(0xbe)]))throw new AnnError(ApiError_1[_0xe1bbe8(0xda)]['HEADERS_CHECKCODE']);return _0x2a1d1d[_0xe1bbe8(0xb6)](_0xe1bbe8(0xca)+this[_0xe1bbe8(0xc5)][_0xe1bbe8(0xd7)][_0x7f59fe[_0xe1bbe8(0xae)]][_0xe1bbe8(0xdf)]),(0x0,crypto_js_1[_0xe1bbe8(0xb0)])(_0x2a1d1d[_0xe1bbe8(0xc9)]()[_0xe1bbe8(0xd9)](''))[_0xe1bbe8(0xcf)]();}[a9_0x4cfb33(0xc1)](_0x151b87,_0x1ebd47,_0x2fa6e9=Date[a9_0x4cfb33(0xab)]()){var _0x417d71=a9_0x4cfb33,_0x1b51b0,_0xe990e0,_0x3daf8b;if(!((_0x1b51b0=this[_0x417d71(0xc5)])===null||_0x1b51b0===void 0x0?void 0x0:_0x1b51b0[_0x417d71(0xd7)][_0x1ebd47])||!((_0x3daf8b=(_0xe990e0=this[_0x417d71(0xc5)])===null||_0xe990e0===void 0x0?void 0x0:_0xe990e0['devices'][_0x1ebd47])===null||_0x3daf8b===void 0x0?void 0x0:_0x3daf8b[_0x417d71(0xc1)]))throw new AnnError(ApiError_1[_0x417d71(0xda)][_0x417d71(0xc0)]);return(0x0,crypto_js_1[_0x417d71(0xb0)])(_0x151b87+(0x0,crypto_js_1[_0x417d71(0xb0)])(_0x2fa6e9+this[_0x417d71(0xc5)]['devices'][_0x1ebd47]['checkcode'])['toString']())[_0x417d71(0xcf)]();}[a9_0x4cfb33(0xbd)](_0xd67fec={}){var _0x290642=a9_0x4cfb33;const _0x249dbb=Object[_0x290642(0xc4)](Object['entries'](_0xd67fec)['map'](_0x97dae4=>[_0x97dae4[0x0][_0x290642(0xd2)](),_0x97dae4[0x1]]));if(!(_0x249dbb===null||_0x249dbb===void 0x0?void 0x0:_0x249dbb['signature']))throw new AnnError(ApiError_1[_0x290642(0xda)][_0x290642(0xb5)],{'message':_0x290642(0xc8)});if((_0x249dbb===null||_0x249dbb===void 0x0?void 0x0:_0x249dbb[_0x290642(0xaf)])!=this[_0x290642(0xaa)](_0x249dbb))throw new AnnError(ApiError_1[_0x290642(0xda)][_0x290642(0xd5)]);return!![];}};function a9_0x5ba3(_0x267091,_0x34a503){var _0x165aaf=a9_0x165a();return a9_0x5ba3=function(_0x5ba3bc,_0xa61306){_0x5ba3bc=_0x5ba3bc-0xa9;var _0x3ed9f3=_0x165aaf[_0x5ba3bc];return _0x3ed9f3;},a9_0x5ba3(_0x267091,_0x34a503);}__decorate([(0x0,decorator_1[a9_0x4cfb33(0xbb)])(a9_0x4cfb33(0xbf)),__metadata('design:type',Object)],ApiService['prototype'],a9_0x4cfb33(0xc5),void 0x0),ApiService=__decorate([(0x0,decorator_1[a9_0x4cfb33(0xd1)])(),(0x0,decorator_1[a9_0x4cfb33(0xb7)])(decorator_1['ScopeEnum'][a9_0x4cfb33(0xd3)])],ApiService),exports[a9_0x4cfb33(0xc3)]=ApiService;
1
+ 'use strict';var a9_0x2ecfe5=a9_0x3e7d;(function(_0x44e4bf,_0x523f67){var _0x5a3e1c=a9_0x3e7d,_0xf46d11=_0x44e4bf();while(!![]){try{var _0x122dcf=parseInt(_0x5a3e1c(0x1eb))/0x1+parseInt(_0x5a3e1c(0x1f2))/0x2*(parseInt(_0x5a3e1c(0x1ec))/0x3)+-parseInt(_0x5a3e1c(0x1fc))/0x4*(parseInt(_0x5a3e1c(0x210))/0x5)+parseInt(_0x5a3e1c(0x222))/0x6*(-parseInt(_0x5a3e1c(0x203))/0x7)+-parseInt(_0x5a3e1c(0x215))/0x8*(parseInt(_0x5a3e1c(0x20c))/0x9)+parseInt(_0x5a3e1c(0x1f7))/0xa+parseInt(_0x5a3e1c(0x1ff))/0xb*(parseInt(_0x5a3e1c(0x202))/0xc);if(_0x122dcf===_0x523f67)break;else _0xf46d11['push'](_0xf46d11['shift']());}catch(_0x465cd1){_0xf46d11['push'](_0xf46d11['shift']());}}}(a9_0x2798,0xc48b8));var __decorate=this&&this[a9_0x2ecfe5(0x1f4)]||function(_0x4cb8a5,_0xaf22e6,_0x5c8543,_0x2c3c65){var _0x30bc4d=a9_0x2ecfe5,_0x3db9f8=arguments[_0x30bc4d(0x1f9)],_0x4d3561=_0x3db9f8<0x3?_0xaf22e6:_0x2c3c65===null?_0x2c3c65=Object[_0x30bc4d(0x1ed)](_0xaf22e6,_0x5c8543):_0x2c3c65,_0x5245fa;if(typeof Reflect===_0x30bc4d(0x1f6)&&typeof Reflect['decorate']===_0x30bc4d(0x1e9))_0x4d3561=Reflect['decorate'](_0x4cb8a5,_0xaf22e6,_0x5c8543,_0x2c3c65);else{for(var _0x1dc22e=_0x4cb8a5['length']-0x1;_0x1dc22e>=0x0;_0x1dc22e--)if(_0x5245fa=_0x4cb8a5[_0x1dc22e])_0x4d3561=(_0x3db9f8<0x3?_0x5245fa(_0x4d3561):_0x3db9f8>0x3?_0x5245fa(_0xaf22e6,_0x5c8543,_0x4d3561):_0x5245fa(_0xaf22e6,_0x5c8543))||_0x4d3561;}return _0x3db9f8>0x3&&_0x4d3561&&Object[_0x30bc4d(0x216)](_0xaf22e6,_0x5c8543,_0x4d3561),_0x4d3561;},__metadata=this&&this[a9_0x2ecfe5(0x21a)]||function(_0x3a16f3,_0x34f0c0){var _0x428a38=a9_0x2ecfe5;if(typeof Reflect==='object'&&typeof Reflect['metadata']===_0x428a38(0x1e9))return Reflect[_0x428a38(0x21b)](_0x3a16f3,_0x34f0c0);};Object[a9_0x2ecfe5(0x216)](exports,a9_0x2ecfe5(0x1f3),{'value':!![]}),exports[a9_0x2ecfe5(0x200)]=void 0x0;const crypto_js_1=require(a9_0x2ecfe5(0x208)),decorator_1=require(a9_0x2ecfe5(0x224)),ApiError_1=require('../exception/ApiError');function a9_0x3e7d(_0x47d745,_0x5acbd5){var _0x279839=a9_0x2798();return a9_0x3e7d=function(_0x3e7dea,_0x12dfda){_0x3e7dea=_0x3e7dea-0x1e8;var _0x54af3c=_0x279839[_0x3e7dea];return _0x54af3c;},a9_0x3e7d(_0x47d745,_0x5acbd5);}function a9_0x2798(){var _0x25ff68=['158337AcNGPz','checksign','TIMEOUT','push','4555qzXGZf','anncicapi','HEADERS_CHECKCODE','signature','devices','544gmbhbp','defineProperty','缺少头信息:','token','HEADERS_DEVICE','__metadata','metadata','Config','join','toString','Scope','secret=','ApiError','735906zMYJND','sort','@midwayjs/decorator','config','function','fromEntries','943606nSSdIT','6GAjXad','getOwnPropertyDescriptor','getsign','toLowerCase','device','checkcode','1562984WjdgVf','__esModule','__decorate','MD5','object','2543130bVLhDr','entries','length','getcheck','timeout','904evOSOJ','map','缺少头信息:signature','165ZxbpVp','ApiService','requesttime','47688YTeYSR','35IcysgH','ScopeEnum','password','Provide','now','crypto-js','logintime','HEADERS_LACK','undefined'];a9_0x2798=function(){return _0x25ff68;};return a9_0x2798();}let ApiService=class ApiService{[a9_0x2ecfe5(0x205)](_0x51dc41){var _0x3203e6=a9_0x2ecfe5,_0x33b09b;return _0x51dc41?(0x0,crypto_js_1[_0x3203e6(0x1f5)])(_0x51dc41+(0x0,crypto_js_1[_0x3203e6(0x1f5)])((0x0,crypto_js_1[_0x3203e6(0x1f5)])(_0x51dc41)['toString']()+((_0x33b09b=this[_0x3203e6(0x1e8)])===null||_0x33b09b===void 0x0?void 0x0:_0x33b09b[_0x3203e6(0x205)]))[_0x3203e6(0x21e)]())[_0x3203e6(0x21e)]():'';}[a9_0x2ecfe5(0x1fa)](_0x1846ff,_0x5f4987,_0x2398cf=Date['now']()){var _0x27c42f=a9_0x2ecfe5;return{'Token':_0x1846ff,'Logintime':_0x2398cf,'Checkcode':this[_0x27c42f(0x1f1)](_0x1846ff,_0x5f4987,_0x2398cf)};}[a9_0x2ecfe5(0x1ee)](_0x2551fc={}){var _0x362d43=a9_0x2ecfe5;const _0xbf2643=[],_0x4f3d73=Object[_0x362d43(0x1ea)](Object[_0x362d43(0x1f8)](_0x2551fc)[_0x362d43(0x1fd)](_0x4d51e6=>[_0x4d51e6[0x0]['toLowerCase'](),_0x4d51e6[0x1]]));for(let _0x2c6084 of[_0x362d43(0x1f0),'requesttime','token',_0x362d43(0x209),_0x362d43(0x1f1)]){if(typeof _0x4f3d73[_0x2c6084]==_0x362d43(0x20b))throw new AnnError(ApiError_1[_0x362d43(0x221)][_0x362d43(0x20a)],{'message':_0x362d43(0x217)+_0x2c6084});_0xbf2643[_0x362d43(0x20f)](_0x2c6084+'='+_0x4f3d73[_0x2c6084]);}if(Math['abs'](_0x4f3d73[_0x362d43(0x201)])-Date['now']()>this['config'][_0x362d43(0x1fb)])throw new AnnError(ApiError_1['ApiError'][_0x362d43(0x20e)]);if(!this[_0x362d43(0x1e8)][_0x362d43(0x214)][_0x4f3d73[_0x362d43(0x1f0)]]||!this[_0x362d43(0x1e8)][_0x362d43(0x214)][_0x4f3d73['device']]['secret']||!this[_0x362d43(0x1e8)][_0x362d43(0x214)][_0x4f3d73['device']][_0x362d43(0x1f1)])throw new AnnError(ApiError_1[_0x362d43(0x221)][_0x362d43(0x219)]);if(_0x4f3d73[_0x362d43(0x218)]&&_0x4f3d73[_0x362d43(0x1f1)]!=this[_0x362d43(0x1f1)](_0x4f3d73[_0x362d43(0x218)],_0x4f3d73[_0x362d43(0x1f0)],_0x4f3d73[_0x362d43(0x209)]))throw new AnnError(ApiError_1['ApiError'][_0x362d43(0x212)]);return _0xbf2643['push'](_0x362d43(0x220)+this[_0x362d43(0x1e8)]['devices'][_0x4f3d73[_0x362d43(0x1f0)]]['secret']),(0x0,crypto_js_1[_0x362d43(0x1f5)])(_0xbf2643[_0x362d43(0x223)]()[_0x362d43(0x21d)](''))[_0x362d43(0x21e)]();}[a9_0x2ecfe5(0x1f1)](_0x2280ef,_0x3b62e7,_0x5bc465=Date[a9_0x2ecfe5(0x207)]()){var _0x126978=a9_0x2ecfe5,_0x34e013,_0x17c6a9,_0x1ed1a5;if(!((_0x34e013=this[_0x126978(0x1e8)])===null||_0x34e013===void 0x0?void 0x0:_0x34e013[_0x126978(0x214)][_0x3b62e7])||!((_0x1ed1a5=(_0x17c6a9=this['config'])===null||_0x17c6a9===void 0x0?void 0x0:_0x17c6a9['devices'][_0x3b62e7])===null||_0x1ed1a5===void 0x0?void 0x0:_0x1ed1a5[_0x126978(0x1f1)]))throw new AnnError(ApiError_1[_0x126978(0x221)][_0x126978(0x219)]);return(0x0,crypto_js_1['MD5'])(_0x2280ef+(0x0,crypto_js_1['MD5'])(_0x5bc465+this['config'][_0x126978(0x214)][_0x3b62e7][_0x126978(0x1f1)])[_0x126978(0x21e)]())[_0x126978(0x21e)]();}[a9_0x2ecfe5(0x20d)](_0x253a76={}){var _0x556304=a9_0x2ecfe5;const _0x283246=Object[_0x556304(0x1ea)](Object['entries'](_0x253a76)[_0x556304(0x1fd)](_0x53fb40=>[_0x53fb40[0x0][_0x556304(0x1ef)](),_0x53fb40[0x1]]));if(!(_0x283246===null||_0x283246===void 0x0?void 0x0:_0x283246[_0x556304(0x213)]))throw new AnnError(ApiError_1[_0x556304(0x221)][_0x556304(0x20a)],{'message':_0x556304(0x1fe)});if((_0x283246===null||_0x283246===void 0x0?void 0x0:_0x283246['signature'])!=this[_0x556304(0x1ee)](_0x283246))throw new AnnError(ApiError_1['ApiError']['HEADERS_SIGNATURE']);return!![];}};__decorate([(0x0,decorator_1[a9_0x2ecfe5(0x21c)])(a9_0x2ecfe5(0x211)),__metadata('design:type',Object)],ApiService['prototype'],a9_0x2ecfe5(0x1e8),void 0x0),ApiService=__decorate([(0x0,decorator_1[a9_0x2ecfe5(0x206)])(),(0x0,decorator_1[a9_0x2ecfe5(0x21f)])(decorator_1[a9_0x2ecfe5(0x204)]['Singleton'])],ApiService),exports[a9_0x2ecfe5(0x200)]=ApiService;
@@ -1 +1 @@
1
- 'use strict';const a10_0x4d50be=a10_0x37a0;(function(_0x151e19,_0x3705ee){const _0x5a7229=a10_0x37a0,_0xcf8489=_0x151e19();while(!![]){try{const _0x16feeb=-parseInt(_0x5a7229(0x82))/0x1+-parseInt(_0x5a7229(0xb8))/0x2*(parseInt(_0x5a7229(0x87))/0x3)+-parseInt(_0x5a7229(0x8f))/0x4*(-parseInt(_0x5a7229(0xa8))/0x5)+parseInt(_0x5a7229(0xae))/0x6*(-parseInt(_0x5a7229(0xcb))/0x7)+-parseInt(_0x5a7229(0xaa))/0x8*(parseInt(_0x5a7229(0x88))/0x9)+parseInt(_0x5a7229(0x9d))/0xa*(-parseInt(_0x5a7229(0xbe))/0xb)+parseInt(_0x5a7229(0xc0))/0xc*(parseInt(_0x5a7229(0xc5))/0xd);if(_0x16feeb===_0x3705ee)break;else _0xcf8489['push'](_0xcf8489['shift']());}catch(_0x54acd2){_0xcf8489['push'](_0xcf8489['shift']());}}}(a10_0xd5ae,0xaa587));function a10_0x37a0(_0x5d3496,_0x4cfcb9){const _0xd5aea3=a10_0xd5ae();return a10_0x37a0=function(_0x37a0b2,_0xefda26){_0x37a0b2=_0x37a0b2-0x80;let _0x3d28f9=_0xd5aea3[_0x37a0b2];return _0x3d28f9;},a10_0x37a0(_0x5d3496,_0x4cfcb9);}var __decorate=this&&this['__decorate']||function(_0x1b9d02,_0x10df70,_0xfffb82,_0x5eae53){const _0x3ea837=a10_0x37a0;var _0x4843ec=arguments[_0x3ea837(0xa6)],_0x1fc7d6=_0x4843ec<0x3?_0x10df70:_0x5eae53===null?_0x5eae53=Object[_0x3ea837(0x86)](_0x10df70,_0xfffb82):_0x5eae53,_0x2201c5;if(typeof Reflect===_0x3ea837(0xa5)&&typeof Reflect[_0x3ea837(0x9c)]==='function')_0x1fc7d6=Reflect[_0x3ea837(0x9c)](_0x1b9d02,_0x10df70,_0xfffb82,_0x5eae53);else{for(var _0x314cd3=_0x1b9d02[_0x3ea837(0xa6)]-0x1;_0x314cd3>=0x0;_0x314cd3--)if(_0x2201c5=_0x1b9d02[_0x314cd3])_0x1fc7d6=(_0x4843ec<0x3?_0x2201c5(_0x1fc7d6):_0x4843ec>0x3?_0x2201c5(_0x10df70,_0xfffb82,_0x1fc7d6):_0x2201c5(_0x10df70,_0xfffb82))||_0x1fc7d6;}return _0x4843ec>0x3&&_0x1fc7d6&&Object[_0x3ea837(0xab)](_0x10df70,_0xfffb82,_0x1fc7d6),_0x1fc7d6;},__metadata=this&&this['__metadata']||function(_0x596388,_0x2ad88c){const _0x526096=a10_0x37a0;if(typeof Reflect===_0x526096(0xa5)&&typeof Reflect[_0x526096(0x95)]===_0x526096(0x85))return Reflect[_0x526096(0x95)](_0x596388,_0x2ad88c);},__param=this&&this[a10_0x4d50be(0x9f)]||function(_0x5e0cb9,_0x3d46f9){return function(_0x56600a,_0x2314a8){_0x3d46f9(_0x56600a,_0x2314a8,_0x5e0cb9);};};function a10_0xd5ae(){const _0x166f6c=['/apiteststatic/','config','method','Environment','content-type','object','length','@midwayjs/core','5GeYBJo','ApitestService','4643120xRKIky','defineProperty','apiteststatic','design:type','6CgkIKr','__esModule','route','readFileSync','Config','design:returntype','extname','Singleton','apitestmodule','apitest','20ZOHfXb','Param','ScopeEnum','join','isDevelopmentEnvironment','url','209ThwvIp','@midwayjs/decorator','180jnlQsi','set','Request','ctx','.css','1812629ngPqwk','/apitest','Controller','stringify','cache-control','ApitestStaticController','1127147Jgixus','../../public/index.html','summary','existsSync','640706DcvxzS','filepath','request','function','getOwnPropertyDescriptor','1731HbkAyU','9PPAhvg','design:paramtypes','Scope','prefix','.js','anncicapi','MidwayEnvironmentService','3702408bmrrcw','/apitest-:module','Get','application/javascript;\x20charset=utf-8','apitesthtml','prototype','metadata','apidoc','Inject','replace','utf-8','__apiList__','substring','decorate','490250JQbDMw','push','__param'];a10_0xd5ae=function(){return _0x166f6c;};return a10_0xd5ae();}Object[a10_0x4d50be(0xab)](exports,a10_0x4d50be(0xaf),{'value':!![]}),exports[a10_0x4d50be(0xca)]=exports[a10_0x4d50be(0xa9)]=void 0x0;const path_1=require('path'),fs_1=require('fs'),core_1=require(a10_0x4d50be(0xa7)),decorator_1=require(a10_0x4d50be(0xbf)),decorator_2=require(a10_0x4d50be(0xbf)),getRoutes_1=require('../helper/getRoutes');let ApitestService=class ApitestService{async[a10_0x4d50be(0x96)](_0xffb5ea){const _0x1aa6af=a10_0x4d50be,_0x4a8db3=(0x0,getRoutes_1['getRoutes'])(_0xffb5ea),_0x17490d=[];for(let _0x6a42c2 in _0x4a8db3){for(let _0x71d80d in _0x4a8db3[_0x6a42c2]['routes']){let _0x18d44f=_0x4a8db3[_0x6a42c2]['routes'][_0x71d80d],_0x5c99a8=[];for(let _0x3d34bd in _0x18d44f[_0x1aa6af(0x84)]){_0x5c99a8[_0x1aa6af(0x9e)](_0x18d44f['request'][_0x3d34bd]);}_0x17490d[_0x1aa6af(0x9e)]({'title':_0x4a8db3[_0x6a42c2][_0x1aa6af(0x80)]+':'+_0x18d44f[_0x1aa6af(0x80)],'prefix':_0x4a8db3[_0x6a42c2][_0x1aa6af(0x8b)],'router':_0x18d44f[_0x1aa6af(0xb0)],'method':_0x18d44f[_0x1aa6af(0xa2)],'describe':_0x18d44f['description']||'','filepath':_0x4a8db3[_0x6a42c2][_0x1aa6af(0x83)]||'','request':_0x5c99a8});}}const _0xb5a54a=(0x0,path_1[_0x1aa6af(0xbb)])(__dirname,_0x1aa6af(0xcc));return(0x0,fs_1[_0x1aa6af(0xb1)])(_0xb5a54a,{'encoding':_0x1aa6af(0x99)})[_0x1aa6af(0x98)](/__res__/g,_0x1aa6af(0xa0))[_0x1aa6af(0x98)](_0x1aa6af(0x9a),JSON[_0x1aa6af(0xc8)](_0x17490d))[_0x1aa6af(0x98)]('__devices__',JSON['stringify'](this[_0x1aa6af(0xa1)]['devices']));}};__decorate([(0x0,decorator_2[a10_0x4d50be(0xb2)])(a10_0x4d50be(0x8d)),__metadata('design:type',Object)],ApitestService[a10_0x4d50be(0x94)],a10_0x4d50be(0xa1),void 0x0),ApitestService=__decorate([(0x0,decorator_1['Provide'])(a10_0x4d50be(0xb7)),(0x0,decorator_2[a10_0x4d50be(0x8a)])(decorator_2[a10_0x4d50be(0xba)][a10_0x4d50be(0xb5)])],ApitestService),exports[a10_0x4d50be(0xa9)]=ApitestService;let ApitestStaticController=class ApitestStaticController{async[a10_0x4d50be(0x93)](){const _0x56e823=a10_0x4d50be;if(this[_0x56e823(0xb7)]){const _0x32527c={'module':![]};return this['Environment'][_0x56e823(0xbc)]()&&(_0x32527c[_0x56e823(0x83)]=!![]),await this[_0x56e823(0xa9)][_0x56e823(0x96)](_0x32527c);}return'';}async[a10_0x4d50be(0xb6)](_0x4304e3){const _0x28a2cd=a10_0x4d50be;if(this['apitest']){const _0x302eff={'module':_0x4304e3};return this[_0x28a2cd(0xa3)][_0x28a2cd(0xbc)]()&&(_0x302eff[_0x28a2cd(0x83)]=!![]),await this[_0x28a2cd(0xa9)]['apidoc'](_0x302eff);}return'';}async[a10_0x4d50be(0xac)](){const _0x14b677=a10_0x4d50be;if((0x0,path_1[_0x14b677(0xb4)])(this['ctx']['request'][_0x14b677(0xbd)])){var _0x2652fb=(0x0,path_1[_0x14b677(0xbb)])(__dirname,'../../public/'+this[_0x14b677(0xc3)][_0x14b677(0x84)]['url'][_0x14b677(0x98)](_0x14b677(0xa0),'/'));if(_0x2652fb[_0x14b677(0x9b)](_0x2652fb[_0x14b677(0xa6)]-0xb)!='/index.html'){this[_0x14b677(0xc3)][_0x14b677(0xc1)](_0x14b677(0xc9),'public,\x20max-age=604800');if((0x0,path_1['extname'])(this[_0x14b677(0xc3)][_0x14b677(0x84)]['url'])==_0x14b677(0x8c))this[_0x14b677(0xc3)][_0x14b677(0xc1)](_0x14b677(0xa4),_0x14b677(0x92));else(0x0,path_1[_0x14b677(0xb4)])(this[_0x14b677(0xc3)][_0x14b677(0x84)][_0x14b677(0xbd)])==_0x14b677(0xc4)&&this[_0x14b677(0xc3)]['set'](_0x14b677(0xa4),'text/css;\x20charset=utf-8');return(0x0,fs_1[_0x14b677(0x81)])(_0x2652fb)&&(0x0,fs_1[_0x14b677(0xb1)])(_0x2652fb,{'encoding':_0x14b677(0x99)});}}return'';}};__decorate([(0x0,decorator_2['Inject'])(),__metadata('design:type',Object)],ApitestStaticController[a10_0x4d50be(0x94)],a10_0x4d50be(0xc3),void 0x0),__decorate([(0x0,decorator_2[a10_0x4d50be(0x97)])(),__metadata(a10_0x4d50be(0xad),core_1[a10_0x4d50be(0x8e)])],ApitestStaticController[a10_0x4d50be(0x94)],a10_0x4d50be(0xa3),void 0x0),__decorate([(0x0,decorator_2['Inject'])(),__metadata('design:type',ApitestService)],ApitestStaticController[a10_0x4d50be(0x94)],a10_0x4d50be(0xa9),void 0x0),__decorate([(0x0,decorator_2[a10_0x4d50be(0xb2)])(a10_0x4d50be(0xb7)),__metadata(a10_0x4d50be(0xad),Boolean)],ApitestStaticController[a10_0x4d50be(0x94)],a10_0x4d50be(0xb7),void 0x0),__decorate([(0x0,decorator_2[a10_0x4d50be(0xb2)])('anncicapi'),__metadata(a10_0x4d50be(0xad),Object)],ApitestStaticController[a10_0x4d50be(0x94)],a10_0x4d50be(0xa1),void 0x0),__decorate([(0x0,decorator_1[a10_0x4d50be(0x91)])(a10_0x4d50be(0xc6)),__metadata('design:type',Function),__metadata(a10_0x4d50be(0x89),[]),__metadata('design:returntype',Promise)],ApitestStaticController[a10_0x4d50be(0x94)],'apitesthtml',null),__decorate([(0x0,decorator_1[a10_0x4d50be(0x91)])(a10_0x4d50be(0x90)),__param(0x0,(0x0,decorator_1[a10_0x4d50be(0xb9)])('module')),__metadata(a10_0x4d50be(0xad),Function),__metadata('design:paramtypes',[String]),__metadata(a10_0x4d50be(0xb3),Promise)],ApitestStaticController[a10_0x4d50be(0x94)],a10_0x4d50be(0xb6),null),__decorate([(0x0,decorator_1[a10_0x4d50be(0x91)])('/apiteststatic/*'),__metadata(a10_0x4d50be(0xad),Function),__metadata(a10_0x4d50be(0x89),[]),__metadata(a10_0x4d50be(0xb3),Promise)],ApitestStaticController[a10_0x4d50be(0x94)],a10_0x4d50be(0xac),null),ApitestStaticController=__decorate([(0x0,decorator_1[a10_0x4d50be(0xc7)])('/'),(0x0,decorator_2[a10_0x4d50be(0x8a)])(decorator_2['ScopeEnum'][a10_0x4d50be(0xc2)])],ApitestStaticController),exports[a10_0x4d50be(0xca)]=ApitestStaticController;
1
+ 'use strict';const a10_0x4b3dc8=a10_0x2be6;(function(_0x3607ad,_0x1e9f2e){const _0xcd996a=a10_0x2be6,_0xe13d4d=_0x3607ad();while(!![]){try{const _0x542bd8=parseInt(_0xcd996a(0xd3))/0x1*(parseInt(_0xcd996a(0xed))/0x2)+parseInt(_0xcd996a(0xf9))/0x3*(-parseInt(_0xcd996a(0xf0))/0x4)+parseInt(_0xcd996a(0xf6))/0x5+-parseInt(_0xcd996a(0xd8))/0x6*(-parseInt(_0xcd996a(0xcc))/0x7)+parseInt(_0xcd996a(0x107))/0x8+-parseInt(_0xcd996a(0xec))/0x9*(-parseInt(_0xcd996a(0xd4))/0xa)+-parseInt(_0xcd996a(0xd6))/0xb*(parseInt(_0xcd996a(0xc1))/0xc);if(_0x542bd8===_0x1e9f2e)break;else _0xe13d4d['push'](_0xe13d4d['shift']());}catch(_0x2e4dd4){_0xe13d4d['push'](_0xe13d4d['shift']());}}}(a10_0x2425,0xd5f49));var __decorate=this&&this[a10_0x4b3dc8(0xd9)]||function(_0x2f35f1,_0x211bae,_0x14d154,_0x610788){const _0xab245e=a10_0x4b3dc8;var _0x3d751f=arguments[_0xab245e(0x108)],_0x3c01f0=_0x3d751f<0x3?_0x211bae:_0x610788===null?_0x610788=Object[_0xab245e(0xee)](_0x211bae,_0x14d154):_0x610788,_0x577e95;if(typeof Reflect===_0xab245e(0xd1)&&typeof Reflect['decorate']===_0xab245e(0xe7))_0x3c01f0=Reflect[_0xab245e(0xf7)](_0x2f35f1,_0x211bae,_0x14d154,_0x610788);else{for(var _0x3a64af=_0x2f35f1[_0xab245e(0x108)]-0x1;_0x3a64af>=0x0;_0x3a64af--)if(_0x577e95=_0x2f35f1[_0x3a64af])_0x3c01f0=(_0x3d751f<0x3?_0x577e95(_0x3c01f0):_0x3d751f>0x3?_0x577e95(_0x211bae,_0x14d154,_0x3c01f0):_0x577e95(_0x211bae,_0x14d154))||_0x3c01f0;}return _0x3d751f>0x3&&_0x3c01f0&&Object[_0xab245e(0xde)](_0x211bae,_0x14d154,_0x3c01f0),_0x3c01f0;},__metadata=this&&this[a10_0x4b3dc8(0xd2)]||function(_0x1e8da7,_0x56620d){const _0x25479f=a10_0x4b3dc8;if(typeof Reflect==='object'&&typeof Reflect[_0x25479f(0x106)]===_0x25479f(0xe7))return Reflect['metadata'](_0x1e8da7,_0x56620d);},__param=this&&this[a10_0x4b3dc8(0xe8)]||function(_0x1021bf,_0x24e1fa){return function(_0x310f9c,_0x21aac4){_0x24e1fa(_0x310f9c,_0x21aac4,_0x1021bf);};};Object[a10_0x4b3dc8(0xde)](exports,a10_0x4b3dc8(0x104),{'value':!![]}),exports[a10_0x4b3dc8(0xe4)]=exports[a10_0x4b3dc8(0xcf)]=void 0x0;const path_1=require(a10_0x4b3dc8(0xc3)),fs_1=require('fs'),core_1=require(a10_0x4b3dc8(0xc7)),decorator_1=require('@midwayjs/decorator'),decorator_2=require(a10_0x4b3dc8(0xc8)),getRoutes_1=require('../helper/getRoutes');function a10_0x2be6(_0x59e512,_0x3dbdf8){const _0x2425bc=a10_0x2425();return a10_0x2be6=function(_0x2be6ba,_0x1ef0fe){_0x2be6ba=_0x2be6ba-0xba;let _0x4ea969=_0x2425bc[_0x2be6ba];return _0x4ea969;},a10_0x2be6(_0x59e512,_0x3dbdf8);}function a10_0x2425(){const _0x38712c=['content-type','replace','apitesthtml','design:paramtypes','__esModule','isDevelopmentEnvironment','metadata','6007032PgNmBq','length','readFileSync','Environment','join','Request','push','url','Config','request','module','4256016coZVBl','Provide','path','apiteststatic','design:type','/apitest','@midwayjs/core','@midwayjs/decorator','filepath','substring','extname','3703YMCkBP','apitest','Controller','ApitestService','summary','object','__metadata','5IZCQUL','20XAzWqM','.css','66nZbtkj','Inject','15294OnoJaj','__decorate','stringify','set','anncicapi','prefix','defineProperty','Param','prototype','ctx','method','utf-8','ApitestStaticController','../../public/','/apiteststatic/','function','__param','existsSync','routes','apidoc','4807908yuyoeD','138538pqbtPY','getOwnPropertyDescriptor','cache-control','124ptyGKe','Scope','/index.html','Get','text/css;\x20charset=utf-8','devices','763695XYLMBT','decorate','application/javascript;\x20charset=utf-8','64107KfKMWU','config','/apitest-:module','design:returntype','MidwayEnvironmentService','/apiteststatic/*','apitestmodule'];a10_0x2425=function(){return _0x38712c;};return a10_0x2425();}let ApitestService=class ApitestService{async['apidoc'](_0x165b44){const _0x14d0ef=a10_0x4b3dc8,_0x1d63a9=(0x0,getRoutes_1['getRoutes'])(_0x165b44),_0x240b75=[];for(let _0x4fae8e in _0x1d63a9){for(let _0x5d1989 in _0x1d63a9[_0x4fae8e][_0x14d0ef(0xea)]){let _0x52a779=_0x1d63a9[_0x4fae8e][_0x14d0ef(0xea)][_0x5d1989],_0x2319d7=[];for(let _0x3338ef in _0x52a779['request']){_0x2319d7['push'](_0x52a779['request'][_0x3338ef]);}_0x240b75[_0x14d0ef(0xbc)]({'title':_0x1d63a9[_0x4fae8e][_0x14d0ef(0xd0)]+':'+_0x52a779['summary'],'prefix':_0x1d63a9[_0x4fae8e][_0x14d0ef(0xdd)],'router':_0x52a779['route'],'method':_0x52a779[_0x14d0ef(0xe2)],'describe':_0x52a779['description']||'','filepath':_0x1d63a9[_0x4fae8e][_0x14d0ef(0xc9)]||'','request':_0x2319d7});}}const _0x5d020d=(0x0,path_1[_0x14d0ef(0xba)])(__dirname,'../../public/index.html');return(0x0,fs_1[_0x14d0ef(0x109)])(_0x5d020d,{'encoding':_0x14d0ef(0xe3)})[_0x14d0ef(0x101)](/__res__/g,_0x14d0ef(0xe6))[_0x14d0ef(0x101)]('__apiList__',JSON[_0x14d0ef(0xda)](_0x240b75))[_0x14d0ef(0x101)]('__devices__',JSON[_0x14d0ef(0xda)](this[_0x14d0ef(0xfa)][_0x14d0ef(0xf5)]));}};__decorate([(0x0,decorator_2[a10_0x4b3dc8(0xbe)])(a10_0x4b3dc8(0xdc)),__metadata(a10_0x4b3dc8(0xc5),Object)],ApitestService[a10_0x4b3dc8(0xe0)],'config',void 0x0),ApitestService=__decorate([(0x0,decorator_1[a10_0x4b3dc8(0xc2)])(a10_0x4b3dc8(0xcd)),(0x0,decorator_2[a10_0x4b3dc8(0xf1)])(decorator_2['ScopeEnum']['Singleton'])],ApitestService),exports[a10_0x4b3dc8(0xcf)]=ApitestService;let ApitestStaticController=class ApitestStaticController{async[a10_0x4b3dc8(0x102)](){const _0x39d116=a10_0x4b3dc8;if(this[_0x39d116(0xcd)]){const _0x4f2b05={'module':![]};return this[_0x39d116(0x10a)][_0x39d116(0x105)]()&&(_0x4f2b05['filepath']=!![]),await this[_0x39d116(0xcf)][_0x39d116(0xeb)](_0x4f2b05);}return'';}async[a10_0x4b3dc8(0xff)](_0x2de8c9){const _0x269e31=a10_0x4b3dc8;if(this[_0x269e31(0xcd)]){const _0x5b16a2={'module':_0x2de8c9};return this[_0x269e31(0x10a)][_0x269e31(0x105)]()&&(_0x5b16a2['filepath']=!![]),await this[_0x269e31(0xcf)]['apidoc'](_0x5b16a2);}return'';}async[a10_0x4b3dc8(0xc4)](){const _0x39dc53=a10_0x4b3dc8;if((0x0,path_1[_0x39dc53(0xcb)])(this[_0x39dc53(0xe1)][_0x39dc53(0xbf)][_0x39dc53(0xbd)])){var _0x4c8c6e=(0x0,path_1[_0x39dc53(0xba)])(__dirname,_0x39dc53(0xe5)+this[_0x39dc53(0xe1)]['request'][_0x39dc53(0xbd)]['replace'](_0x39dc53(0xe6),'/'));if(_0x4c8c6e[_0x39dc53(0xca)](_0x4c8c6e['length']-0xb)!=_0x39dc53(0xf2)){this[_0x39dc53(0xe1)][_0x39dc53(0xdb)](_0x39dc53(0xef),'public,\x20max-age=604800');if((0x0,path_1['extname'])(this['ctx'][_0x39dc53(0xbf)][_0x39dc53(0xbd)])=='.js')this['ctx'][_0x39dc53(0xdb)]('content-type',_0x39dc53(0xf8));else(0x0,path_1[_0x39dc53(0xcb)])(this['ctx']['request'][_0x39dc53(0xbd)])==_0x39dc53(0xd5)&&this['ctx'][_0x39dc53(0xdb)](_0x39dc53(0x100),_0x39dc53(0xf4));return(0x0,fs_1[_0x39dc53(0xe9)])(_0x4c8c6e)&&(0x0,fs_1['readFileSync'])(_0x4c8c6e,{'encoding':_0x39dc53(0xe3)});}}return'';}};__decorate([(0x0,decorator_2[a10_0x4b3dc8(0xd7)])(),__metadata('design:type',Object)],ApitestStaticController[a10_0x4b3dc8(0xe0)],'ctx',void 0x0),__decorate([(0x0,decorator_2[a10_0x4b3dc8(0xd7)])(),__metadata(a10_0x4b3dc8(0xc5),core_1[a10_0x4b3dc8(0xfd)])],ApitestStaticController['prototype'],a10_0x4b3dc8(0x10a),void 0x0),__decorate([(0x0,decorator_2[a10_0x4b3dc8(0xd7)])(),__metadata(a10_0x4b3dc8(0xc5),ApitestService)],ApitestStaticController[a10_0x4b3dc8(0xe0)],a10_0x4b3dc8(0xcf),void 0x0),__decorate([(0x0,decorator_2[a10_0x4b3dc8(0xbe)])(a10_0x4b3dc8(0xcd)),__metadata('design:type',Boolean)],ApitestStaticController['prototype'],a10_0x4b3dc8(0xcd),void 0x0),__decorate([(0x0,decorator_2[a10_0x4b3dc8(0xbe)])(a10_0x4b3dc8(0xdc)),__metadata(a10_0x4b3dc8(0xc5),Object)],ApitestStaticController[a10_0x4b3dc8(0xe0)],a10_0x4b3dc8(0xfa),void 0x0),__decorate([(0x0,decorator_1[a10_0x4b3dc8(0xf3)])(a10_0x4b3dc8(0xc6)),__metadata(a10_0x4b3dc8(0xc5),Function),__metadata(a10_0x4b3dc8(0x103),[]),__metadata(a10_0x4b3dc8(0xfc),Promise)],ApitestStaticController[a10_0x4b3dc8(0xe0)],'apitesthtml',null),__decorate([(0x0,decorator_1[a10_0x4b3dc8(0xf3)])(a10_0x4b3dc8(0xfb)),__param(0x0,(0x0,decorator_1[a10_0x4b3dc8(0xdf)])(a10_0x4b3dc8(0xc0))),__metadata(a10_0x4b3dc8(0xc5),Function),__metadata('design:paramtypes',[String]),__metadata('design:returntype',Promise)],ApitestStaticController[a10_0x4b3dc8(0xe0)],a10_0x4b3dc8(0xff),null),__decorate([(0x0,decorator_1[a10_0x4b3dc8(0xf3)])(a10_0x4b3dc8(0xfe)),__metadata(a10_0x4b3dc8(0xc5),Function),__metadata(a10_0x4b3dc8(0x103),[]),__metadata(a10_0x4b3dc8(0xfc),Promise)],ApitestStaticController[a10_0x4b3dc8(0xe0)],a10_0x4b3dc8(0xc4),null),ApitestStaticController=__decorate([(0x0,decorator_1[a10_0x4b3dc8(0xce)])('/'),(0x0,decorator_2[a10_0x4b3dc8(0xf1)])(decorator_2['ScopeEnum'][a10_0x4b3dc8(0xbb)])],ApitestStaticController),exports['ApitestStaticController']=ApitestStaticController;
@@ -1 +1 @@
1
- 'use strict';const a11_0x4c15ab=a11_0x3683;(function(_0x52f694,_0x52f46d){const _0x5d3c59=a11_0x3683,_0x5b7344=_0x52f694();while(!![]){try{const _0x3a109c=-parseInt(_0x5d3c59(0x16e))/0x1*(-parseInt(_0x5d3c59(0x185))/0x2)+parseInt(_0x5d3c59(0x17c))/0x3*(parseInt(_0x5d3c59(0x176))/0x4)+-parseInt(_0x5d3c59(0x157))/0x5*(parseInt(_0x5d3c59(0x18d))/0x6)+parseInt(_0x5d3c59(0x18b))/0x7*(-parseInt(_0x5d3c59(0x183))/0x8)+-parseInt(_0x5d3c59(0x193))/0x9+parseInt(_0x5d3c59(0x164))/0xa+parseInt(_0x5d3c59(0x160))/0xb*(parseInt(_0x5d3c59(0x153))/0xc);if(_0x3a109c===_0x52f46d)break;else _0x5b7344['push'](_0x5b7344['shift']());}catch(_0x48bdb9){_0x5b7344['push'](_0x5b7344['shift']());}}}(a11_0x1ec1,0xc2dbd));var __decorate=this&&this[a11_0x4c15ab(0x18a)]||function(_0x39d3af,_0x45f47c,_0xbc8dd,_0x35e2fe){const _0x3fe0ca=a11_0x4c15ab;var _0x27edf6=arguments[_0x3fe0ca(0x170)],_0x83eba3=_0x27edf6<0x3?_0x45f47c:_0x35e2fe===null?_0x35e2fe=Object[_0x3fe0ca(0x184)](_0x45f47c,_0xbc8dd):_0x35e2fe,_0x1d3486;if(typeof Reflect==='object'&&typeof Reflect[_0x3fe0ca(0x161)]===_0x3fe0ca(0x155))_0x83eba3=Reflect[_0x3fe0ca(0x161)](_0x39d3af,_0x45f47c,_0xbc8dd,_0x35e2fe);else{for(var _0x1c7a2f=_0x39d3af[_0x3fe0ca(0x170)]-0x1;_0x1c7a2f>=0x0;_0x1c7a2f--)if(_0x1d3486=_0x39d3af[_0x1c7a2f])_0x83eba3=(_0x27edf6<0x3?_0x1d3486(_0x83eba3):_0x27edf6>0x3?_0x1d3486(_0x45f47c,_0xbc8dd,_0x83eba3):_0x1d3486(_0x45f47c,_0xbc8dd))||_0x83eba3;}return _0x27edf6>0x3&&_0x83eba3&&Object[_0x3fe0ca(0x16f)](_0x45f47c,_0xbc8dd,_0x83eba3),_0x83eba3;},__metadata=this&&this[a11_0x4c15ab(0x18c)]||function(_0x321a09,_0x19fab6){const _0x312c4f=a11_0x4c15ab;if(typeof Reflect===_0x312c4f(0x154)&&typeof Reflect[_0x312c4f(0x156)]==='function')return Reflect[_0x312c4f(0x156)](_0x321a09,_0x19fab6);};function a11_0x3683(_0x3282c3,_0xfaddb3){const _0x1ec11b=a11_0x1ec1();return a11_0x3683=function(_0x368318,_0x5ab0f8){_0x368318=_0x368318-0x153;let _0x1c7e61=_0x1ec11b[_0x368318];return _0x1c7e61;},a11_0x3683(_0x3282c3,_0xfaddb3);}Object[a11_0x4c15ab(0x16f)](exports,'__esModule',{'value':!![]}),exports[a11_0x4c15ab(0x17e)]=void 0x0;function a11_0x1ec1(){const _0x207f1a=['random','design:type','getCell','trim','Sheet\x201','worksheets','Scope','readFile','11996zxJjpB','defineProperty','length','app','export','App','parse','writeFile','5356776oHAFty','findRows','startsWith','cellCount','addRow','Workbook','3LYICCe','addWorksheet','ExcelService','@midwayjs/decorator','endsWith','keys','koa-send','280HQUwBA','getOwnPropertyDescriptor','74DUuqLl','isNumber','Provide','frozen','toString','__decorate','20279ucurQv','__metadata','78QqObRF','existsSync','handler','rowCount','getAppDir','push','10039950xagnmn','24rRTWHP','object','function','metadata','506295lfXXCz','Api\x20Excel\x20Error:\x20','replace','.xlsx','header','getRow','mkdirSync','xlsx','prototype','2041831TeDzVr','decorate','key','\x20is\x20read\x20fail','11771650GYMAyj','col'];a11_0x1ec1=function(){return _0x207f1a;};return a11_0x1ec1();}const fs=require('fs'),exceljs=require('exceljs'),koasend=require(a11_0x4c15ab(0x182)),decorator_1=require(a11_0x4c15ab(0x17f));let ExcelService=class ExcelService{async[a11_0x4c15ab(0x174)](_0x566572,_0x4f13ff,_0xb4d363=[0x0]){const _0x504c53=a11_0x4c15ab;var _0x2af319,_0x1a1cc4;const _0x55b59f=new exceljs[(_0x504c53(0x17b))](),_0x495315=[];let _0x249cd7=_0x566572['replace'](/(\\|\/)/g,'/')[_0x504c53(0x159)](/\/{2,}/g,'/');!(_0x249cd7===null||_0x249cd7===void 0x0?void 0x0:_0x249cd7['startsWith']('/'))&&(_0x249cd7=this[_0x504c53(0x171)][_0x504c53(0x191)]()+'/'+_0x249cd7);try{await _0x55b59f[_0x504c53(0x15e)][_0x504c53(0x16d)](_0x249cd7);}catch(_0x23289e){return console['log'](_0x504c53(0x158)+_0x249cd7+_0x504c53(0x163)),_0x495315;}for(const _0x2dc8e8 of _0xb4d363){const _0x576468=lodash[_0x504c53(0x186)](_0x2dc8e8)?((_0x2af319=_0x55b59f[_0x504c53(0x16b)])===null||_0x2af319===void 0x0?void 0x0:_0x2af319[_0x2dc8e8])||undefined:_0x55b59f['getWorksheet'](_0x2dc8e8);if(_0x576468){var _0x1a9852=0x1;const _0x133698=_0x576468[_0x504c53(0x15c)](0x1),_0xef38f6=await new Promise(_0x328c09=>{const _0x456ffe={};_0x133698['eachCell']((_0x24e2c5,_0x10f183)=>{const _0x1cfc93=a11_0x3683;for(const _0x5770e5 of _0x4f13ff){if(_0x24e2c5['value']==_0x5770e5['header'])_0x1a9852=0x2,_0x456ffe[_0x5770e5[_0x1cfc93(0x162)]]={'header':_0x24e2c5['col'],'handler':_0x5770e5[_0x1cfc93(0x18f)]};else{if(!_0x456ffe[_0x5770e5[_0x1cfc93(0x162)]])try{const _0x5ce201=_0x133698['getCell'](_0x5770e5['header']);_0x5ce201&&(_0x456ffe[_0x5770e5[_0x1cfc93(0x162)]]={'header':_0x5ce201[_0x1cfc93(0x165)],'handler':_0x5770e5[_0x1cfc93(0x18f)]});}catch{}}}_0x133698[_0x1cfc93(0x179)]==_0x10f183&&_0x328c09(_0x456ffe);});});for(const _0x36fea6 of _0x576468[_0x504c53(0x177)](_0x1a9852,_0x576468[_0x504c53(0x190)])){const _0xfbdea9={};for(const _0x470689 in _0xef38f6){_0xef38f6[_0x470689]['header']&&(typeof((_0x1a1cc4=_0xef38f6[_0x470689])===null||_0x1a1cc4===void 0x0?void 0x0:_0x1a1cc4[_0x504c53(0x18f)])=='function'?_0xfbdea9[_0x470689]=_0xef38f6[_0x470689]['handler'](_0x36fea6[_0x504c53(0x168)](lodash[_0x504c53(0x169)](''+_0xef38f6[_0x470689]['header'],'\x20'))[_0x504c53(0x189)]()):_0xfbdea9[_0x470689]=_0x36fea6[_0x504c53(0x168)](_0xef38f6[_0x470689][_0x504c53(0x15b)])[_0x504c53(0x189)]());}Object[_0x504c53(0x181)](_0xfbdea9)['length']>0x0&&_0x495315[_0x504c53(0x192)](_0xfbdea9);}}}return _0x495315;}async[a11_0x4c15ab(0x172)](_0x3d8cf8,_0x432d40,_0x5875e7,_0x38dd24='public/xlsx'){const _0x311224=a11_0x4c15ab;var _0xb720f8,_0x9739b0;const _0x4f550b=new exceljs[(_0x311224(0x17b))](),_0x4c37fc={},_0x35bf6d=[],_0x2b4a1d=_0x4f550b[_0x311224(0x17d)](_0x311224(0x16a),{'views':[{'state':_0x311224(0x188),'xSplit':0x1}]});for(const _0x389f0f in _0x432d40){_0x4c37fc[_0x432d40[_0x389f0f][_0x311224(0x162)]]=_0x432d40[_0x389f0f][_0x311224(0x15b)],_0x35bf6d[_0x311224(0x192)]({'header':_0x432d40[_0x389f0f][_0x311224(0x15b)],'key':(_0xb720f8=_0x432d40[_0x389f0f])===null||_0xb720f8===void 0x0?void 0x0:_0xb720f8[_0x311224(0x162)][_0x311224(0x159)](/\./g,'_')});}_0x2b4a1d['columns']=_0x35bf6d;for(const _0x5a0855 of _0x5875e7){const _0x37ab97={};for(const _0x4c4f6d in _0x432d40){typeof((_0x9739b0=_0x432d40[_0x4c4f6d])===null||_0x9739b0===void 0x0?void 0x0:_0x9739b0['handler'])==_0x311224(0x155)?_0x37ab97[_0x432d40[_0x4c4f6d][_0x311224(0x162)][_0x311224(0x159)](/\./g,'_')]=await _0x432d40[_0x4c4f6d][_0x311224(0x18f)](_0x5a0855):_0x37ab97[_0x432d40[_0x4c4f6d][_0x311224(0x162)][_0x311224(0x159)](/\./g,'_')]=lodash['get'](_0x5a0855,_0x432d40[_0x4c4f6d][_0x311224(0x162)],'');}_0x2b4a1d[_0x311224(0x17a)](_0x37ab97);}let _0x1543b0='';const _0x2f3258=_0x3d8cf8+'-'+lodash[_0x311224(0x166)](0x2710,0x1869f)+_0x311224(0x15a);if(_0x38dd24&&_0x38dd24[_0x311224(0x178)]('/'))_0x1543b0=_0x38dd24+'/'+_0x2f3258;else _0x38dd24&&!_0x38dd24[_0x311224(0x178)]('/')&&!_0x38dd24[_0x311224(0x178)]('\x5c')?_0x1543b0=this[_0x311224(0x171)]['getAppDir']()+'/'+_0x38dd24+'/'+_0x2f3258:_0x1543b0=this[_0x311224(0x171)]['getAppDir']()+'/public/xlsx';return(_0x1543b0[_0x311224(0x180)]('/')||_0x1543b0[_0x311224(0x180)]('\x5c'))&&(_0x1543b0=_0x1543b0['substring'](0x0,_0x1543b0['length']-0x1)),_0x1543b0=_0x1543b0[_0x311224(0x159)](/(\\|\/)/g,'/')[_0x311224(0x159)](/\/{2,}/g,'/'),!fs[_0x311224(0x18e)](_0x1543b0)&&fs[_0x311224(0x15d)](_0x1543b0,{'recursive':!![]}),await _0x4f550b['xlsx'][_0x311224(0x175)]((_0x1543b0+'/'+_0x2f3258)[_0x311224(0x159)](/(\\|\/)/g,'/')['replace'](/\/{2,}/g,'/')),{'filename':_0x2f3258,'filepath':_0x1543b0};}async['download'](_0x5633c0,_0x14d6cb){await koasend(_0x5633c0,'/public/xlsx/'+_0x14d6cb);}};__decorate([(0x0,decorator_1[a11_0x4c15ab(0x173)])(),__metadata(a11_0x4c15ab(0x167),Object)],ExcelService[a11_0x4c15ab(0x15f)],a11_0x4c15ab(0x171),void 0x0),ExcelService=__decorate([(0x0,decorator_1[a11_0x4c15ab(0x187)])(),(0x0,decorator_1[a11_0x4c15ab(0x16c)])(decorator_1['ScopeEnum']['Singleton'])],ExcelService),exports[a11_0x4c15ab(0x17e)]=ExcelService;
1
+ 'use strict';function a11_0x2635(_0x345caf,_0x4c2dd3){const _0x76137e=a11_0x7613();return a11_0x2635=function(_0x263508,_0x1f7f54){_0x263508=_0x263508-0x68;let _0x497ae4=_0x76137e[_0x263508];return _0x497ae4;},a11_0x2635(_0x345caf,_0x4c2dd3);}const a11_0x2517c9=a11_0x2635;function a11_0x7613(){const _0x4fc3cd=['addWorksheet','isNumber','6Bbhcbw','metadata','getAppDir','col','parse','__metadata','key','getOwnPropertyDescriptor','decorate','function','ExcelService','getRow','getWorksheet','940610gBiJvU','handler','9380091Tcszjk','__decorate','replace','Workbook','Scope','existsSync','length','/public/xlsx/','get','App','app','startsWith','log','header','public/xlsx','worksheets','ScopeEnum','__esModule','\x20is\x20read\x20fail','1172985dOXkuR','value','columns','object','frozen','405jDrCEB','push','random','export','defineProperty','Provide','keys','endsWith','xlsx','3553448RHYySz','Api\x20Excel\x20Error:\x20','221313rSeMIh','1903146iFyBHD','Sheet\x201','32MGKULN','127932mpCYIo','@midwayjs/decorator','design:type','/public/xlsx','download','exceljs','getCell'];a11_0x7613=function(){return _0x4fc3cd;};return a11_0x7613();}(function(_0x137d9e,_0x2bd9db){const _0x3a5dc4=a11_0x2635,_0x380bd7=_0x137d9e();while(!![]){try{const _0x1e9735=parseInt(_0x3a5dc4(0x9f))/0x1+-parseInt(_0x3a5dc4(0x9c))/0x2+-parseInt(_0x3a5dc4(0x9b))/0x3*(parseInt(_0x3a5dc4(0x9e))/0x4)+-parseInt(_0x3a5dc4(0x8b))/0x5*(parseInt(_0x3a5dc4(0x69))/0x6)+-parseInt(_0x3a5dc4(0x78))/0x7+-parseInt(_0x3a5dc4(0x99))/0x8+parseInt(_0x3a5dc4(0x90))/0x9*(parseInt(_0x3a5dc4(0x76))/0xa);if(_0x1e9735===_0x2bd9db)break;else _0x380bd7['push'](_0x380bd7['shift']());}catch(_0x2c6373){_0x380bd7['push'](_0x380bd7['shift']());}}}(a11_0x7613,0xc3591));var __decorate=this&&this[a11_0x2517c9(0x79)]||function(_0x3dbc43,_0x2767da,_0x40e6d8,_0x150be6){const _0x303396=a11_0x2517c9;var _0xdbad4a=arguments[_0x303396(0x7e)],_0xb73e2f=_0xdbad4a<0x3?_0x2767da:_0x150be6===null?_0x150be6=Object[_0x303396(0x70)](_0x2767da,_0x40e6d8):_0x150be6,_0x5cf8bc;if(typeof Reflect===_0x303396(0x8e)&&typeof Reflect[_0x303396(0x71)]===_0x303396(0x72))_0xb73e2f=Reflect[_0x303396(0x71)](_0x3dbc43,_0x2767da,_0x40e6d8,_0x150be6);else{for(var _0x33edc9=_0x3dbc43[_0x303396(0x7e)]-0x1;_0x33edc9>=0x0;_0x33edc9--)if(_0x5cf8bc=_0x3dbc43[_0x33edc9])_0xb73e2f=(_0xdbad4a<0x3?_0x5cf8bc(_0xb73e2f):_0xdbad4a>0x3?_0x5cf8bc(_0x2767da,_0x40e6d8,_0xb73e2f):_0x5cf8bc(_0x2767da,_0x40e6d8))||_0xb73e2f;}return _0xdbad4a>0x3&&_0xb73e2f&&Object['defineProperty'](_0x2767da,_0x40e6d8,_0xb73e2f),_0xb73e2f;},__metadata=this&&this[a11_0x2517c9(0x6e)]||function(_0x5f1012,_0x3c19b0){const _0x23e15e=a11_0x2517c9;if(typeof Reflect==='object'&&typeof Reflect[_0x23e15e(0x6a)]==='function')return Reflect[_0x23e15e(0x6a)](_0x5f1012,_0x3c19b0);};Object[a11_0x2517c9(0x94)](exports,a11_0x2517c9(0x89),{'value':!![]}),exports[a11_0x2517c9(0x73)]=void 0x0;const fs=require('fs'),exceljs=require(a11_0x2517c9(0xa4)),koasend=require('koa-send'),decorator_1=require(a11_0x2517c9(0xa0));let ExcelService=class ExcelService{async[a11_0x2517c9(0x6d)](_0x311745,_0x3995e3,_0x39e059=[0x0]){const _0x545101=a11_0x2517c9;var _0xad306d,_0x2a2409;const _0x1500ce=new exceljs[(_0x545101(0x7b))](),_0x468b4b=[];let _0x11515a=_0x311745[_0x545101(0x7a)](/(\\|\/)/g,'/')[_0x545101(0x7a)](/\/{2,}/g,'/');!(_0x11515a===null||_0x11515a===void 0x0?void 0x0:_0x11515a['startsWith']('/'))&&(_0x11515a=this[_0x545101(0x82)][_0x545101(0x6b)]()+'/'+_0x11515a);try{await _0x1500ce[_0x545101(0x98)]['readFile'](_0x11515a);}catch(_0x3fcadc){return console[_0x545101(0x84)](_0x545101(0x9a)+_0x11515a+_0x545101(0x8a)),_0x468b4b;}for(const _0x45107d of _0x39e059){const _0x5674e1=lodash[_0x545101(0x68)](_0x45107d)?((_0xad306d=_0x1500ce[_0x545101(0x87)])===null||_0xad306d===void 0x0?void 0x0:_0xad306d[_0x45107d])||undefined:_0x1500ce[_0x545101(0x75)](_0x45107d);if(_0x5674e1){var _0x36ad15=0x1;const _0x5b2c67=_0x5674e1[_0x545101(0x74)](0x1),_0x120b98=await new Promise(_0x159ec1=>{const _0x1cbb21={};_0x5b2c67['eachCell']((_0x51d4e9,_0x15895f)=>{const _0x5905e0=a11_0x2635;for(const _0x2a17d9 of _0x3995e3){if(_0x51d4e9[_0x5905e0(0x8c)]==_0x2a17d9[_0x5905e0(0x85)])_0x36ad15=0x2,_0x1cbb21[_0x2a17d9['key']]={'header':_0x51d4e9[_0x5905e0(0x6c)],'handler':_0x2a17d9[_0x5905e0(0x77)]};else{if(!_0x1cbb21[_0x2a17d9[_0x5905e0(0x6f)]])try{const _0x3916b1=_0x5b2c67[_0x5905e0(0xa5)](_0x2a17d9[_0x5905e0(0x85)]);_0x3916b1&&(_0x1cbb21[_0x2a17d9['key']]={'header':_0x3916b1[_0x5905e0(0x6c)],'handler':_0x2a17d9[_0x5905e0(0x77)]});}catch{}}}_0x5b2c67['cellCount']==_0x15895f&&_0x159ec1(_0x1cbb21);});});for(const _0x3b980b of _0x5674e1['findRows'](_0x36ad15,_0x5674e1['rowCount'])){const _0x5b01bc={};for(const _0xc0940d in _0x120b98){_0x120b98[_0xc0940d][_0x545101(0x85)]&&(typeof((_0x2a2409=_0x120b98[_0xc0940d])===null||_0x2a2409===void 0x0?void 0x0:_0x2a2409['handler'])==_0x545101(0x72)?_0x5b01bc[_0xc0940d]=_0x120b98[_0xc0940d][_0x545101(0x77)](_0x3b980b['getCell'](lodash['trim'](''+_0x120b98[_0xc0940d]['header'],'\x20'))['toString']()):_0x5b01bc[_0xc0940d]=_0x3b980b[_0x545101(0xa5)](_0x120b98[_0xc0940d][_0x545101(0x85)])['toString']());}Object[_0x545101(0x96)](_0x5b01bc)[_0x545101(0x7e)]>0x0&&_0x468b4b[_0x545101(0x91)](_0x5b01bc);}}}return _0x468b4b;}async[a11_0x2517c9(0x93)](_0xa3c1b,_0x1c9968,_0x175360,_0x576c0b=a11_0x2517c9(0x86)){const _0x4b263a=a11_0x2517c9;var _0x35a208,_0x47da0b;const _0x2b4333=new exceljs[(_0x4b263a(0x7b))](),_0x21cbcb={},_0x5d68fa=[],_0x4f9397=_0x2b4333[_0x4b263a(0xa6)](_0x4b263a(0x9d),{'views':[{'state':_0x4b263a(0x8f),'xSplit':0x1}]});for(const _0x43be2d in _0x1c9968){_0x21cbcb[_0x1c9968[_0x43be2d][_0x4b263a(0x6f)]]=_0x1c9968[_0x43be2d]['header'],_0x5d68fa[_0x4b263a(0x91)]({'header':_0x1c9968[_0x43be2d][_0x4b263a(0x85)],'key':(_0x35a208=_0x1c9968[_0x43be2d])===null||_0x35a208===void 0x0?void 0x0:_0x35a208['key'][_0x4b263a(0x7a)](/\./g,'_')});}_0x4f9397[_0x4b263a(0x8d)]=_0x5d68fa;for(const _0x18a12e of _0x175360){const _0x371c47={};for(const _0xfa2283 in _0x1c9968){typeof((_0x47da0b=_0x1c9968[_0xfa2283])===null||_0x47da0b===void 0x0?void 0x0:_0x47da0b[_0x4b263a(0x77)])==_0x4b263a(0x72)?_0x371c47[_0x1c9968[_0xfa2283]['key'][_0x4b263a(0x7a)](/\./g,'_')]=await _0x1c9968[_0xfa2283][_0x4b263a(0x77)](_0x18a12e):_0x371c47[_0x1c9968[_0xfa2283][_0x4b263a(0x6f)][_0x4b263a(0x7a)](/\./g,'_')]=lodash[_0x4b263a(0x80)](_0x18a12e,_0x1c9968[_0xfa2283]['key'],'');}_0x4f9397['addRow'](_0x371c47);}let _0x1ffa6b='';const _0x3eb4ad=_0xa3c1b+'-'+lodash[_0x4b263a(0x92)](0x2710,0x1869f)+'.xlsx';if(_0x576c0b&&_0x576c0b[_0x4b263a(0x83)]('/'))_0x1ffa6b=_0x576c0b+'/'+_0x3eb4ad;else _0x576c0b&&!_0x576c0b['startsWith']('/')&&!_0x576c0b[_0x4b263a(0x83)]('\x5c')?_0x1ffa6b=this[_0x4b263a(0x82)][_0x4b263a(0x6b)]()+'/'+_0x576c0b+'/'+_0x3eb4ad:_0x1ffa6b=this['app'][_0x4b263a(0x6b)]()+_0x4b263a(0xa2);return(_0x1ffa6b[_0x4b263a(0x97)]('/')||_0x1ffa6b[_0x4b263a(0x97)]('\x5c'))&&(_0x1ffa6b=_0x1ffa6b['substring'](0x0,_0x1ffa6b['length']-0x1)),_0x1ffa6b=_0x1ffa6b['replace'](/(\\|\/)/g,'/')[_0x4b263a(0x7a)](/\/{2,}/g,'/'),!fs[_0x4b263a(0x7d)](_0x1ffa6b)&&fs['mkdirSync'](_0x1ffa6b,{'recursive':!![]}),await _0x2b4333[_0x4b263a(0x98)]['writeFile']((_0x1ffa6b+'/'+_0x3eb4ad)[_0x4b263a(0x7a)](/(\\|\/)/g,'/')[_0x4b263a(0x7a)](/\/{2,}/g,'/')),{'filename':_0x3eb4ad,'filepath':_0x1ffa6b};}async[a11_0x2517c9(0xa3)](_0x212047,_0x1eb328){const _0x53d82b=a11_0x2517c9;await koasend(_0x212047,_0x53d82b(0x7f)+_0x1eb328);}};__decorate([(0x0,decorator_1[a11_0x2517c9(0x81)])(),__metadata(a11_0x2517c9(0xa1),Object)],ExcelService['prototype'],'app',void 0x0),ExcelService=__decorate([(0x0,decorator_1[a11_0x2517c9(0x95)])(),(0x0,decorator_1[a11_0x2517c9(0x7c)])(decorator_1[a11_0x2517c9(0x88)]['Singleton'])],ExcelService),exports[a11_0x2517c9(0x73)]=ExcelService;
@@ -1 +1 @@
1
- 'use strict';var a12_0xe4dab=a12_0x15ee;(function(_0x395ba0,_0x30ec7f){var _0x34d722=a12_0x15ee,_0x154718=_0x395ba0();while(!![]){try{var _0x47298b=-parseInt(_0x34d722(0xaf))/0x1*(-parseInt(_0x34d722(0xa4))/0x2)+-parseInt(_0x34d722(0xa9))/0x3+-parseInt(_0x34d722(0xa0))/0x4*(parseInt(_0x34d722(0xa3))/0x5)+-parseInt(_0x34d722(0xa6))/0x6*(parseInt(_0x34d722(0xa1))/0x7)+-parseInt(_0x34d722(0xab))/0x8*(parseInt(_0x34d722(0xa8))/0x9)+parseInt(_0x34d722(0xae))/0xa+parseInt(_0x34d722(0xb0))/0xb;if(_0x47298b===_0x30ec7f)break;else _0x154718['push'](_0x154718['shift']());}catch(_0x3cb7c3){_0x154718['push'](_0x154718['shift']());}}}(a12_0x43a2,0x869f7));function a12_0x15ee(_0xfacb08,_0x4e4424){var _0x43a2b0=a12_0x43a2();return a12_0x15ee=function(_0x15ee62,_0x44878b){_0x15ee62=_0x15ee62-0xa0;var _0x45e473=_0x43a2b0[_0x15ee62];return _0x45e473;},a12_0x15ee(_0xfacb08,_0x4e4424);}function a12_0x43a2(){var _0x3ef3dc=['ACTION_ROUTE_KEY','2587509sSOTbC','942015FOOhhR','anncic-api:action','16ubhUpq','__esModule','anncic-api:action:route','10919660Iudnkd','2306hgXTku','6521185VeupHs','160968OrixiN','161jokIzh','ACTION_KEY','25DFwJFo','154ChioRt','defineProperty','57582AyVhqr'];a12_0x43a2=function(){return _0x3ef3dc;};return a12_0x43a2();}Object[a12_0xe4dab(0xa5)](exports,a12_0xe4dab(0xac),{'value':!![]}),exports['ACTION_ROUTE_KEY']=exports[a12_0xe4dab(0xa2)]=void 0x0,exports[a12_0xe4dab(0xa2)]=a12_0xe4dab(0xaa),exports[a12_0xe4dab(0xa7)]=a12_0xe4dab(0xad);
1
+ 'use strict';var a12_0x35f676=a12_0xc2dd;(function(_0x36b199,_0x5d642e){var _0x464fa1=a12_0xc2dd,_0x2f4e2b=_0x36b199();while(!![]){try{var _0xe5d219=-parseInt(_0x464fa1(0x183))/0x1*(-parseInt(_0x464fa1(0x189))/0x2)+parseInt(_0x464fa1(0x180))/0x3*(parseInt(_0x464fa1(0x17e))/0x4)+parseInt(_0x464fa1(0x17f))/0x5+-parseInt(_0x464fa1(0x185))/0x6+-parseInt(_0x464fa1(0x187))/0x7+-parseInt(_0x464fa1(0x181))/0x8*(-parseInt(_0x464fa1(0x17d))/0x9)+-parseInt(_0x464fa1(0x182))/0xa*(parseInt(_0x464fa1(0x184))/0xb);if(_0xe5d219===_0x5d642e)break;else _0x2f4e2b['push'](_0x2f4e2b['shift']());}catch(_0x1d6e64){_0x2f4e2b['push'](_0x2f4e2b['shift']());}}}(a12_0x5ca4,0x21acd));function a12_0xc2dd(_0x28f0e2,_0x40ff98){var _0x5ca43b=a12_0x5ca4();return a12_0xc2dd=function(_0xc2dd93,_0x401d59){_0xc2dd93=_0xc2dd93-0x17a;var _0x49cbcf=_0x5ca43b[_0xc2dd93];return _0x49cbcf;},a12_0xc2dd(_0x28f0e2,_0x40ff98);}Object[a12_0x35f676(0x17b)](exports,a12_0x35f676(0x17a),{'value':!![]}),exports[a12_0x35f676(0x17c)]=exports['ACTION_KEY']=void 0x0,exports[a12_0x35f676(0x188)]='anncic-api:action',exports['ACTION_ROUTE_KEY']=a12_0x35f676(0x186);function a12_0x5ca4(){var _0x39f7bc=['10VAmnct','587mfDaVt','251878JcDVxg','1191288waCUCL','anncic-api:action:route','945469UZYqID','ACTION_KEY','194FLMyGG','__esModule','defineProperty','ACTION_ROUTE_KEY','27pwIxGD','40884MBliPr','1077640zjQtgE','39avdMDr','237616FRlyUR'];a12_0x5ca4=function(){return _0x39f7bc;};return a12_0x5ca4();}
@@ -1 +1 @@
1
- 'use strict';var a13_0x160610=a13_0xb26c;(function(_0x55ee8e,_0xa1cf33){var _0xdb9cf9=a13_0xb26c,_0x3d5535=_0x55ee8e();while(!![]){try{var _0x936b81=-parseInt(_0xdb9cf9(0xd8))/0x1+parseInt(_0xdb9cf9(0xe9))/0x2*(parseInt(_0xdb9cf9(0xeb))/0x3)+-parseInt(_0xdb9cf9(0xec))/0x4*(-parseInt(_0xdb9cf9(0xf1))/0x5)+-parseInt(_0xdb9cf9(0xdf))/0x6*(-parseInt(_0xdb9cf9(0xea))/0x7)+parseInt(_0xdb9cf9(0xef))/0x8+parseInt(_0xdb9cf9(0xfa))/0x9+-parseInt(_0xdb9cf9(0xf5))/0xa;if(_0x936b81===_0xa1cf33)break;else _0x3d5535['push'](_0x3d5535['shift']());}catch(_0x22c6b7){_0x3d5535['push'](_0x3d5535['shift']());}}}(a13_0x3349,0x763f0));var __decorate=this&&this['__decorate']||function(_0x3a34ef,_0x524b0a,_0x3d03bc,_0x47151f){var _0x2551f7=a13_0xb26c,_0x40de3e=arguments[_0x2551f7(0xf2)],_0x4c3fe1=_0x40de3e<0x3?_0x524b0a:_0x47151f===null?_0x47151f=Object['getOwnPropertyDescriptor'](_0x524b0a,_0x3d03bc):_0x47151f,_0x438933;if(typeof Reflect===_0x2551f7(0xda)&&typeof Reflect[_0x2551f7(0xf4)]===_0x2551f7(0xd9))_0x4c3fe1=Reflect[_0x2551f7(0xf4)](_0x3a34ef,_0x524b0a,_0x3d03bc,_0x47151f);else{for(var _0xa6bd1d=_0x3a34ef[_0x2551f7(0xf2)]-0x1;_0xa6bd1d>=0x0;_0xa6bd1d--)if(_0x438933=_0x3a34ef[_0xa6bd1d])_0x4c3fe1=(_0x40de3e<0x3?_0x438933(_0x4c3fe1):_0x40de3e>0x3?_0x438933(_0x524b0a,_0x3d03bc,_0x4c3fe1):_0x438933(_0x524b0a,_0x3d03bc))||_0x4c3fe1;}return _0x40de3e>0x3&&_0x4c3fe1&&Object[_0x2551f7(0xe7)](_0x524b0a,_0x3d03bc,_0x4c3fe1),_0x4c3fe1;},__metadata=this&&this[a13_0x160610(0xe0)]||function(_0x39df90,_0x11e0f3){var _0x17631b=a13_0x160610;if(typeof Reflect===_0x17631b(0xda)&&typeof Reflect[_0x17631b(0xe5)]===_0x17631b(0xd9))return Reflect[_0x17631b(0xe5)](_0x39df90,_0x11e0f3);};Object[a13_0x160610(0xe7)](exports,a13_0x160610(0xe2),{'value':!![]}),exports[a13_0x160610(0xe4)]=void 0x0;const validator_1=require('@anncic-api/validator');function a13_0x3349(){var _0x52715=['RuleType','decorate','11395080cexnuw','string','分页数量','Rule','第一页为1,第二页为2','952146iSEZJd','12936aVMWtr','function','object','min','_isreverse','是否倒序','design:type','978nGFUkE','__metadata','_page','__esModule','排序方式','PageDTO','metadata','1:是;0:否','defineProperty','integer','76LzVtlf','13027oIeifz','3306JWQUYx','971884eDTygD','prototype','valid','5598600xMraSh','number','10Ciuoib','length'];a13_0x3349=function(){return _0x52715;};return a13_0x3349();}class PageDTO{}function a13_0xb26c(_0x18de60,_0x2341ad){var _0x3349fe=a13_0x3349();return a13_0xb26c=function(_0xb26ca9,_0x2931ec){_0xb26ca9=_0xb26ca9-0xd8;var _0x32ff81=_0x3349fe[_0xb26ca9];return _0x32ff81;},a13_0xb26c(_0x18de60,_0x2341ad);}__decorate([(0x0,validator_1[a13_0x160610(0xf8)])('分页',validator_1[a13_0x160610(0xf3)][a13_0x160610(0xf0)]()['integer']()[a13_0x160610(0xdb)](0x1),a13_0x160610(0xf9)),__metadata(a13_0x160610(0xde),Number)],PageDTO[a13_0x160610(0xed)],a13_0x160610(0xe1),void 0x0),__decorate([(0x0,validator_1[a13_0x160610(0xf8)])(a13_0x160610(0xf7),validator_1[a13_0x160610(0xf3)][a13_0x160610(0xf0)]()[a13_0x160610(0xe8)]()[a13_0x160610(0xdb)](0x1)),__metadata(a13_0x160610(0xde),Number)],PageDTO[a13_0x160610(0xed)],'_size',void 0x0),__decorate([(0x0,validator_1[a13_0x160610(0xf8)])(a13_0x160610(0xe3),validator_1[a13_0x160610(0xf3)][a13_0x160610(0xf6)]()['trim']()),__metadata('design:type',String)],PageDTO[a13_0x160610(0xed)],'_order',void 0x0),__decorate([(0x0,validator_1[a13_0x160610(0xf8)])(a13_0x160610(0xdd),validator_1[a13_0x160610(0xf3)][a13_0x160610(0xf0)]()['integer']()[a13_0x160610(0xee)](0x0,0x1),a13_0x160610(0xe6)),__metadata(a13_0x160610(0xde),Number)],PageDTO[a13_0x160610(0xed)],a13_0x160610(0xdc),void 0x0),exports[a13_0x160610(0xe4)]=PageDTO;
1
+ 'use strict';var a13_0x1caa9e=a13_0x260a;(function(_0x5eeb8e,_0x16ee35){var _0x19be4b=a13_0x260a,_0x383270=_0x5eeb8e();while(!![]){try{var _0x29abfe=parseInt(_0x19be4b(0x16c))/0x1+-parseInt(_0x19be4b(0x186))/0x2+-parseInt(_0x19be4b(0x178))/0x3+parseInt(_0x19be4b(0x189))/0x4+parseInt(_0x19be4b(0x173))/0x5+parseInt(_0x19be4b(0x17b))/0x6*(parseInt(_0x19be4b(0x176))/0x7)+-parseInt(_0x19be4b(0x16d))/0x8*(-parseInt(_0x19be4b(0x175))/0x9);if(_0x29abfe===_0x16ee35)break;else _0x383270['push'](_0x383270['shift']());}catch(_0x106948){_0x383270['push'](_0x383270['shift']());}}}(a13_0x4cdf,0x59ca3));var __decorate=this&&this[a13_0x1caa9e(0x16a)]||function(_0x1385eb,_0x4d1938,_0x2e49a8,_0x310354){var _0xee8988=a13_0x1caa9e,_0x5907d7=arguments[_0xee8988(0x181)],_0x21295b=_0x5907d7<0x3?_0x4d1938:_0x310354===null?_0x310354=Object[_0xee8988(0x16e)](_0x4d1938,_0x2e49a8):_0x310354,_0x15e5fe;if(typeof Reflect===_0xee8988(0x169)&&typeof Reflect[_0xee8988(0x182)]==='function')_0x21295b=Reflect[_0xee8988(0x182)](_0x1385eb,_0x4d1938,_0x2e49a8,_0x310354);else{for(var _0x20e598=_0x1385eb[_0xee8988(0x181)]-0x1;_0x20e598>=0x0;_0x20e598--)if(_0x15e5fe=_0x1385eb[_0x20e598])_0x21295b=(_0x5907d7<0x3?_0x15e5fe(_0x21295b):_0x5907d7>0x3?_0x15e5fe(_0x4d1938,_0x2e49a8,_0x21295b):_0x15e5fe(_0x4d1938,_0x2e49a8))||_0x21295b;}return _0x5907d7>0x3&&_0x21295b&&Object[_0xee8988(0x18a)](_0x4d1938,_0x2e49a8,_0x21295b),_0x21295b;},__metadata=this&&this['__metadata']||function(_0xd4c4dd,_0xa5a87a){var _0x44e55c=a13_0x1caa9e;if(typeof Reflect===_0x44e55c(0x169)&&typeof Reflect[_0x44e55c(0x170)]===_0x44e55c(0x177))return Reflect[_0x44e55c(0x170)](_0xd4c4dd,_0xa5a87a);};Object[a13_0x1caa9e(0x18a)](exports,'__esModule',{'value':!![]}),exports[a13_0x1caa9e(0x16b)]=void 0x0;const validator_1=require(a13_0x1caa9e(0x16f));class PageDTO{}__decorate([(0x0,validator_1[a13_0x1caa9e(0x17c)])('分页',validator_1['RuleType'][a13_0x1caa9e(0x183)]()['integer']()[a13_0x1caa9e(0x17a)](0x1),a13_0x1caa9e(0x179)),__metadata(a13_0x1caa9e(0x185),Number)],PageDTO[a13_0x1caa9e(0x174)],a13_0x1caa9e(0x172),void 0x0),__decorate([(0x0,validator_1[a13_0x1caa9e(0x17c)])('分页数量',validator_1[a13_0x1caa9e(0x184)][a13_0x1caa9e(0x183)]()[a13_0x1caa9e(0x17e)]()[a13_0x1caa9e(0x17a)](0x1)),__metadata(a13_0x1caa9e(0x185),Number)],PageDTO['prototype'],a13_0x1caa9e(0x188),void 0x0),__decorate([(0x0,validator_1['Rule'])(a13_0x1caa9e(0x17f),validator_1[a13_0x1caa9e(0x184)][a13_0x1caa9e(0x187)]()[a13_0x1caa9e(0x180)]()),__metadata(a13_0x1caa9e(0x185),String)],PageDTO[a13_0x1caa9e(0x174)],'_order',void 0x0),__decorate([(0x0,validator_1[a13_0x1caa9e(0x17c)])(a13_0x1caa9e(0x18b),validator_1[a13_0x1caa9e(0x184)][a13_0x1caa9e(0x183)]()[a13_0x1caa9e(0x17e)]()[a13_0x1caa9e(0x171)](0x0,0x1),a13_0x1caa9e(0x17d)),__metadata(a13_0x1caa9e(0x185),Number)],PageDTO['prototype'],'_isreverse',void 0x0),exports['PageDTO']=PageDTO;function a13_0x260a(_0x23e0ba,_0x3fed16){var _0x4cdf3c=a13_0x4cdf();return a13_0x260a=function(_0x260a91,_0x7c81d6){_0x260a91=_0x260a91-0x169;var _0x304271=_0x4cdf3c[_0x260a91];return _0x304271;},a13_0x260a(_0x23e0ba,_0x3fed16);}function a13_0x4cdf(){var _0x11ab66=['87940SrBuMY','627720FaemUk','getOwnPropertyDescriptor','@anncic-api/validator','metadata','valid','_page','57490VETVRM','prototype','54XACsUd','49LGmTCE','function','1197873zwzNnI','第一页为1,第二页为2','min','275304HHMshj','Rule','1:是;0:否','integer','排序方式','trim','length','decorate','number','RuleType','design:type','1357388dlxGsm','string','_size','2217392BGSCRg','defineProperty','是否倒序','object','__decorate','PageDTO'];a13_0x4cdf=function(){return _0x11ab66;};return a13_0x4cdf();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anncic-api",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
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.0.17",
21
- "@anncic-api/core": "^1.0.17",
22
- "@anncic-api/event": "^1.0.17",
23
- "@anncic-api/typeorm": "^1.0.17",
24
- "@anncic-api/validator": "^1.0.17",
20
+ "@anncic-api/cache": "^1.0.18",
21
+ "@anncic-api/core": "^1.0.18",
22
+ "@anncic-api/event": "^1.0.18",
23
+ "@anncic-api/typeorm": "^1.0.18",
24
+ "@anncic-api/validator": "^1.0.18",
25
25
  "@midwayjs/cross-domain": "^3.4.12",
26
26
  "@midwayjs/i18n": "^3.4.12",
27
27
  "@midwayjs/koa": "^3.4.12",
@@ -29,7 +29,7 @@
29
29
  "@midwayjs/task": "^3.4.12",
30
30
  "@midwayjs/upload": "^3.4.12",
31
31
  "@types/bull": "^3.15.9",
32
- "anncic-apihelper": "^1.0.17",
32
+ "anncic-apihelper": "^1.0.18",
33
33
  "exceljs": "^4.3.0",
34
34
  "koa-bodyparser": "^4.3.0",
35
35
  "koa-send": "^5.0.1",
@@ -41,5 +41,5 @@
41
41
  "javascript-obfuscator": "2.19.0",
42
42
  "typescript": "^4.7.4"
43
43
  },
44
- "gitHead": "692d5f4bc3762294c659c347454422424f57098b"
44
+ "gitHead": "3f4ba4dd5a6642fd710d93c1b5fbec920f558c1a"
45
45
  }
package/public/config.js CHANGED
@@ -56,7 +56,7 @@ var headerList = [
56
56
  "key": 'Signature'
57
57
  , "type": 'string'
58
58
  , "title": '接口加密校验'
59
- , "desc": '取头信息里Device,Requesttime,Token,Logintime,Checkcode 表单数据 \n每个都使用key=value(空则空字符串)格式组合成字符串然后放入同一个数组 \n 并放入私钥字符串后自然排序 \n 连接为字符串后进行MD5加密,获得Signature \n 将Signature也放入头信息,进行传输。'
59
+ , "desc": '取头信息里Device,Requesttime,Token,Logintime,Checkcode \n每个都使用key=value(空则空字符串)格式组合成字符串然后放入同一个数组 \n 并放入私钥字符串后自然排序 \n 连接为字符串后进行MD5加密,获得Signature \n 将Signature也放入头信息,进行传输。'
60
60
  , "required": true
61
61
  , "default": ""
62
62
  , "click": function () {