anncic-api 3.7.18 → 3.7.20

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.
Files changed (39) hide show
  1. package/dist/config/config.default.d.ts +47 -47
  2. package/dist/config/config.default.js +1 -1
  3. package/dist/config/config.local.d.ts +6 -6
  4. package/dist/config/config.local.js +1 -1
  5. package/dist/config/config.production.d.ts +5 -5
  6. package/dist/config/config.production.js +1 -1
  7. package/dist/configuration.d.ts +17 -17
  8. package/dist/configuration.js +1 -1
  9. package/dist/decorator/Action.d.ts +14 -14
  10. package/dist/decorator/Action.js +1 -1
  11. package/dist/decorator/ActionApitest.d.ts +2 -2
  12. package/dist/decorator/ActionApitest.js +1 -1
  13. package/dist/decorator/Intercept.d.ts +5 -5
  14. package/dist/decorator/Intercept.js +1 -1
  15. package/dist/exception/ApiError.d.ts +9 -8
  16. package/dist/exception/ApiError.js +1 -1
  17. package/dist/helper/getAppsConfig.d.ts +1 -1
  18. package/dist/helper/getAppsConfig.js +1 -1
  19. package/dist/helper/getRoutes.d.ts +11 -11
  20. package/dist/helper/getRoutes.js +1 -1
  21. package/dist/helper/getSwaggerJson.d.ts +40 -40
  22. package/dist/helper/getSwaggerJson.js +1 -1
  23. package/dist/index.d.ts +21 -21
  24. package/dist/index.js +1 -1
  25. package/dist/service/ApiService.d.ts +12 -12
  26. package/dist/service/ApiService.js +1 -1
  27. package/dist/service/ApitestService.d.ts +19 -19
  28. package/dist/service/ApitestService.js +1 -1
  29. package/dist/service/ExcelService.d.ts +46 -46
  30. package/dist/service/ExcelService.js +1 -1
  31. package/dist/service/ExcelStream.d.ts +48 -47
  32. package/dist/service/ExcelStream.js +1 -1
  33. package/dist/types/action.d.ts +47 -47
  34. package/dist/types/action.js +1 -1
  35. package/dist/types/common.d.ts +14 -13
  36. package/dist/types/common.js +1 -1
  37. package/dist/types/intercept.d.ts +3 -3
  38. package/dist/types/intercept.js +1 -1
  39. package/package.json +9 -9
@@ -1,47 +1,47 @@
1
- declare const _default: (appinfo: any) => {
2
- apitest: boolean;
3
- keys: any;
4
- anncicapi: {
5
- requestKey: string;
6
- password: string;
7
- devices: {
8
- DEFAULT: {
9
- secret: string;
10
- checkcode: string;
11
- };
12
- };
13
- };
14
- koa: {
15
- proxy: boolean;
16
- };
17
- midwayLogger: {
18
- default: {
19
- maxSize: string;
20
- maxFiles: string;
21
- dir: string;
22
- };
23
- };
24
- bodyParser: {
25
- enableTypes: string[];
26
- formLimit: string;
27
- jsonLimit: string;
28
- textLimit: string;
29
- xmlLimit: string;
30
- enable: boolean;
31
- };
32
- upload: {
33
- tmpdir: string;
34
- cleanTimeout: number;
35
- };
36
- busboy: {
37
- mode: string;
38
- tmpdir: string;
39
- cleanTimeout: number;
40
- };
41
- bull: {
42
- defaultQueueOptions: {
43
- prefix: string;
44
- };
45
- };
46
- };
47
- export default _default;
1
+ declare const _default: (appinfo: any) => {
2
+ apitest: boolean;
3
+ keys: any;
4
+ anncicapi: {
5
+ requestKey: string;
6
+ password: string;
7
+ devices: {
8
+ DEFAULT: {
9
+ secret: string;
10
+ checkcode: string;
11
+ };
12
+ };
13
+ };
14
+ koa: {
15
+ proxy: boolean;
16
+ };
17
+ midwayLogger: {
18
+ default: {
19
+ maxSize: string;
20
+ maxFiles: string;
21
+ dir: string;
22
+ };
23
+ };
24
+ bodyParser: {
25
+ enableTypes: string[];
26
+ formLimit: string;
27
+ jsonLimit: string;
28
+ textLimit: string;
29
+ xmlLimit: string;
30
+ enable: boolean;
31
+ };
32
+ upload: {
33
+ tmpdir: string;
34
+ cleanTimeout: number;
35
+ };
36
+ busboy: {
37
+ mode: string;
38
+ tmpdir: string;
39
+ cleanTimeout: number;
40
+ };
41
+ bull: {
42
+ defaultQueueOptions: {
43
+ prefix: string;
44
+ };
45
+ };
46
+ };
47
+ export default _default;
@@ -1 +1 @@
1
- var a0_0x1c0ba4=a0_0x16f1;(function(_0x2dad5a,_0x4a7e5e){var _0x16a3d8=a0_0x16f1,_0x47c7d3=_0x2dad5a();while(!![]){try{var _0x45ea28=parseInt(_0x16a3d8(0x1a3))/0x1+-parseInt(_0x16a3d8(0x1a7))/0x2+parseInt(_0x16a3d8(0x1a6))/0x3*(parseInt(_0x16a3d8(0x1b6))/0x4)+-parseInt(_0x16a3d8(0x1b4))/0x5*(parseInt(_0x16a3d8(0x1b1))/0x6)+parseInt(_0x16a3d8(0x1b9))/0x7*(-parseInt(_0x16a3d8(0x1b3))/0x8)+-parseInt(_0x16a3d8(0x1ad))/0x9+parseInt(_0x16a3d8(0x1b0))/0xa;if(_0x45ea28===_0x4a7e5e)break;else _0x47c7d3['push'](_0x47c7d3['shift']());}catch(_0x3a4b22){_0x47c7d3['push'](_0x47c7d3['shift']());}}}(a0_0x1afc,0xf1c70));function a0_0x1afc(){var _0x58d71d=['env','constructor','1545QtgaIE','577126fwqzNT','name','/runtime','json','appDir','{midway-bull}{','7467552JhUpDH','default','20mb','23186960KulIbY','558CVUsNq','search','60056FPxmgy','38535kDmZhv','zhiulanuiy7892387985hnoi','532hkvHhh','dhauo1234420123gg3234901','form','973RtoTVW','(((.+)+)+)+$','text','defineProperty','270d','toString','1481644OkOqDd'];a0_0x1afc=function(){return _0x58d71d;};return a0_0x1afc();}var a0_0x53cad8=(function(){var _0x5c00bf=!![];return function(_0x2f903f,_0x9198f1){var _0x15ea26=_0x5c00bf?function(){if(_0x9198f1){var _0x4b6b6b=_0x9198f1['apply'](_0x2f903f,arguments);return _0x9198f1=null,_0x4b6b6b;}}:function(){};return _0x5c00bf=![],_0x15ea26;};}()),a0_0x15b272=a0_0x53cad8(this,function(){var _0x4b01ad=a0_0x16f1;return a0_0x15b272[_0x4b01ad(0x1a2)]()['search']('(((.+)+)+)+$')[_0x4b01ad(0x1a2)]()[_0x4b01ad(0x1a5)](a0_0x15b272)[_0x4b01ad(0x1b2)](_0x4b01ad(0x1ba));});function a0_0x16f1(_0x30b7aa,_0x12c22b){var _0x1bd133=a0_0x1afc();return a0_0x16f1=function(_0x15b272,_0x53cad8){_0x15b272=_0x15b272-0x1a2;var _0x1afc29=_0x1bd133[_0x15b272];return _0x1afc29;},a0_0x16f1(_0x30b7aa,_0x12c22b);}a0_0x15b272();'use strict';Object[a0_0x1c0ba4(0x1bc)](exports,'__esModule',{'value':!![]}),exports[a0_0x1c0ba4(0x1ae)]=_0x8b7ed7=>{var _0x22bacc=a0_0x1c0ba4;return{'apitest':!![],'keys':_0x8b7ed7[_0x22bacc(0x1a8)],'anncicapi':{'requestKey':'_token','password':_0x22bacc(0x1b5),'devices':{'DEFAULT':{'secret':_0x22bacc(0x1b7),'checkcode':_0x22bacc(0x1b7)}}},'koa':{'proxy':!![]},'midwayLogger':{'default':{'maxSize':'1m','maxFiles':_0x22bacc(0x1bd),'dir':_0x8b7ed7[_0x22bacc(0x1ab)]+_0x22bacc(0x1a9)}},'bodyParser':{'enableTypes':[_0x22bacc(0x1aa),_0x22bacc(0x1b8),_0x22bacc(0x1bb),'xml'],'formLimit':'20mb','jsonLimit':_0x22bacc(0x1af),'textLimit':_0x22bacc(0x1af),'xmlLimit':'20mb','enable':!![]},'upload':{'tmpdir':_0x8b7ed7['appDir']+'/runtime/.upload','cleanTimeout':0x5265c00},'busboy':{'mode':'file','tmpdir':_0x8b7ed7['appDir']+'/runtime/.upload','cleanTimeout':0x5265c00},'bull':{'defaultQueueOptions':{'prefix':_0x22bacc(0x1ac)+_0x8b7ed7[_0x22bacc(0x1a8)]+':'+((_0x8b7ed7===null||_0x8b7ed7===void 0x0?void 0x0:_0x8b7ed7[_0x22bacc(0x1a4)])?_0x8b7ed7[_0x22bacc(0x1a4)]+':':'')+')'}}};};
1
+ var a0_0x4a5828=a0_0x1eea;(function(_0x1304d4,_0x3b34d6){var _0x3986c9=a0_0x1eea,_0x205197=_0x1304d4();while(!![]){try{var _0x559d6a=-parseInt(_0x3986c9(0x188))/0x1+parseInt(_0x3986c9(0x172))/0x2*(parseInt(_0x3986c9(0x17e))/0x3)+parseInt(_0x3986c9(0x187))/0x4*(-parseInt(_0x3986c9(0x177))/0x5)+parseInt(_0x3986c9(0x181))/0x6*(-parseInt(_0x3986c9(0x17b))/0x7)+-parseInt(_0x3986c9(0x180))/0x8+-parseInt(_0x3986c9(0x18a))/0x9*(-parseInt(_0x3986c9(0x174))/0xa)+parseInt(_0x3986c9(0x170))/0xb*(parseInt(_0x3986c9(0x189))/0xc);if(_0x559d6a===_0x3b34d6)break;else _0x205197['push'](_0x205197['shift']());}catch(_0x5694ba){_0x205197['push'](_0x205197['shift']());}}}(a0_0x8345,0xc7d92));var a0_0x328fb0=(function(){var _0x48ea4b=!![];return function(_0x5620d9,_0x3f9837){var _0x477f19=_0x48ea4b?function(){var _0x3663e8=a0_0x1eea;if(_0x3f9837){var _0x45881c=_0x3f9837[_0x3663e8(0x176)](_0x5620d9,arguments);return _0x3f9837=null,_0x45881c;}}:function(){};return _0x48ea4b=![],_0x477f19;};}()),a0_0x5d0173=a0_0x328fb0(this,function(){var _0x14c3da=a0_0x1eea;return a0_0x5d0173['toString']()[_0x14c3da(0x182)](_0x14c3da(0x17d))[_0x14c3da(0x183)]()[_0x14c3da(0x18e)](a0_0x5d0173)[_0x14c3da(0x182)](_0x14c3da(0x17d));});a0_0x5d0173();function a0_0x1eea(_0x5d3b30,_0x5c0251){var _0x539ad0=a0_0x8345();return a0_0x1eea=function(_0x5d0173,_0x328fb0){_0x5d0173=_0x5d0173-0x170;var _0x83457=_0x539ad0[_0x5d0173];return _0x83457;},a0_0x1eea(_0x5d3b30,_0x5c0251);}'use strict';function a0_0x8345(){var _0x376557=['defineProperty','constructor','appDir','7931MGDvys','name','121790aIVNOc','__esModule','130sDRWfo','270d','apply','370YcYmHN','/runtime/.upload','dhauo1234420123gg3234901','env','7kIqaJU','{midway-bull}{','(((.+)+)+)+$','15uwySlK','form','6110352oUdVwt','1414074PqCcqu','search','toString','text','20mb','file','42648vtkFMW','876779MAnjYf','52152ThsUcl','31761aRUncO','_token','/runtime'];a0_0x8345=function(){return _0x376557;};return a0_0x8345();}Object[a0_0x4a5828(0x18d)](exports,a0_0x4a5828(0x173),{'value':!![]}),exports['default']=_0x4e23a0=>{var _0x5a77eb=a0_0x4a5828;return{'apitest':!![],'keys':_0x4e23a0[_0x5a77eb(0x171)],'anncicapi':{'requestKey':_0x5a77eb(0x18b),'password':'zhiulanuiy7892387985hnoi','devices':{'DEFAULT':{'secret':'dhauo1234420123gg3234901','checkcode':_0x5a77eb(0x179)}}},'koa':{'proxy':!![]},'midwayLogger':{'default':{'maxSize':'1m','maxFiles':_0x5a77eb(0x175),'dir':_0x4e23a0[_0x5a77eb(0x18f)]+_0x5a77eb(0x18c)}},'bodyParser':{'enableTypes':['json',_0x5a77eb(0x17f),_0x5a77eb(0x184),'xml'],'formLimit':'20mb','jsonLimit':_0x5a77eb(0x185),'textLimit':_0x5a77eb(0x185),'xmlLimit':_0x5a77eb(0x185),'enable':!![]},'upload':{'tmpdir':_0x4e23a0[_0x5a77eb(0x18f)]+'/runtime/.upload','cleanTimeout':0x5265c00},'busboy':{'mode':_0x5a77eb(0x186),'tmpdir':_0x4e23a0[_0x5a77eb(0x18f)]+_0x5a77eb(0x178),'cleanTimeout':0x5265c00},'bull':{'defaultQueueOptions':{'prefix':_0x5a77eb(0x17c)+_0x4e23a0[_0x5a77eb(0x171)]+':'+((_0x4e23a0===null||_0x4e23a0===void 0x0?void 0x0:_0x4e23a0[_0x5a77eb(0x17a)])?_0x4e23a0[_0x5a77eb(0x17a)]+':':'')+')'}}};};
@@ -1,6 +1,6 @@
1
- declare const _default: (appinfo: any) => {
2
- koa: {
3
- proxy: boolean;
4
- };
5
- };
6
- export default _default;
1
+ declare const _default: (appinfo: any) => {
2
+ koa: {
3
+ proxy: boolean;
4
+ };
5
+ };
6
+ export default _default;
@@ -1 +1 @@
1
- var a1_0x1b32cc=a1_0x55c8;function a1_0x1dfe(){var _0x5da9c1=['671344GdeqdQ','356812uqBkeR','defineProperty','3xBmLFO','search','2231754WEzkhj','16NIPWsF','constructor','20GBabUK','toString','1235745HSsYVZ','3043044YqoSVx','(((.+)+)+)+$','__esModule','2519741yskKjV','30665450qxcupr'];a1_0x1dfe=function(){return _0x5da9c1;};return a1_0x1dfe();}(function(_0x46bfd2,_0x14afba){var _0x5a1528=a1_0x55c8,_0x3b686a=_0x46bfd2();while(!![]){try{var _0x23fa5e=-parseInt(_0x5a1528(0x154))/0x1*(parseInt(_0x5a1528(0x152))/0x2)+-parseInt(_0x5a1528(0x15c))/0x3+-parseInt(_0x5a1528(0x151))/0x4*(parseInt(_0x5a1528(0x159))/0x5)+parseInt(_0x5a1528(0x156))/0x6+parseInt(_0x5a1528(0x15f))/0x7*(-parseInt(_0x5a1528(0x157))/0x8)+parseInt(_0x5a1528(0x15b))/0x9+parseInt(_0x5a1528(0x150))/0xa;if(_0x23fa5e===_0x14afba)break;else _0x3b686a['push'](_0x3b686a['shift']());}catch(_0x9d2e30){_0x3b686a['push'](_0x3b686a['shift']());}}}(a1_0x1dfe,0x9b05d));var a1_0xb768b=(function(){var _0xc3ca2=!![];return function(_0x22cb15,_0x5d08f1){var _0x34ae62=_0xc3ca2?function(){if(_0x5d08f1){var _0x27fdd6=_0x5d08f1['apply'](_0x22cb15,arguments);return _0x5d08f1=null,_0x27fdd6;}}:function(){};return _0xc3ca2=![],_0x34ae62;};}()),a1_0x4bf5c7=a1_0xb768b(this,function(){var _0x3becb2=a1_0x55c8;return a1_0x4bf5c7[_0x3becb2(0x15a)]()[_0x3becb2(0x155)](_0x3becb2(0x15d))[_0x3becb2(0x15a)]()[_0x3becb2(0x158)](a1_0x4bf5c7)['search'](_0x3becb2(0x15d));});a1_0x4bf5c7();'use strict';function a1_0x55c8(_0x36d953,_0x31eb67){var _0x4c6181=a1_0x1dfe();return a1_0x55c8=function(_0x4bf5c7,_0xb768b){_0x4bf5c7=_0x4bf5c7-0x150;var _0x1dfe8b=_0x4c6181[_0x4bf5c7];return _0x1dfe8b;},a1_0x55c8(_0x36d953,_0x31eb67);}Object[a1_0x1b32cc(0x153)](exports,a1_0x1b32cc(0x15e),{'value':!![]}),exports['default']=_0x1e4b87=>{return{'koa':{'proxy':![]}};};
1
+ var a1_0x18cf68=a1_0x3ade;(function(_0x3fcdc7,_0x41e54c){var _0xf4dc54=a1_0x3ade,_0x113884=_0x3fcdc7();while(!![]){try{var _0x2dc80a=parseInt(_0xf4dc54(0xee))/0x1+parseInt(_0xf4dc54(0xea))/0x2+-parseInt(_0xf4dc54(0xe0))/0x3+parseInt(_0xf4dc54(0xe6))/0x4*(parseInt(_0xf4dc54(0xec))/0x5)+-parseInt(_0xf4dc54(0xe8))/0x6+-parseInt(_0xf4dc54(0xed))/0x7*(-parseInt(_0xf4dc54(0xe2))/0x8)+-parseInt(_0xf4dc54(0xe5))/0x9;if(_0x2dc80a===_0x41e54c)break;else _0x113884['push'](_0x113884['shift']());}catch(_0xb9fe8f){_0x113884['push'](_0x113884['shift']());}}}(a1_0x2df9,0x8eb24));var a1_0x5cdaa3=(function(){var _0x150bb4=!![];return function(_0x3c2199,_0x2b84b9){var _0x30ef52=_0x150bb4?function(){if(_0x2b84b9){var _0x5b3c21=_0x2b84b9['apply'](_0x3c2199,arguments);return _0x2b84b9=null,_0x5b3c21;}}:function(){};return _0x150bb4=![],_0x30ef52;};}()),a1_0x5ed2db=a1_0x5cdaa3(this,function(){var _0x5a79e2=a1_0x3ade;return a1_0x5ed2db[_0x5a79e2(0xe4)]()['search'](_0x5a79e2(0xef))[_0x5a79e2(0xe4)]()[_0x5a79e2(0xe1)](a1_0x5ed2db)[_0x5a79e2(0xe7)](_0x5a79e2(0xef));});a1_0x5ed2db();'use strict';function a1_0x2df9(){var _0x596ad2=['4324315zTXCsZ','7hNogcS','1103166gOEhjy','(((.+)+)+)+$','2665953xERZNp','constructor','1625208XgIiVo','default','toString','7284168cgUToF','4hLYWBP','search','3913542qcZIgS','defineProperty','1527128AHFZoT','__esModule'];a1_0x2df9=function(){return _0x596ad2;};return a1_0x2df9();}function a1_0x3ade(_0x480632,_0x39b9ed){var _0xe723bd=a1_0x2df9();return a1_0x3ade=function(_0x5ed2db,_0x5cdaa3){_0x5ed2db=_0x5ed2db-0xe0;var _0x2df9a6=_0xe723bd[_0x5ed2db];return _0x2df9a6;},a1_0x3ade(_0x480632,_0x39b9ed);}Object[a1_0x18cf68(0xe9)](exports,a1_0x18cf68(0xeb),{'value':!![]}),exports[a1_0x18cf68(0xe3)]=_0x525bcd=>{return{'koa':{'proxy':![]}};};
@@ -1,5 +1,5 @@
1
- declare const _default: {
2
- apitest: boolean;
3
- anncicapi: {};
4
- };
5
- export default _default;
1
+ declare const _default: {
2
+ apitest: boolean;
3
+ anncicapi: {};
4
+ };
5
+ export default _default;
@@ -1 +1 @@
1
- var a2_0x298e92=a2_0x5977;(function(_0x5c1414,_0x3c5788){var _0x282305=a2_0x5977,_0x1cbaec=_0x5c1414();while(!![]){try{var _0x3a3bcb=parseInt(_0x282305(0x1da))/0x1+parseInt(_0x282305(0x1dd))/0x2*(-parseInt(_0x282305(0x1d9))/0x3)+parseInt(_0x282305(0x1eb))/0x4*(-parseInt(_0x282305(0x1ec))/0x5)+-parseInt(_0x282305(0x1e9))/0x6*(parseInt(_0x282305(0x1e2))/0x7)+-parseInt(_0x282305(0x1e8))/0x8*(-parseInt(_0x282305(0x1e6))/0x9)+parseInt(_0x282305(0x1db))/0xa+-parseInt(_0x282305(0x1e3))/0xb*(-parseInt(_0x282305(0x1e7))/0xc);if(_0x3a3bcb===_0x3c5788)break;else _0x1cbaec['push'](_0x1cbaec['shift']());}catch(_0x40e699){_0x1cbaec['push'](_0x1cbaec['shift']());}}}(a2_0x1755,0x68bb1));var a2_0x976e24=(function(){var _0x37eab2=!![];return function(_0x33b0b1,_0xe8295f){var _0x26f966=_0x37eab2?function(){var _0x2bea59=a2_0x5977;if(_0xe8295f){var _0x20a05e=_0xe8295f[_0x2bea59(0x1e1)](_0x33b0b1,arguments);return _0xe8295f=null,_0x20a05e;}}:function(){};return _0x37eab2=![],_0x26f966;};}()),a2_0x410775=a2_0x976e24(this,function(){var _0x5ba90e=a2_0x5977;return a2_0x410775['toString']()[_0x5ba90e(0x1df)](_0x5ba90e(0x1ea))[_0x5ba90e(0x1e4)]()[_0x5ba90e(0x1e0)](a2_0x410775)['search'](_0x5ba90e(0x1ea));});a2_0x410775();function a2_0x1755(){var _0x24abd9=['227175RSODRr','6636250oigZCS','__esModule','50128vYxhPN','defineProperty','search','constructor','apply','4550oscxnY','1032988FyDEXv','toString','default','144oziPeo','168MKaStC','528wUNJxA','5928rIXAzb','(((.+)+)+)+$','1834652evjZAY','5vTGDvs','81JmBlyu'];a2_0x1755=function(){return _0x24abd9;};return a2_0x1755();}function a2_0x5977(_0x3839cd,_0x518706){var _0x172dfa=a2_0x1755();return a2_0x5977=function(_0x410775,_0x976e24){_0x410775=_0x410775-0x1d9;var _0x1755b6=_0x172dfa[_0x410775];return _0x1755b6;},a2_0x5977(_0x3839cd,_0x518706);}'use strict';Object[a2_0x298e92(0x1de)](exports,a2_0x298e92(0x1dc),{'value':!![]}),exports[a2_0x298e92(0x1e5)]={'apitest':![],'anncicapi':{}};
1
+ var a2_0x53d928=a2_0x5a63;(function(_0x32caea,_0x47cc2f){var _0x1ec162=a2_0x5a63,_0x419f06=_0x32caea();while(!![]){try{var _0x274909=parseInt(_0x1ec162(0x7b))/0x1*(parseInt(_0x1ec162(0x7f))/0x2)+parseInt(_0x1ec162(0x83))/0x3+-parseInt(_0x1ec162(0x73))/0x4*(parseInt(_0x1ec162(0x7d))/0x5)+-parseInt(_0x1ec162(0x77))/0x6*(-parseInt(_0x1ec162(0x79))/0x7)+parseInt(_0x1ec162(0x7a))/0x8*(parseInt(_0x1ec162(0x75))/0x9)+parseInt(_0x1ec162(0x80))/0xa*(parseInt(_0x1ec162(0x7e))/0xb)+-parseInt(_0x1ec162(0x82))/0xc*(parseInt(_0x1ec162(0x85))/0xd);if(_0x274909===_0x47cc2f)break;else _0x419f06['push'](_0x419f06['shift']());}catch(_0x509c3a){_0x419f06['push'](_0x419f06['shift']());}}}(a2_0x15b1,0x3a88c));var a2_0x58264d=(function(){var _0x4e9438=!![];return function(_0x552fe4,_0x249116){var _0x450b45=_0x4e9438?function(){var _0x2f4c3f=a2_0x5a63;if(_0x249116){var _0x5f35fe=_0x249116[_0x2f4c3f(0x7c)](_0x552fe4,arguments);return _0x249116=null,_0x5f35fe;}}:function(){};return _0x4e9438=![],_0x450b45;};}()),a2_0x5b5731=a2_0x58264d(this,function(){var _0x38ee52=a2_0x5a63;return a2_0x5b5731[_0x38ee52(0x84)]()[_0x38ee52(0x76)](_0x38ee52(0x81))[_0x38ee52(0x84)]()[_0x38ee52(0x78)](a2_0x5b5731)['search'](_0x38ee52(0x81));});a2_0x5b5731();'use strict';Object[a2_0x53d928(0x72)](exports,'__esModule',{'value':!![]}),exports[a2_0x53d928(0x74)]={'apitest':![],'anncicapi':{}};function a2_0x5a63(_0x2f7313,_0x3ce2fd){var _0x47ad7c=a2_0x15b1();return a2_0x5a63=function(_0x5b5731,_0x58264d){_0x5b5731=_0x5b5731-0x72;var _0x15b1bc=_0x47ad7c[_0x5b5731];return _0x15b1bc;},a2_0x5a63(_0x2f7313,_0x3ce2fd);}function a2_0x15b1(){var _0x53f47e=['16604zdhElJ','1673288ZMfMhD','5758QfsZLe','apply','516300jvgzgz','176UMRPIb','120SPdCnP','167340uJoirq','(((.+)+)+)+$','36ptTiUP','1413726uZWTtl','toString','3373097YshvSv','defineProperty','16EfyFMJ','default','9ctKVPd','search','348zdfaPc','constructor'];a2_0x15b1=function(){return _0x53f47e;};return a2_0x15b1();}
@@ -1,17 +1,17 @@
1
- import { IMidwayApplication, MidwayLoggerService } from '@midwayjs/core';
2
- import { MidwayApplicationManager, MidwayConfigService, MidwayDecoratorService, MidwayEnvironmentService } from '@midwayjs/core';
3
- import { ApiService } from './service/ApiService';
4
- export declare class CustomConfiguration {
5
- app: IMidwayApplication;
6
- config: MidwayConfigService;
7
- decorator: MidwayDecoratorService;
8
- application: MidwayApplicationManager;
9
- environment: MidwayEnvironmentService;
10
- loggerService: MidwayLoggerService;
11
- ApiService: ApiService;
12
- onReady(): Promise<void>;
13
- protected handlerActionRoute(): Promise<void>;
14
- protected hanlderApplications(): Promise<void>;
15
- protected loggerConfig(): Promise<void>;
16
- protected filterConfig(): Promise<void>;
17
- }
1
+ import { IMidwayApplication, MidwayLoggerService } from '@midwayjs/core';
2
+ import { MidwayApplicationManager, MidwayConfigService, MidwayDecoratorService, MidwayEnvironmentService } from '@midwayjs/core';
3
+ import { ApiService } from './service/ApiService';
4
+ export declare class CustomConfiguration {
5
+ app: IMidwayApplication;
6
+ config: MidwayConfigService;
7
+ decorator: MidwayDecoratorService;
8
+ application: MidwayApplicationManager;
9
+ environment: MidwayEnvironmentService;
10
+ loggerService: MidwayLoggerService;
11
+ ApiService: ApiService;
12
+ onReady(): Promise<void>;
13
+ protected handlerActionRoute(): Promise<void>;
14
+ protected hanlderApplications(): Promise<void>;
15
+ protected loggerConfig(): Promise<void>;
16
+ protected filterConfig(): Promise<void>;
17
+ }
@@ -1 +1 @@
1
- function a3_0x1664(_0x3dda7a,_0x24477c){const _0x89c9c2=a3_0x26ad();return a3_0x1664=function(_0x786695,_0x4c3b33){_0x786695=_0x786695-0xd9;let _0x26ad03=_0x89c9c2[_0x786695];return _0x26ad03;},a3_0x1664(_0x3dda7a,_0x24477c);}const a3_0x4a4c12=a3_0x1664;(function(_0x30e7df,_0x20d755){const _0x49d2a6=a3_0x1664,_0x1c4051=_0x30e7df();while(!![]){try{const _0x31b230=-parseInt(_0x49d2a6(0x167))/0x1+-parseInt(_0x49d2a6(0x146))/0x2+-parseInt(_0x49d2a6(0x11c))/0x3*(-parseInt(_0x49d2a6(0x15d))/0x4)+parseInt(_0x49d2a6(0x13b))/0x5+-parseInt(_0x49d2a6(0x14d))/0x6*(-parseInt(_0x49d2a6(0x159))/0x7)+-parseInt(_0x49d2a6(0x16e))/0x8+-parseInt(_0x49d2a6(0x14a))/0x9*(-parseInt(_0x49d2a6(0x148))/0xa);if(_0x31b230===_0x20d755)break;else _0x1c4051['push'](_0x1c4051['shift']());}catch(_0x265817){_0x1c4051['push'](_0x1c4051['shift']());}}}(a3_0x26ad,0xb63b0));const a3_0x4c3b33=(function(){let _0x486612=!![];return function(_0x55eb3b,_0x56b25a){const _0x1fdfc9=_0x486612?function(){const _0x415a67=a3_0x1664;if(_0x56b25a){const _0x44867a=_0x56b25a[_0x415a67(0xfc)](_0x55eb3b,arguments);return _0x56b25a=null,_0x44867a;}}:function(){};return _0x486612=![],_0x1fdfc9;};}()),a3_0x786695=a3_0x4c3b33(this,function(){const _0x422df9=a3_0x1664;return a3_0x786695[_0x422df9(0x155)]()[_0x422df9(0x137)](_0x422df9(0x145))[_0x422df9(0x155)]()[_0x422df9(0x105)](a3_0x786695)[_0x422df9(0x137)](_0x422df9(0x145));});function a3_0x26ad(){const _0x4b7d80=['match','917120aystqq','length','文件不存在','@anncic-api/typeorm','clients','__metadata','prototype','11558232GdRbmc','443','target','getAppDir','loggerConfig','environment','apps-','isString','toLowerCase','attachment','./exception/ApiError','keys','connection','dir','join','handler','@anncic-api/validator','req','query','koa-send','upload','https://','MidwayConfigService','checksign','requestKey','forEach','CustomConfiguration','split','existsSync','registerMethodHandler','host','getOwnPropertyDescriptor','routerName','/app','path','midwayLogger','__decorate','dirs','request','proceed','lastIndexOf','filterConfig','createLogger','defineProperty','statSync','getClassMetadata','headers','apply','includes','device','Anncic-api\x20static-file\x20:\x20mkdir\x20','application','@midwayjs/cross-domain','routerOptions','Anncic-api\x20upload-tmpdir\x20:\x20mkdir\x20','App','constructor','@midwayjs/static-file','encrypted','staticFile','./types/action','string','isDevelopmentEnvironment','@anncic-api/event','MidwayDecoratorService','body','undefined','addObject','_matchedRouteMeta','app','substring','anncic-apihelper','Types','bodyXml','InterceptTargetTmp','getBaseDir','INTERCEPT_KEY','Inject','context','366GmLMVK','@midwayjs/koa','tmpdir','runtime','intercept','module','filepath','isNull','/apps','description','getAsync','./service/ApiService','tagName','function','isDirectory','readdirSync','defaultsDeep','log','parse','/basic','onReady','@midwayjs/core','basic','isFunction','@anncic-api/cache','Configuration','_UNKNOW_','search','_matchedRoute','anncic-api','./types/intercept','2688395PJFlcn','key','input','handlerActionRoute','config','@midwayjs/busboy','devices','hanlderApplications','decorator','ApiError','(((.+)+)+)+$','384648mBeIOa','apimit','1480940lKLsiU','MidwayLoggerService','63pDUbJn','args','object','19752wmBFVX','app.log','@anncic-api/core','REQUEST_OBJ_CTX_KEY','loggerService','DEFAULT','startsWith','anncicapi','toString','design:type','ACTION_ROUTE_KEY','http','2128bBxklc','APPSCONFIG_KEY','ApiService','270d','23788sOKVsm','method','metadata','ACTION_KEY','HEADERS_SIGNATURE','getConfiguration','MidwayEnvironmentService','decorate','http://'];a3_0x26ad=function(){return _0x4b7d80;};return a3_0x26ad();}a3_0x786695();'use strict';var __decorate=this&&this[a3_0x4a4c12(0xf1)]||function(_0x210f51,_0x7004d1,_0x408f99,_0x4b1f34){const _0x22cf37=a3_0x4a4c12;var _0x417981=arguments[_0x22cf37(0x168)],_0x5ea784=_0x417981<0x3?_0x7004d1:_0x4b1f34===null?_0x4b1f34=Object[_0x22cf37(0xec)](_0x7004d1,_0x408f99):_0x4b1f34,_0xdea66;if(typeof Reflect==='object'&&typeof Reflect[_0x22cf37(0x164)]==='function')_0x5ea784=Reflect['decorate'](_0x210f51,_0x7004d1,_0x408f99,_0x4b1f34);else{for(var _0x414ecb=_0x210f51['length']-0x1;_0x414ecb>=0x0;_0x414ecb--)if(_0xdea66=_0x210f51[_0x414ecb])_0x5ea784=(_0x417981<0x3?_0xdea66(_0x5ea784):_0x417981>0x3?_0xdea66(_0x7004d1,_0x408f99,_0x5ea784):_0xdea66(_0x7004d1,_0x408f99))||_0x5ea784;}return _0x417981>0x3&&_0x5ea784&&Object[_0x22cf37(0xf8)](_0x7004d1,_0x408f99,_0x5ea784),_0x5ea784;},__metadata=this&&this[a3_0x4a4c12(0x16c)]||function(_0x2f24fb,_0x5f48ce){const _0xfc75cd=a3_0x4a4c12;if(typeof Reflect===_0xfc75cd(0x14c)&&typeof Reflect[_0xfc75cd(0x15f)]===_0xfc75cd(0x129))return Reflect[_0xfc75cd(0x15f)](_0x2f24fb,_0x5f48ce);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a3_0x4a4c12(0xe7)]=void 0x0;const core_1=require(a3_0x4a4c12(0x131)),core_2=require(a3_0x4a4c12(0x131)),ApiError_1=require(a3_0x4a4c12(0x178)),ApiService_1=require(a3_0x4a4c12(0x127)),intercept_1=require(a3_0x4a4c12(0x13a)),action_1=require(a3_0x4a4c12(0x109)),fs=require('fs'),path=require(a3_0x4a4c12(0xef)),koasend=require(a3_0x4a4c12(0xe0)),koa=require(a3_0x4a4c12(0x11d)),upload=require(a3_0x4a4c12(0x140)),staticFile=require(a3_0x4a4c12(0x106)),crossDomain=require(a3_0x4a4c12(0x101)),ConfigDefault=require('./config/config.default'),ConfigProduction=require('./config/config.production'),anncic=require(a3_0x4a4c12(0x14f)),anncicCache=require(a3_0x4a4c12(0x134)),anncicEvent=require(a3_0x4a4c12(0x10c)),anncicTypeorm=require(a3_0x4a4c12(0x16a)),anncicValidator=require(a3_0x4a4c12(0xdd)),anncicHelper=require(a3_0x4a4c12(0x114));let CustomConfiguration=class CustomConfiguration{async[a3_0x4a4c12(0x130)](){const _0x423b2a=a3_0x4a4c12;await this[_0x423b2a(0xf6)](),await this['loggerConfig'](),await this[_0x423b2a(0x13e)](),await this[_0x423b2a(0x142)]();}async[a3_0x4a4c12(0x13e)](){const _0x4f0233=a3_0x4a4c12,_0x4c1d86=this[_0x4f0233(0x13f)][_0x4f0233(0x162)](),_0x4a3b7c=(0x0,core_1[_0x4f0233(0xfa)])(intercept_1[_0x4f0233(0x119)],intercept_1[_0x4f0233(0x117)])||{};this[_0x4f0233(0x143)][_0x4f0233(0xea)](action_1[_0x4f0233(0x157)],_0x49d787=>{const _0x3c5a3c=_0x4f0233;var _0x278779;const _0x3aa363=(0x0,core_1[_0x3c5a3c(0xfa)])(action_1[_0x3c5a3c(0x15a)],action_1['AppsConfigTmp'])||{},_0x53b0f9=_0x49d787[_0x3c5a3c(0x15f)],_0x19dfda=(0x0,core_1[_0x3c5a3c(0xfa)])(action_1[_0x3c5a3c(0x160)],_0x49d787[_0x3c5a3c(0x170)])||{},_0x559ee6=((_0x278779=_0x19dfda===null||_0x19dfda===void 0x0?void 0x0:_0x19dfda[_0x3c5a3c(0x122)])===null||_0x278779===void 0x0?void 0x0:_0x278779[_0x3c5a3c(0x113)](0x0,_0x19dfda[_0x3c5a3c(0x122)][_0x3c5a3c(0xf5)]('.')))||'',_0x42be48=(_0x19dfda===null||_0x19dfda===void 0x0?void 0x0:_0x19dfda[_0x3c5a3c(0x121)])?(_0x3aa363===null||_0x3aa363===void 0x0?void 0x0:_0x3aa363[_0x19dfda[_0x3c5a3c(0x121)]])||{}:{};return{'before':async _0x2a351b=>{const _0x19761d=_0x3c5a3c;var _0x124466,_0x44e1a4,_0x3922b3,_0x1abd90;const _0x1dff7c=(_0x124466=_0x2a351b===null||_0x2a351b===void 0x0?void 0x0:_0x2a351b['target'])===null||_0x124466===void 0x0?void 0x0:_0x124466[core_2[_0x19761d(0x150)]],_0x1f6898=lodash[_0x19761d(0x12c)]({},_0x1dff7c[_0x19761d(0xf3)][_0x19761d(0x10e)]||_0x1dff7c['request'][((_0x44e1a4=_0x4c1d86===null||_0x4c1d86===void 0x0?void 0x0:_0x4c1d86['bodyXml'])===null||_0x44e1a4===void 0x0?void 0x0:_0x44e1a4[_0x19761d(0x13c)])||_0x19761d(0x10e)]||{},_0x1dff7c[_0x19761d(0xf3)]['query']||{});_0x1dff7c[_0x19761d(0x111)]={'module':(_0x42be48===null||_0x42be48===void 0x0?void 0x0:_0x42be48['name'])||'','routePath':''+_0x1dff7c[_0x19761d(0xef)],'routeName':_0x19dfda[_0x19761d(0x102)][_0x19761d(0x128)]+'@'+_0x53b0f9[_0x19761d(0xed)],'routeMethod':((_0x53b0f9===null||_0x53b0f9===void 0x0?void 0x0:_0x53b0f9['requestMethod'])||_0x1dff7c['method']||'')[_0x19761d(0x176)](),'routeDescription':(_0x53b0f9===null||_0x53b0f9===void 0x0?void 0x0:_0x53b0f9[_0x19761d(0x125)])||'','filemethod':_0x559ee6+'@'+(_0x53b0f9[_0x19761d(0x15e)]||'')};if(_0x1dff7c&&(_0x53b0f9===null||_0x53b0f9===void 0x0?void 0x0:_0x53b0f9[_0x19761d(0x147)]))try{const _0x1939dc=((_0x3922b3=_0x4c1d86===null||_0x4c1d86===void 0x0?void 0x0:_0x4c1d86[_0x19761d(0x154)])===null||_0x3922b3===void 0x0?void 0x0:_0x3922b3[_0x19761d(0xe5)])&&typeof(_0x1f6898===null||_0x1f6898===void 0x0?void 0x0:_0x1f6898[_0x4c1d86[_0x19761d(0x154)][_0x19761d(0xe5)]])=='string'?JSON[_0x19761d(0x12e)](base64_decode(_0x1f6898[_0x4c1d86[_0x19761d(0x154)][_0x19761d(0xe5)]])||'{}')||{}:((_0x1abd90=_0x1dff7c===null||_0x1dff7c===void 0x0?void 0x0:_0x1dff7c['request'])===null||_0x1abd90===void 0x0?void 0x0:_0x1abd90['headers'])||{};if(!this[_0x19761d(0x15b)][_0x19761d(0xe4)](_0x1939dc))throw new AnnError(ApiError_1['ApiError'][_0x19761d(0x161)]);for(const _0x30fb1d in _0x1939dc||{}){_0x1dff7c['headers'][_0x30fb1d]=_0x1939dc[_0x30fb1d];}}catch(_0x44437c){if(_0x44437c instanceof AnnError)throw _0x44437c;else throw new AnnError(ApiError_1[_0x19761d(0x144)][_0x19761d(0x136)]);}},'around':async _0x34578d=>{const _0x2d43a3=_0x3c5a3c;var _0x3d46c3,_0x409fa9,_0x5a90b7;const _0x513f40=(_0x3d46c3=_0x34578d===null||_0x34578d===void 0x0?void 0x0:_0x34578d[_0x2d43a3(0x170)])===null||_0x3d46c3===void 0x0?void 0x0:_0x3d46c3[core_2[_0x2d43a3(0x150)]];if(_0x513f40&&(_0x53b0f9===null||_0x53b0f9===void 0x0?void 0x0:_0x53b0f9[_0x2d43a3(0x147)])&&((_0x53b0f9===null||_0x53b0f9===void 0x0?void 0x0:_0x53b0f9[_0x2d43a3(0x120)])||typeof(_0x53b0f9===null||_0x53b0f9===void 0x0?void 0x0:_0x53b0f9['intercept'])==_0x2d43a3(0x10f))){if(((_0x409fa9=_0x513f40[_0x2d43a3(0xfb)])===null||_0x409fa9===void 0x0?void 0x0:_0x409fa9['device'])&&((_0x5a90b7=_0x4a3b7c===null||_0x4a3b7c===void 0x0?void 0x0:_0x4a3b7c[_0x513f40['headers'][_0x2d43a3(0xfe)]])===null||_0x5a90b7===void 0x0?void 0x0:_0x5a90b7[_0x2d43a3(0x168)])>0x0)for(const _0x132365 of _0x4a3b7c[_0x513f40['headers']['device']]||[]){if(core_1[_0x2d43a3(0x115)]['isClass'](_0x132365)){const _0x36e292=await _0x513f40['requestContext'][_0x2d43a3(0x126)](_0x132365);typeof(_0x36e292===null||_0x36e292===void 0x0?void 0x0:_0x36e292[_0x2d43a3(0x166)])==_0x2d43a3(0x129)?await _0x36e292[_0x2d43a3(0x166)](_0x513f40,typeof(_0x513f40===null||_0x513f40===void 0x0?void 0x0:_0x513f40[_0x2d43a3(0x15e)])==_0x2d43a3(0x10a)&&(_0x513f40===null||_0x513f40===void 0x0?void 0x0:_0x513f40[_0x2d43a3(0x138)])?_0x513f40[_0x2d43a3(0x15e)][_0x2d43a3(0x176)]()+'@'+(_0x513f40===null||_0x513f40===void 0x0?void 0x0:_0x513f40['_matchedRoute']):undefined,_0x53b0f9)&&await _0x36e292[_0x2d43a3(0xdc)](_0x513f40,typeof(_0x513f40===null||_0x513f40===void 0x0?void 0x0:_0x513f40[_0x2d43a3(0x15e)])==_0x2d43a3(0x10a)&&(_0x513f40===null||_0x513f40===void 0x0?void 0x0:_0x513f40['_matchedRoute'])?_0x513f40[_0x2d43a3(0x15e)]['toLowerCase']()+'@'+(_0x513f40===null||_0x513f40===void 0x0?void 0x0:_0x513f40[_0x2d43a3(0x138)]):undefined,_0x53b0f9):await _0x36e292[_0x2d43a3(0xdc)](_0x513f40,typeof(_0x513f40===null||_0x513f40===void 0x0?void 0x0:_0x513f40[_0x2d43a3(0x15e)])==_0x2d43a3(0x10a)&&(_0x513f40===null||_0x513f40===void 0x0?void 0x0:_0x513f40[_0x2d43a3(0x138)])?_0x513f40[_0x2d43a3(0x15e)]['toLowerCase']()+'@'+(_0x513f40===null||_0x513f40===void 0x0?void 0x0:_0x513f40['_matchedRoute']):undefined,_0x53b0f9);}else core_1[_0x2d43a3(0x115)][_0x2d43a3(0x133)](_0x132365)&&await _0x132365(_0x513f40,typeof(_0x513f40===null||_0x513f40===void 0x0?void 0x0:_0x513f40['method'])=='string'&&(_0x513f40===null||_0x513f40===void 0x0?void 0x0:_0x513f40[_0x2d43a3(0x138)])?_0x513f40['method'][_0x2d43a3(0x176)]()+'@'+(_0x513f40===null||_0x513f40===void 0x0?void 0x0:_0x513f40['_matchedRoute']):undefined,_0x53b0f9);}}return await _0x34578d[_0x2d43a3(0xf4)](..._0x34578d[_0x2d43a3(0x14b)]);},'afterThrow':(_0xd8482e,_0x1c7eb1)=>{throw _0x1c7eb1;}};});}async[a3_0x4a4c12(0x142)](){const _0x3c3b7e=a3_0x4a4c12,_0x40a767=this[_0x3c3b7e(0x13f)]['getConfiguration']();this[_0x3c3b7e(0x100)]['getApplications'](['koa'])[_0x3c3b7e(0xe6)](_0xd267a2=>{const _0x30838f=_0x3c3b7e;(_0xd267a2===null||_0xd267a2===void 0x0?void 0x0:_0xd267a2[_0x30838f(0x11b)])&&Object['defineProperties'](_0xd267a2[_0x30838f(0x11b)],{'hosturl':{'configurable':![],'get':function(){const _0x576e76=_0x30838f;var _0x4b4af0,_0x8bf097,_0x26b132,_0x116f3b;if((this===null||this===void 0x0?void 0x0:this[_0x576e76(0xeb)])&&!this[_0x576e76(0xeb)][_0x576e76(0x153)](_0x576e76(0x158))){let _0xe01bd4=this[_0x576e76(0xeb)][_0x576e76(0xe8)](':');return['80',_0x576e76(0x16f)][_0x576e76(0xfd)](_0xe01bd4===null||_0xe01bd4===void 0x0?void 0x0:_0xe01bd4[0x1])?''+(!!((_0x8bf097=(_0x4b4af0=this===null||this===void 0x0?void 0x0:this[_0x576e76(0xde)])===null||_0x4b4af0===void 0x0?void 0x0:_0x4b4af0[_0x576e76(0xd9)])===null||_0x8bf097===void 0x0?void 0x0:_0x8bf097['encrypted'])||(_0xe01bd4===null||_0xe01bd4===void 0x0?void 0x0:_0xe01bd4[0x1])==_0x576e76(0x16f)?_0x576e76(0xe2):_0x576e76(0x165))+_0xe01bd4[0x0]:''+(!!((_0x116f3b=(_0x26b132=this===null||this===void 0x0?void 0x0:this['req'])===null||_0x26b132===void 0x0?void 0x0:_0x26b132[_0x576e76(0xd9)])===null||_0x116f3b===void 0x0?void 0x0:_0x116f3b[_0x576e76(0x107)])?_0x576e76(0xe2):_0x576e76(0x165))+this[_0x576e76(0xeb)];}return'';}},'ok':{'value':function(_0x6a7e55,_0x5c654a,_0x34ec04=0x0){return{'code':_0x34ec04,'data':_0x6a7e55,'extra':_0x5c654a};}},'input':{'value':function(_0x17f517,_0x11bfdf){const _0x52a7f0=_0x30838f;var _0x30ed27;const _0x5e8259=lodash[_0x52a7f0(0x12c)]({},this[_0x52a7f0(0xf3)][_0x52a7f0(0x10e)]||this['request'][((_0x30ed27=_0x40a767===null||_0x40a767===void 0x0?void 0x0:_0x40a767[_0x52a7f0(0x116)])===null||_0x30ed27===void 0x0?void 0x0:_0x30ed27[_0x52a7f0(0x13c)])||_0x52a7f0(0x10e)]||{},this[_0x52a7f0(0xf3)][_0x52a7f0(0xdf)]||{});return _0x17f517?lodash['get'](_0x5e8259,_0x17f517,_0x11bfdf):_0x5e8259;}},'when':{'value':async function(_0x5c06df,_0x2dd010){const _0xdefc17=_0x30838f,_0x5cb78c=this['input'](_0x5c06df,null);if(!lodash[_0xdefc17(0x123)](_0x5cb78c))return await _0x2dd010(_0x5cb78c);}},'only':{'value':function(_0x592caf){const _0x3e07d7=_0x30838f,_0x3c8f48={};for(let _0x56ead9=0x0;_0x56ead9<_0x592caf['length'];_0x56ead9++){lodash['isArray'](_0x592caf[_0x56ead9])&&_0x592caf[_0x56ead9][_0x3e07d7(0x168)]>0x0&&lodash[_0x3e07d7(0x175)](_0x592caf[_0x56ead9][0x0])&&(_0x3c8f48[_0x592caf[_0x56ead9][0x0]]=this[_0x3e07d7(0x13d)](_0x592caf[_0x56ead9][0x0],_0x592caf[_0x56ead9][_0x3e07d7(0x168)]>0x1?_0x592caf[_0x56ead9][0x1]:null));}return _0x3c8f48;}},'koasend':{'value':async function(_0x4a3551,_0x24037d){const _0x38f1ea=_0x30838f;if(_0x4a3551&&!fs['existsSync'](_0x4a3551)&&!fs[_0x38f1ea(0xe9)](this[_0x38f1ea(0x112)][_0x38f1ea(0x171)]()+'/'+_0x4a3551))return _0x38f1ea(0x169);return _0x4a3551=fs[_0x38f1ea(0xe9)](_0x4a3551)?_0x4a3551:this[_0x38f1ea(0x112)][_0x38f1ea(0x171)]()+'/'+_0x4a3551,this[_0x38f1ea(0x177)](_0x24037d||_0x4a3551),await koasend(this,_0x4a3551);}}});});}async[a3_0x4a4c12(0x172)](){const _0x4511e1=a3_0x4a4c12;var _0x4f16d8;if(fs['existsSync'](this[_0x4511e1(0x112)]['getBaseDir']()+_0x4511e1(0x124))&&fs[_0x4511e1(0xf9)](this[_0x4511e1(0x112)][_0x4511e1(0x118)]()+_0x4511e1(0x124))[_0x4511e1(0x12a)]()){const _0xd4d333=this[_0x4511e1(0x13f)][_0x4511e1(0x162)](),_0x517a6b=((_0x4f16d8=_0xd4d333===null||_0xd4d333===void 0x0?void 0x0:_0xd4d333[_0x4511e1(0xf0)])===null||_0x4f16d8===void 0x0?void 0x0:_0x4f16d8[_0x4511e1(0x16b)])||{};!fs[_0x4511e1(0xe9)](this[_0x4511e1(0x112)][_0x4511e1(0x118)]()+_0x4511e1(0xee))&&(_0x517a6b[_0x4511e1(0x112)]={'lazyLoad':!![],'enableJSON':!![],'enableConsole':this[_0x4511e1(0x173)][_0x4511e1(0x10b)](),'fileLogName':_0x4511e1(0x14e),'dir':path[_0x4511e1(0xdb)](this['app'][_0x4511e1(0x171)](),'runtime',_0x4511e1(0x112))});!fs['existsSync'](this[_0x4511e1(0x112)][_0x4511e1(0x118)]()+_0x4511e1(0x12f))&&(_0x517a6b[_0x4511e1(0x132)]={'lazyLoad':!![],'enableJSON':!![],'enableConsole':this[_0x4511e1(0x173)][_0x4511e1(0x10b)](),'fileLogName':'basic.log','dir':path[_0x4511e1(0xdb)](this[_0x4511e1(0x112)][_0x4511e1(0x171)](),_0x4511e1(0x11f),_0x4511e1(0x132))});for(const _0x4eba5c of fs[_0x4511e1(0x12b)](this[_0x4511e1(0x112)][_0x4511e1(0x118)]()+_0x4511e1(0x124))){if(!fs[_0x4511e1(0xf9)](this['app']['getBaseDir']()+'/apps/'+_0x4eba5c)[_0x4511e1(0x12a)]())continue;!(_0x517a6b===null||_0x517a6b===void 0x0?void 0x0:_0x517a6b[_0x4eba5c])&&(_0x517a6b[_0x4eba5c]={'lazyLoad':!![],'enableJSON':!![],'enableConsole':this[_0x4511e1(0x173)]['isDevelopmentEnvironment'](),'fileLogName':_0x4eba5c+'.log','dir':path[_0x4511e1(0xdb)](this[_0x4511e1(0x112)][_0x4511e1(0x171)](),'runtime',_0x4511e1(0x174)+_0x4eba5c)}),this[_0x4511e1(0x151)][_0x4511e1(0xf7)](_0x4eba5c,_0x517a6b[_0x4eba5c]);}Object[_0x4511e1(0x179)](_0x517a6b)[_0x4511e1(0x168)]>0x0&&(!_0xd4d333[_0x4511e1(0xf0)]&&(_0xd4d333['midwayLogger']={'default':{'maxSize':'1m','maxFiles':_0x4511e1(0x15c),'dir':path['join'](this[_0x4511e1(0x112)][_0x4511e1(0x171)](),_0x4511e1(0x11f))}}),_0xd4d333['midwayLogger'][_0x4511e1(0x16b)]=_0x517a6b),this['config'][_0x4511e1(0x110)](_0xd4d333);}}async[a3_0x4a4c12(0xf6)](){const _0x289026=a3_0x4a4c12;var _0x4c3037,_0x592e15,_0x553777,_0x45e4de,_0x2ecfb2,_0x19cc52;const _0x2d3155=this['config'][_0x289026(0x162)]();((_0x592e15=(_0x4c3037=_0x2d3155===null||_0x2d3155===void 0x0?void 0x0:_0x2d3155[_0x289026(0x154)])===null||_0x4c3037===void 0x0?void 0x0:_0x4c3037[_0x289026(0x141)])===null||_0x592e15===void 0x0?void 0x0:_0x592e15[_0x289026(0x152)])&&Object['keys'](_0x2d3155[_0x289026(0x154)][_0x289026(0x141)])[_0x289026(0x168)]>0x1&&delete _0x2d3155[_0x289026(0x154)][_0x289026(0x141)]['DEFAULT'];if((_0x553777=_0x2d3155===null||_0x2d3155===void 0x0?void 0x0:_0x2d3155[_0x289026(0x108)])===null||_0x553777===void 0x0?void 0x0:_0x553777['dirs'])for(const _0x1e2c28 in _0x2d3155[_0x289026(0x108)][_0x289026(0xf2)]){((_0x45e4de=_0x2d3155[_0x289026(0x108)][_0x289026(0xf2)][_0x1e2c28])===null||_0x45e4de===void 0x0?void 0x0:_0x45e4de['dir'])&&typeof((_0x2ecfb2=_0x2d3155['staticFile'][_0x289026(0xf2)][_0x1e2c28])===null||_0x2ecfb2===void 0x0?void 0x0:_0x2ecfb2[_0x289026(0xda)])==_0x289026(0x10a)&&!fs[_0x289026(0xe9)](_0x2d3155[_0x289026(0x108)][_0x289026(0xf2)][_0x1e2c28][_0x289026(0xda)])&&(fs['mkdirSync'](_0x2d3155[_0x289026(0x108)][_0x289026(0xf2)][_0x1e2c28][_0x289026(0xda)],{'recursive':!![]}),console[_0x289026(0x12d)](_0x289026(0xff)+_0x2d3155[_0x289026(0x108)][_0x289026(0xf2)][_0x1e2c28]['dir']));}((_0x19cc52=_0x2d3155===null||_0x2d3155===void 0x0?void 0x0:_0x2d3155['upload'])===null||_0x19cc52===void 0x0?void 0x0:_0x19cc52[_0x289026(0x11e)])&&!fs[_0x289026(0xe9)](_0x2d3155['upload'][_0x289026(0x11e)])&&(fs['mkdirSync'](_0x2d3155['upload'][_0x289026(0x11e)],{'recursive':!![]}),console['log'](_0x289026(0x103)+_0x2d3155[_0x289026(0xe1)][_0x289026(0x11e)])),this['config'][_0x289026(0x110)](_0x2d3155);}};exports[a3_0x4a4c12(0xe7)]=CustomConfiguration,__decorate([(0x0,core_1[a3_0x4a4c12(0x104)])(),__metadata('design:type',Object)],CustomConfiguration[a3_0x4a4c12(0x16d)],'app',void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a3_0x4a4c12(0x156),core_2[a3_0x4a4c12(0xe3)])],CustomConfiguration[a3_0x4a4c12(0x16d)],a3_0x4a4c12(0x13f),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a3_0x4a4c12(0x156),core_2[a3_0x4a4c12(0x10d)])],CustomConfiguration[a3_0x4a4c12(0x16d)],a3_0x4a4c12(0x143),void 0x0),__decorate([(0x0,core_1[a3_0x4a4c12(0x11a)])(),__metadata(a3_0x4a4c12(0x156),core_2['MidwayApplicationManager'])],CustomConfiguration[a3_0x4a4c12(0x16d)],a3_0x4a4c12(0x100),void 0x0),__decorate([(0x0,core_1[a3_0x4a4c12(0x11a)])(),__metadata(a3_0x4a4c12(0x156),core_2[a3_0x4a4c12(0x163)])],CustomConfiguration['prototype'],'environment',void 0x0),__decorate([(0x0,core_1[a3_0x4a4c12(0x11a)])(),__metadata(a3_0x4a4c12(0x156),core_1[a3_0x4a4c12(0x149)])],CustomConfiguration[a3_0x4a4c12(0x16d)],a3_0x4a4c12(0x151),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a3_0x4a4c12(0x156),ApiService_1[a3_0x4a4c12(0x15b)])],CustomConfiguration[a3_0x4a4c12(0x16d)],a3_0x4a4c12(0x15b),void 0x0),exports[a3_0x4a4c12(0xe7)]=CustomConfiguration=__decorate([(0x0,core_1[a3_0x4a4c12(0x135)])({'imports':[koa,upload,staticFile,crossDomain,anncic,anncicCache,anncicEvent,anncicTypeorm,anncicValidator,anncicHelper],'namespace':a3_0x4a4c12(0x139),'conflictCheck':![],'importConfigs':[{'default':ConfigDefault,'production':ConfigProduction}]})],CustomConfiguration);
1
+ const a3_0x37091e=a3_0x3530;(function(_0x1c5528,_0x4a0831){const _0x17f062=a3_0x3530,_0x216c7b=_0x1c5528();while(!![]){try{const _0x4e29fd=-parseInt(_0x17f062(0x1a0))/0x1+-parseInt(_0x17f062(0x151))/0x2+-parseInt(_0x17f062(0x15e))/0x3+-parseInt(_0x17f062(0x198))/0x4*(-parseInt(_0x17f062(0x19b))/0x5)+-parseInt(_0x17f062(0x1d3))/0x6+parseInt(_0x17f062(0x1a8))/0x7+-parseInt(_0x17f062(0x146))/0x8*(-parseInt(_0x17f062(0x179))/0x9);if(_0x4e29fd===_0x4a0831)break;else _0x216c7b['push'](_0x216c7b['shift']());}catch(_0xab4b3){_0x216c7b['push'](_0x216c7b['shift']());}}}(a3_0x1db3,0x5ee46));function a3_0x3530(_0x56261b,_0x470e25){const _0xa7c0e4=a3_0x1db3();return a3_0x3530=function(_0x2cd0b8,_0x1754bb){_0x2cd0b8=_0x2cd0b8-0x140;let _0x1db3e6=_0xa7c0e4[_0x2cd0b8];return _0x1db3e6;},a3_0x3530(_0x56261b,_0x470e25);}const a3_0x1754bb=(function(){let _0x1a1eae=!![];return function(_0x74a8da,_0x487235){const _0x5092b8=_0x1a1eae?function(){const _0x9136a4=a3_0x3530;if(_0x487235){const _0x1465f8=_0x487235[_0x9136a4(0x19d)](_0x74a8da,arguments);return _0x487235=null,_0x1465f8;}}:function(){};return _0x1a1eae=![],_0x5092b8;};}()),a3_0x2cd0b8=a3_0x1754bb(this,function(){const _0x427f86=a3_0x3530;return a3_0x2cd0b8[_0x427f86(0x18a)]()[_0x427f86(0x1c1)](_0x427f86(0x18d))[_0x427f86(0x18a)]()[_0x427f86(0x171)](a3_0x2cd0b8)[_0x427f86(0x1c1)](_0x427f86(0x18d));});a3_0x2cd0b8();'use strict';var __decorate=this&&this[a3_0x37091e(0x176)]||function(_0x4ee62b,_0x3334b3,_0x437217,_0x4c0e6a){const _0x572f4a=a3_0x37091e;var _0x5a78fa=arguments['length'],_0x53f882=_0x5a78fa<0x3?_0x3334b3:_0x4c0e6a===null?_0x4c0e6a=Object[_0x572f4a(0x1c7)](_0x3334b3,_0x437217):_0x4c0e6a,_0x19c4f4;if(typeof Reflect===_0x572f4a(0x14e)&&typeof Reflect['decorate']==='function')_0x53f882=Reflect[_0x572f4a(0x164)](_0x4ee62b,_0x3334b3,_0x437217,_0x4c0e6a);else{for(var _0xfe71dc=_0x4ee62b['length']-0x1;_0xfe71dc>=0x0;_0xfe71dc--)if(_0x19c4f4=_0x4ee62b[_0xfe71dc])_0x53f882=(_0x5a78fa<0x3?_0x19c4f4(_0x53f882):_0x5a78fa>0x3?_0x19c4f4(_0x3334b3,_0x437217,_0x53f882):_0x19c4f4(_0x3334b3,_0x437217))||_0x53f882;}return _0x5a78fa>0x3&&_0x53f882&&Object[_0x572f4a(0x142)](_0x3334b3,_0x437217,_0x53f882),_0x53f882;},__metadata=this&&this[a3_0x37091e(0x14a)]||function(_0x235774,_0x3f8777){const _0x34cd54=a3_0x37091e;if(typeof Reflect===_0x34cd54(0x14e)&&typeof Reflect[_0x34cd54(0x141)]===_0x34cd54(0x182))return Reflect[_0x34cd54(0x141)](_0x235774,_0x3f8777);};Object['defineProperty'](exports,a3_0x37091e(0x184),{'value':!![]}),exports['CustomConfiguration']=void 0x0;function a3_0x1db3(){const _0x429bcc=['join','/apps','http://','checksign','host','toString','getAsync','log','(((.+)+)+)+$','addObject','device','req','devices','http','app','Inject','length','runtime','target','1497040FFNDvg','keys','isArray','5nDuiWY','statSync','apply','getConfiguration','parse','229691HwUUmL','existsSync','@anncic-api/cache','isNull','request','basic','koa-send','HEADERS_SIGNATURE','2980565JUGyQB','@midwayjs/koa','undefined','includes','MidwayEnvironmentService','prototype','tagName','toLowerCase','Anncic-api\x20upload-tmpdir\x20:\x20mkdir\x20','loggerConfig','dirs','loggerService','hanlderApplications','apimit','/basic','/apps/','application','dir','app.log','App','./config/config.production','readdirSync','handlerActionRoute','isClass','clients','search','@midwayjs/core','getClassMetadata','query','MidwayDecoratorService','string','getOwnPropertyDescriptor','key','INTERCEPT_KEY','anncic-api','_matchedRoute','@midwayjs/busboy','./config/config.default','path','MidwayApplicationManager','headers','AppsConfigTmp','mkdirSync','4142766BGfPCw','handler','match','filepath','requestMethod','/app','metadata','defineProperty','config','environment','DEFAULT','3927072aHTlij','@midwayjs/static-file','@midwayjs/cross-domain','module','__metadata','onReady','method','MidwayConfigService','object','isString','getAppDir','1288602uALKZj','intercept','split','443','getBaseDir','./types/action','input','Configuration','REQUEST_OBJ_CTX_KEY','decorator','isDevelopmentEnvironment','connection','staticFile','958728WPEssI','https://','basic.log','ApiService','MidwayLoggerService','createLogger','decorate','@anncic-api/core','midwayLogger','anncicapi','bodyXml','forEach','isDirectory','body','isFunction','attachment','upload','ApiError','ACTION_KEY','constructor','defineProperties','design:type','./service/ApiService','requestKey','__decorate','description','requestContext','27UuGOLN','tmpdir','apps-','args','defaultsDeep','filterConfig','encrypted','Types','./exception/ApiError','function','ACTION_ROUTE_KEY','__esModule'];a3_0x1db3=function(){return _0x429bcc;};return a3_0x1db3();}const core_1=require(a3_0x37091e(0x1c2)),core_2=require(a3_0x37091e(0x1c2)),ApiError_1=require(a3_0x37091e(0x181)),ApiService_1=require(a3_0x37091e(0x174)),intercept_1=require('./types/intercept'),action_1=require(a3_0x37091e(0x156)),fs=require('fs'),path=require('path'),koasend=require(a3_0x37091e(0x1a6)),koa=require(a3_0x37091e(0x1a9)),upload=require(a3_0x37091e(0x1cc)),staticFile=require(a3_0x37091e(0x147)),crossDomain=require(a3_0x37091e(0x148)),ConfigDefault=require(a3_0x37091e(0x1cd)),ConfigProduction=require(a3_0x37091e(0x1bc)),anncic=require(a3_0x37091e(0x165)),anncicCache=require(a3_0x37091e(0x1a2)),anncicEvent=require('@anncic-api/event'),anncicTypeorm=require('@anncic-api/typeorm'),anncicValidator=require('@anncic-api/validator'),anncicHelper=require('anncic-apihelper');let CustomConfiguration=class CustomConfiguration{async[a3_0x37091e(0x14b)](){const _0x1cac5f=a3_0x37091e;await this[_0x1cac5f(0x17e)](),await this[_0x1cac5f(0x1b1)](),await this['handlerActionRoute'](),await this['hanlderApplications']();}async[a3_0x37091e(0x1be)](){const _0x512372=a3_0x37091e,_0x97c8be=this[_0x512372(0x143)]['getConfiguration'](),_0x1f3165=(0x0,core_1[_0x512372(0x1c3)])(intercept_1[_0x512372(0x1c9)],intercept_1['InterceptTargetTmp'])||{};this['decorator']['registerMethodHandler'](action_1[_0x512372(0x183)],_0x303595=>{const _0x15d1ed=_0x512372;var _0x32ac8b;const _0x2abedc=(0x0,core_1[_0x15d1ed(0x1c3)])(action_1['APPSCONFIG_KEY'],action_1[_0x15d1ed(0x1d1)])||{},_0x498f00=_0x303595[_0x15d1ed(0x141)],_0x45b163=(0x0,core_1[_0x15d1ed(0x1c3)])(action_1[_0x15d1ed(0x170)],_0x303595[_0x15d1ed(0x197)])||{},_0x141437=((_0x32ac8b=_0x45b163===null||_0x45b163===void 0x0?void 0x0:_0x45b163[_0x15d1ed(0x1d6)])===null||_0x32ac8b===void 0x0?void 0x0:_0x32ac8b['substring'](0x0,_0x45b163['filepath']['lastIndexOf']('.')))||'',_0x27dd20=(_0x45b163===null||_0x45b163===void 0x0?void 0x0:_0x45b163['module'])?(_0x2abedc===null||_0x2abedc===void 0x0?void 0x0:_0x2abedc[_0x45b163[_0x15d1ed(0x149)]])||{}:{};return{'before':async _0x2ae167=>{const _0x2066a2=_0x15d1ed;var _0x49e009,_0x253e55,_0x51a557,_0x2de429;const _0x4e0adf=(_0x49e009=_0x2ae167===null||_0x2ae167===void 0x0?void 0x0:_0x2ae167[_0x2066a2(0x197)])===null||_0x49e009===void 0x0?void 0x0:_0x49e009[core_2[_0x2066a2(0x159)]],_0x50d03c=lodash[_0x2066a2(0x17d)]({},_0x4e0adf['request'][_0x2066a2(0x16b)]||_0x4e0adf[_0x2066a2(0x1a4)][((_0x253e55=_0x97c8be===null||_0x97c8be===void 0x0?void 0x0:_0x97c8be[_0x2066a2(0x168)])===null||_0x253e55===void 0x0?void 0x0:_0x253e55['key'])||'body']||{},_0x4e0adf[_0x2066a2(0x1a4)][_0x2066a2(0x1c4)]||{});_0x4e0adf['_matchedRouteMeta']={'module':(_0x27dd20===null||_0x27dd20===void 0x0?void 0x0:_0x27dd20['name'])||'','routePath':''+_0x4e0adf[_0x2066a2(0x1ce)],'routeName':_0x45b163['routerOptions'][_0x2066a2(0x1ae)]+'@'+_0x498f00['routerName'],'routeMethod':((_0x498f00===null||_0x498f00===void 0x0?void 0x0:_0x498f00[_0x2066a2(0x1d7)])||_0x4e0adf[_0x2066a2(0x14c)]||'')[_0x2066a2(0x1af)](),'routeDescription':(_0x498f00===null||_0x498f00===void 0x0?void 0x0:_0x498f00[_0x2066a2(0x177)])||'','filemethod':_0x141437+'@'+(_0x498f00[_0x2066a2(0x14c)]||'')};if(_0x4e0adf&&(_0x498f00===null||_0x498f00===void 0x0?void 0x0:_0x498f00['apimit']))try{const _0x7ff98a=((_0x51a557=_0x97c8be===null||_0x97c8be===void 0x0?void 0x0:_0x97c8be['anncicapi'])===null||_0x51a557===void 0x0?void 0x0:_0x51a557[_0x2066a2(0x175)])&&typeof(_0x50d03c===null||_0x50d03c===void 0x0?void 0x0:_0x50d03c[_0x97c8be[_0x2066a2(0x167)][_0x2066a2(0x175)]])==_0x2066a2(0x1c6)?JSON[_0x2066a2(0x19f)](base64_decode(_0x50d03c[_0x97c8be['anncicapi']['requestKey']])||'{}')||{}:((_0x2de429=_0x4e0adf===null||_0x4e0adf===void 0x0?void 0x0:_0x4e0adf[_0x2066a2(0x1a4)])===null||_0x2de429===void 0x0?void 0x0:_0x2de429[_0x2066a2(0x1d0)])||{};if(!this[_0x2066a2(0x161)][_0x2066a2(0x188)](_0x7ff98a))throw new AnnError(ApiError_1['ApiError'][_0x2066a2(0x1a7)]);for(const _0x416bd5 in _0x7ff98a||{}){_0x4e0adf[_0x2066a2(0x1d0)][_0x416bd5]=_0x7ff98a[_0x416bd5];}}catch(_0x39e89b){if(_0x39e89b instanceof AnnError)throw _0x39e89b;else throw new AnnError(ApiError_1[_0x2066a2(0x16f)]['_UNKNOW_']);}},'around':async _0x1861ad=>{const _0x321c19=_0x15d1ed;var _0x4b21e8,_0x520c25,_0x14ff61;const _0x193380=(_0x4b21e8=_0x1861ad===null||_0x1861ad===void 0x0?void 0x0:_0x1861ad[_0x321c19(0x197)])===null||_0x4b21e8===void 0x0?void 0x0:_0x4b21e8[core_2[_0x321c19(0x159)]];if(_0x193380&&(_0x498f00===null||_0x498f00===void 0x0?void 0x0:_0x498f00[_0x321c19(0x1b5)])&&((_0x498f00===null||_0x498f00===void 0x0?void 0x0:_0x498f00[_0x321c19(0x152)])||typeof(_0x498f00===null||_0x498f00===void 0x0?void 0x0:_0x498f00[_0x321c19(0x152)])==_0x321c19(0x1aa))){if(((_0x520c25=_0x193380[_0x321c19(0x1d0)])===null||_0x520c25===void 0x0?void 0x0:_0x520c25['device'])&&((_0x14ff61=_0x1f3165===null||_0x1f3165===void 0x0?void 0x0:_0x1f3165[_0x193380[_0x321c19(0x1d0)][_0x321c19(0x18f)]])===null||_0x14ff61===void 0x0?void 0x0:_0x14ff61[_0x321c19(0x195)])>0x0)for(const _0x24162d of _0x1f3165[_0x193380['headers'][_0x321c19(0x18f)]]||[]){if(core_1[_0x321c19(0x180)][_0x321c19(0x1bf)](_0x24162d)){const _0x4ffa89=await _0x193380[_0x321c19(0x178)][_0x321c19(0x18b)](_0x24162d);typeof(_0x4ffa89===null||_0x4ffa89===void 0x0?void 0x0:_0x4ffa89[_0x321c19(0x1d5)])==_0x321c19(0x182)?await _0x4ffa89[_0x321c19(0x1d5)](_0x193380,typeof(_0x193380===null||_0x193380===void 0x0?void 0x0:_0x193380[_0x321c19(0x14c)])==_0x321c19(0x1c6)&&(_0x193380===null||_0x193380===void 0x0?void 0x0:_0x193380['_matchedRoute'])?_0x193380[_0x321c19(0x14c)][_0x321c19(0x1af)]()+'@'+(_0x193380===null||_0x193380===void 0x0?void 0x0:_0x193380[_0x321c19(0x1cb)]):undefined,_0x498f00)&&await _0x4ffa89[_0x321c19(0x1d4)](_0x193380,typeof(_0x193380===null||_0x193380===void 0x0?void 0x0:_0x193380[_0x321c19(0x14c)])==_0x321c19(0x1c6)&&(_0x193380===null||_0x193380===void 0x0?void 0x0:_0x193380[_0x321c19(0x1cb)])?_0x193380['method'][_0x321c19(0x1af)]()+'@'+(_0x193380===null||_0x193380===void 0x0?void 0x0:_0x193380['_matchedRoute']):undefined,_0x498f00):await _0x4ffa89['handler'](_0x193380,typeof(_0x193380===null||_0x193380===void 0x0?void 0x0:_0x193380['method'])==_0x321c19(0x1c6)&&(_0x193380===null||_0x193380===void 0x0?void 0x0:_0x193380[_0x321c19(0x1cb)])?_0x193380[_0x321c19(0x14c)][_0x321c19(0x1af)]()+'@'+(_0x193380===null||_0x193380===void 0x0?void 0x0:_0x193380['_matchedRoute']):undefined,_0x498f00);}else core_1[_0x321c19(0x180)][_0x321c19(0x16c)](_0x24162d)&&await _0x24162d(_0x193380,typeof(_0x193380===null||_0x193380===void 0x0?void 0x0:_0x193380['method'])==_0x321c19(0x1c6)&&(_0x193380===null||_0x193380===void 0x0?void 0x0:_0x193380[_0x321c19(0x1cb)])?_0x193380['method'][_0x321c19(0x1af)]()+'@'+(_0x193380===null||_0x193380===void 0x0?void 0x0:_0x193380[_0x321c19(0x1cb)]):undefined,_0x498f00);}}return await _0x1861ad['proceed'](..._0x1861ad[_0x321c19(0x17c)]);},'afterThrow':(_0x271fa8,_0x2250ba)=>{throw _0x2250ba;}};});}async[a3_0x37091e(0x1b4)](){const _0x57b43b=a3_0x37091e,_0x49b0f0=this[_0x57b43b(0x143)][_0x57b43b(0x19e)]();this[_0x57b43b(0x1b8)]['getApplications'](['koa'])[_0x57b43b(0x169)](_0x29aa25=>{const _0x4818a2=_0x57b43b;(_0x29aa25===null||_0x29aa25===void 0x0?void 0x0:_0x29aa25['context'])&&Object[_0x4818a2(0x172)](_0x29aa25['context'],{'hosturl':{'configurable':![],'get':function(){const _0x900c8a=_0x4818a2;var _0xe83de8,_0x38c292,_0x52c2a8,_0x1a5822;if((this===null||this===void 0x0?void 0x0:this[_0x900c8a(0x189)])&&!this[_0x900c8a(0x189)]['startsWith'](_0x900c8a(0x192))){let _0x14adff=this[_0x900c8a(0x189)][_0x900c8a(0x153)](':');return['80',_0x900c8a(0x154)][_0x900c8a(0x1ab)](_0x14adff===null||_0x14adff===void 0x0?void 0x0:_0x14adff[0x1])?''+(!!((_0x38c292=(_0xe83de8=this===null||this===void 0x0?void 0x0:this[_0x900c8a(0x190)])===null||_0xe83de8===void 0x0?void 0x0:_0xe83de8[_0x900c8a(0x15c)])===null||_0x38c292===void 0x0?void 0x0:_0x38c292['encrypted'])||(_0x14adff===null||_0x14adff===void 0x0?void 0x0:_0x14adff[0x1])==_0x900c8a(0x154)?_0x900c8a(0x15f):_0x900c8a(0x187))+_0x14adff[0x0]:''+(!!((_0x1a5822=(_0x52c2a8=this===null||this===void 0x0?void 0x0:this['req'])===null||_0x52c2a8===void 0x0?void 0x0:_0x52c2a8['connection'])===null||_0x1a5822===void 0x0?void 0x0:_0x1a5822[_0x900c8a(0x17f)])?'https://':_0x900c8a(0x187))+this[_0x900c8a(0x189)];}return'';}},'ok':{'value':function(_0xf77550,_0x3d5a30,_0x31715b=0x0){return{'code':_0x31715b,'data':_0xf77550,'extra':_0x3d5a30};}},'input':{'value':function(_0x6278cc,_0x5e5851){const _0x57ab8e=_0x4818a2;var _0x12c20a;const _0x45ec91=lodash[_0x57ab8e(0x17d)]({},this[_0x57ab8e(0x1a4)][_0x57ab8e(0x16b)]||this[_0x57ab8e(0x1a4)][((_0x12c20a=_0x49b0f0===null||_0x49b0f0===void 0x0?void 0x0:_0x49b0f0[_0x57ab8e(0x168)])===null||_0x12c20a===void 0x0?void 0x0:_0x12c20a[_0x57ab8e(0x1c8)])||_0x57ab8e(0x16b)]||{},this['request']['query']||{});return _0x6278cc?lodash['get'](_0x45ec91,_0x6278cc,_0x5e5851):_0x45ec91;}},'when':{'value':async function(_0x5536b3,_0x211b30){const _0x40fa3f=_0x4818a2,_0x1cd56f=this[_0x40fa3f(0x157)](_0x5536b3,null);if(!lodash[_0x40fa3f(0x1a3)](_0x1cd56f))return await _0x211b30(_0x1cd56f);}},'only':{'value':function(_0x4aee52){const _0x1e8a2f=_0x4818a2,_0x2e0140={};for(let _0x26655d=0x0;_0x26655d<_0x4aee52['length'];_0x26655d++){lodash[_0x1e8a2f(0x19a)](_0x4aee52[_0x26655d])&&_0x4aee52[_0x26655d][_0x1e8a2f(0x195)]>0x0&&lodash[_0x1e8a2f(0x14f)](_0x4aee52[_0x26655d][0x0])&&(_0x2e0140[_0x4aee52[_0x26655d][0x0]]=this[_0x1e8a2f(0x157)](_0x4aee52[_0x26655d][0x0],_0x4aee52[_0x26655d][_0x1e8a2f(0x195)]>0x1?_0x4aee52[_0x26655d][0x1]:null));}return _0x2e0140;}},'koasend':{'value':async function(_0x46f51b,_0x1326dd){const _0x4925c7=_0x4818a2;if(_0x46f51b&&!fs[_0x4925c7(0x1a1)](_0x46f51b)&&!fs[_0x4925c7(0x1a1)](this[_0x4925c7(0x193)][_0x4925c7(0x150)]()+'/'+_0x46f51b))return'文件不存在';return _0x46f51b=fs[_0x4925c7(0x1a1)](_0x46f51b)?_0x46f51b:this[_0x4925c7(0x193)][_0x4925c7(0x150)]()+'/'+_0x46f51b,this[_0x4925c7(0x16d)](_0x1326dd||_0x46f51b),await koasend(this,_0x46f51b);}}});});}async[a3_0x37091e(0x1b1)](){const _0x25511f=a3_0x37091e;var _0x28f577;if(fs[_0x25511f(0x1a1)](this[_0x25511f(0x193)][_0x25511f(0x155)]()+'/apps')&&fs['statSync'](this[_0x25511f(0x193)]['getBaseDir']()+_0x25511f(0x186))[_0x25511f(0x16a)]()){const _0x12869c=this[_0x25511f(0x143)][_0x25511f(0x19e)](),_0x1c64e3=((_0x28f577=_0x12869c===null||_0x12869c===void 0x0?void 0x0:_0x12869c['midwayLogger'])===null||_0x28f577===void 0x0?void 0x0:_0x28f577[_0x25511f(0x1c0)])||{};!fs[_0x25511f(0x1a1)](this[_0x25511f(0x193)][_0x25511f(0x155)]()+_0x25511f(0x140))&&(_0x1c64e3[_0x25511f(0x193)]={'lazyLoad':!![],'enableJSON':!![],'enableConsole':this[_0x25511f(0x144)]['isDevelopmentEnvironment'](),'fileLogName':_0x25511f(0x1ba),'dir':path[_0x25511f(0x185)](this[_0x25511f(0x193)][_0x25511f(0x150)](),_0x25511f(0x196),_0x25511f(0x193))});!fs[_0x25511f(0x1a1)](this[_0x25511f(0x193)][_0x25511f(0x155)]()+_0x25511f(0x1b6))&&(_0x1c64e3['basic']={'lazyLoad':!![],'enableJSON':!![],'enableConsole':this['environment'][_0x25511f(0x15b)](),'fileLogName':_0x25511f(0x160),'dir':path['join'](this[_0x25511f(0x193)][_0x25511f(0x150)](),_0x25511f(0x196),_0x25511f(0x1a5))});for(const _0x116b3f of fs[_0x25511f(0x1bd)](this[_0x25511f(0x193)][_0x25511f(0x155)]()+_0x25511f(0x186))){if(!fs[_0x25511f(0x19c)](this[_0x25511f(0x193)]['getBaseDir']()+_0x25511f(0x1b7)+_0x116b3f)[_0x25511f(0x16a)]())continue;!(_0x1c64e3===null||_0x1c64e3===void 0x0?void 0x0:_0x1c64e3[_0x116b3f])&&(_0x1c64e3[_0x116b3f]={'lazyLoad':!![],'enableJSON':!![],'enableConsole':this[_0x25511f(0x144)][_0x25511f(0x15b)](),'fileLogName':_0x116b3f+'.log','dir':path[_0x25511f(0x185)](this[_0x25511f(0x193)][_0x25511f(0x150)](),_0x25511f(0x196),_0x25511f(0x17b)+_0x116b3f)}),this[_0x25511f(0x1b3)][_0x25511f(0x163)](_0x116b3f,_0x1c64e3[_0x116b3f]);}Object[_0x25511f(0x199)](_0x1c64e3)[_0x25511f(0x195)]>0x0&&(!_0x12869c[_0x25511f(0x166)]&&(_0x12869c[_0x25511f(0x166)]={'default':{'maxSize':'1m','maxFiles':'270d','dir':path[_0x25511f(0x185)](this[_0x25511f(0x193)][_0x25511f(0x150)](),_0x25511f(0x196))}}),_0x12869c[_0x25511f(0x166)][_0x25511f(0x1c0)]=_0x1c64e3),this[_0x25511f(0x143)]['addObject'](_0x12869c);}}async['filterConfig'](){const _0x464b7d=a3_0x37091e;var _0x344021,_0x1b637c,_0x2460b7,_0x1a1176,_0x10dfc2,_0x365cf3;const _0x1abeae=this[_0x464b7d(0x143)][_0x464b7d(0x19e)]();((_0x1b637c=(_0x344021=_0x1abeae===null||_0x1abeae===void 0x0?void 0x0:_0x1abeae['anncicapi'])===null||_0x344021===void 0x0?void 0x0:_0x344021['devices'])===null||_0x1b637c===void 0x0?void 0x0:_0x1b637c['DEFAULT'])&&Object['keys'](_0x1abeae[_0x464b7d(0x167)][_0x464b7d(0x191)])[_0x464b7d(0x195)]>0x1&&delete _0x1abeae[_0x464b7d(0x167)][_0x464b7d(0x191)][_0x464b7d(0x145)];if((_0x2460b7=_0x1abeae===null||_0x1abeae===void 0x0?void 0x0:_0x1abeae[_0x464b7d(0x15d)])===null||_0x2460b7===void 0x0?void 0x0:_0x2460b7[_0x464b7d(0x1b2)])for(const _0xe235e3 in _0x1abeae[_0x464b7d(0x15d)]['dirs']){((_0x1a1176=_0x1abeae[_0x464b7d(0x15d)][_0x464b7d(0x1b2)][_0xe235e3])===null||_0x1a1176===void 0x0?void 0x0:_0x1a1176[_0x464b7d(0x1b9)])&&typeof((_0x10dfc2=_0x1abeae[_0x464b7d(0x15d)][_0x464b7d(0x1b2)][_0xe235e3])===null||_0x10dfc2===void 0x0?void 0x0:_0x10dfc2['dir'])==_0x464b7d(0x1c6)&&!fs['existsSync'](_0x1abeae['staticFile']['dirs'][_0xe235e3]['dir'])&&(fs[_0x464b7d(0x1d2)](_0x1abeae['staticFile'][_0x464b7d(0x1b2)][_0xe235e3]['dir'],{'recursive':!![]}),console[_0x464b7d(0x18c)]('Anncic-api\x20static-file\x20:\x20mkdir\x20'+_0x1abeae[_0x464b7d(0x15d)][_0x464b7d(0x1b2)][_0xe235e3][_0x464b7d(0x1b9)]));}((_0x365cf3=_0x1abeae===null||_0x1abeae===void 0x0?void 0x0:_0x1abeae[_0x464b7d(0x16e)])===null||_0x365cf3===void 0x0?void 0x0:_0x365cf3[_0x464b7d(0x17a)])&&!fs[_0x464b7d(0x1a1)](_0x1abeae[_0x464b7d(0x16e)][_0x464b7d(0x17a)])&&(fs[_0x464b7d(0x1d2)](_0x1abeae[_0x464b7d(0x16e)]['tmpdir'],{'recursive':!![]}),console['log'](_0x464b7d(0x1b0)+_0x1abeae[_0x464b7d(0x16e)][_0x464b7d(0x17a)])),this['config'][_0x464b7d(0x18e)](_0x1abeae);}};__decorate([(0x0,core_1[a3_0x37091e(0x1bb)])(),__metadata(a3_0x37091e(0x173),Object)],CustomConfiguration[a3_0x37091e(0x1ad)],a3_0x37091e(0x193),void 0x0),__decorate([(0x0,core_1[a3_0x37091e(0x194)])(),__metadata(a3_0x37091e(0x173),core_2[a3_0x37091e(0x14d)])],CustomConfiguration[a3_0x37091e(0x1ad)],a3_0x37091e(0x143),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata('design:type',core_2[a3_0x37091e(0x1c5)])],CustomConfiguration['prototype'],a3_0x37091e(0x15a),void 0x0),__decorate([(0x0,core_1[a3_0x37091e(0x194)])(),__metadata(a3_0x37091e(0x173),core_2[a3_0x37091e(0x1cf)])],CustomConfiguration[a3_0x37091e(0x1ad)],a3_0x37091e(0x1b8),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata('design:type',core_2[a3_0x37091e(0x1ac)])],CustomConfiguration['prototype'],a3_0x37091e(0x144),void 0x0),__decorate([(0x0,core_1[a3_0x37091e(0x194)])(),__metadata('design:type',core_1[a3_0x37091e(0x162)])],CustomConfiguration['prototype'],'loggerService',void 0x0),__decorate([(0x0,core_1[a3_0x37091e(0x194)])(),__metadata(a3_0x37091e(0x173),ApiService_1[a3_0x37091e(0x161)])],CustomConfiguration[a3_0x37091e(0x1ad)],'ApiService',void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a3_0x37091e(0x158)])({'imports':[koa,upload,staticFile,crossDomain,anncic,anncicCache,anncicEvent,anncicTypeorm,anncicValidator,anncicHelper],'namespace':a3_0x37091e(0x1ca),'conflictCheck':![],'importConfigs':[{'default':ConfigDefault,'production':ConfigProduction}]})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;
@@ -1,14 +1,14 @@
1
- import { ActionOption, ActionApiOption } from '../types/action';
2
- export declare function Action(filename: string, tagName: string, routerOptions?: ActionOption): ClassDecorator;
3
- export declare namespace Action {
4
- var get: (routerName: string, path?: string, options?: ActionApiOption) => MethodDecorator;
5
- var post: (routerName: string, path?: string, options?: ActionApiOption) => MethodDecorator;
6
- }
7
- export declare function ActionApi(routerName: string, requestMethod?: "all" | "get" | "post", path?: string, options?: ActionApiOption): MethodDecorator;
8
- export declare function parseRoute(filename: any): {
9
- prefix: boolean | string;
10
- route: string;
11
- module: false | string;
12
- rootpath: string;
13
- filepath: string;
14
- };
1
+ import { ActionOption, ActionApiOption } from '../types/action';
2
+ export declare function Action(filename: string, tagName: string, routerOptions?: ActionOption): ClassDecorator;
3
+ export declare namespace Action {
4
+ var get: (routerName: string, path?: string, options?: ActionApiOption) => MethodDecorator;
5
+ var post: (routerName: string, path?: string, options?: ActionApiOption) => MethodDecorator;
6
+ }
7
+ export declare function ActionApi(routerName: string, requestMethod?: "all" | "get" | "post", path?: string, options?: ActionApiOption): MethodDecorator;
8
+ export declare function parseRoute(filename: any): {
9
+ prefix: boolean | string;
10
+ route: string;
11
+ module: false | string;
12
+ rootpath: string;
13
+ filepath: string;
14
+ };
@@ -1 +1 @@
1
- const a4_0x5a597b=a4_0x47c5;(function(_0xcef29f,_0x594634){const _0x1fed8b=a4_0x47c5,_0x390504=_0xcef29f();while(!![]){try{const _0x2a205b=-parseInt(_0x1fed8b(0x21e))/0x1*(parseInt(_0x1fed8b(0x1e6))/0x2)+parseInt(_0x1fed8b(0x200))/0x3*(parseInt(_0x1fed8b(0x1eb))/0x4)+-parseInt(_0x1fed8b(0x1dd))/0x5+-parseInt(_0x1fed8b(0x203))/0x6*(parseInt(_0x1fed8b(0x1d3))/0x7)+-parseInt(_0x1fed8b(0x1e4))/0x8+parseInt(_0x1fed8b(0x1ea))/0x9+-parseInt(_0x1fed8b(0x1f1))/0xa*(-parseInt(_0x1fed8b(0x21c))/0xb);if(_0x2a205b===_0x594634)break;else _0x390504['push'](_0x390504['shift']());}catch(_0x9c0ca9){_0x390504['push'](_0x390504['shift']());}}}(a4_0x2fbc,0x71590));const a4_0x7bf2af=(function(){let _0x5943c7=!![];return function(_0x26217b,_0xb7e3c8){const _0x147e12=_0x5943c7?function(){const _0x49dc2c=a4_0x47c5;if(_0xb7e3c8){const _0x5235cc=_0xb7e3c8[_0x49dc2c(0x1da)](_0x26217b,arguments);return _0xb7e3c8=null,_0x5235cc;}}:function(){};return _0x5943c7=![],_0x147e12;};}()),a4_0x48b8b0=a4_0x7bf2af(this,function(){const _0x46dac5=a4_0x47c5;return a4_0x48b8b0[_0x46dac5(0x216)]()[_0x46dac5(0x224)]('(((.+)+)+)+$')[_0x46dac5(0x216)]()[_0x46dac5(0x206)](a4_0x48b8b0)['search'](_0x46dac5(0x1d8));});a4_0x48b8b0();'use strict';var _a,_b;function a4_0x2fbc(){const _0xfb6033=['saveModule','AppsConfigTmp','/apps','get','40183zTDrpG','indexOf','8467HjGzEX','MIDWAY_SERVER_ENV','@midwayjs/core','validate','ActionApi','post','search','basic/controller/','replace','263389DEENYx','routerName','getClassMetadata','ACTION_KEY','APPSCONFIG_KEY','(((.+)+)+)+$','@anncic-api/validator','apply','filepath','response','724620SXyrDi','/controller/文件下','NODE_ENV','undefined','defaultsDeep','split','join','6458464Kpvevf','substring','92FOReOd','middlewareIgnore','apimit','prefix','2662344bOLOcr','28RKFJzp','\x20文件请放在apps/','intercept','middleware','module','defineProperty','2690jBrmxi','cwd','toLowerCase','route','env','/config.','description','match','parseRoute','trim','ACTION_RESPONSE_KEY','attachClassMetadata','app/controller/','Controller','Action','338958taxLMW','tagName','__esModule','42ZAsAjn','createCustomMethodDecorator','existsSync','constructor','push','splice','ACTION_ROUTE_KEY','string','filter','startsWith','endsWith','length','apps/','\x20文件请放在app/controller/文件下','/controller/','Validator','/config.default.','saveClassMetadata','values','toString','keys'];a4_0x2fbc=function(){return _0xfb6033;};return a4_0x2fbc();}Object[a4_0x5a597b(0x1f0)](exports,a4_0x5a597b(0x202),{'value':!![]}),exports[a4_0x5a597b(0x1ff)]=Action,exports[a4_0x5a597b(0x222)]=ActionApi,exports[a4_0x5a597b(0x1f9)]=parseRoute;const fs=require('fs'),validator_1=require(a4_0x5a597b(0x1d9)),core_1=require(a4_0x5a597b(0x220)),core_2=require(a4_0x5a597b(0x220)),action_1=require('../types/action'),NODE_ENV=((_a=process===null||process===void 0x0?void 0x0:process[a4_0x5a597b(0x1f5)])===null||_a===void 0x0?void 0x0:_a[a4_0x5a597b(0x21f)])||((_b=process===null||process===void 0x0?void 0x0:process[a4_0x5a597b(0x1f5)])===null||_b===void 0x0?void 0x0:_b[a4_0x5a597b(0x1df)]);function Action(_0x981b6e,_0x90a40f,_0x362687={'middleware':[],'sensitive':!![]}){return _0x493227=>{const _0x55eb5b=a4_0x47c5;var _0xe2b35f;_0x362687[_0x55eb5b(0x201)]=_0x90a40f;const _0x277e52=parseRoute(_0x981b6e);if(_0x277e52[_0x55eb5b(0x1ef)]){_0x362687[_0x55eb5b(0x1e9)]=_0x362687['prefix']?'/'+_0x277e52[_0x55eb5b(0x1ef)]+'/'+_0x362687[_0x55eb5b(0x1e9)]:'/'+_0x277e52[_0x55eb5b(0x1f4)];_0x277e52[_0x55eb5b(0x1e9)]&&(_0x362687[_0x55eb5b(0x1e9)]='/'+_0x277e52[_0x55eb5b(0x1e9)]+'/'+_0x362687['prefix']);_0x362687['prefix']=_0x362687[_0x55eb5b(0x1e9)][_0x55eb5b(0x1f3)]()['replace'](/\/{2,}/g,'/');const _0x8a3470=getModuleConfig(_0x277e52['rootpath']+_0x55eb5b(0x21a),_0x277e52[_0x55eb5b(0x1ef)],lodash[_0x55eb5b(0x20d)](_0x277e52[_0x55eb5b(0x1db)],'ts')?'ts':'js');if(lodash['isArray'](_0x8a3470[_0x55eb5b(0x1ee)])&&_0x8a3470[_0x55eb5b(0x1ee)][_0x55eb5b(0x20e)]>0x0)for(let _0x2f62d5 in _0x8a3470['middleware']){if(((_0xe2b35f=_0x8a3470===null||_0x8a3470===void 0x0?void 0x0:_0x8a3470[_0x55eb5b(0x1e7)])===null||_0xe2b35f===void 0x0?void 0x0:_0xe2b35f[_0x55eb5b(0x20e)])>0x0&&_0x8a3470['middlewareIgnore'][_0x55eb5b(0x21d)](_0x8a3470[_0x55eb5b(0x1ee)][_0x2f62d5])!=-0x1)continue;_0x362687[_0x55eb5b(0x1ee)][_0x55eb5b(0x207)](_0x8a3470[_0x55eb5b(0x1ee)][_0x2f62d5]);}(0x0,core_1[_0x55eb5b(0x218)])(action_1[_0x55eb5b(0x1d6)],_0x493227),(0x0,core_1[_0x55eb5b(0x1fe)])(_0x362687[_0x55eb5b(0x1e9)],_0x362687)(_0x493227),(0x0,core_1[_0x55eb5b(0x214)])(action_1[_0x55eb5b(0x1d6)],{'prefix':_0x362687['prefix'],'pprefix':_0x277e52[_0x55eb5b(0x1e9)],'module':_0x277e52[_0x55eb5b(0x1ef)],'filepath':_0x277e52['filepath'],'routerOptions':_0x362687},_0x493227);}else _0x362687[_0x55eb5b(0x1e9)]=_0x362687[_0x55eb5b(0x1e9)]?'/'+_0x362687[_0x55eb5b(0x1e9)]:'/'+_0x277e52[_0x55eb5b(0x1f4)],_0x277e52[_0x55eb5b(0x1e9)]&&(_0x362687[_0x55eb5b(0x1e9)]='/'+_0x277e52[_0x55eb5b(0x1e9)]+'/'+_0x362687['prefix']),_0x362687[_0x55eb5b(0x1e9)]=_0x362687['prefix'][_0x55eb5b(0x1f3)]()[_0x55eb5b(0x1d2)](/\/{2,}/g,'/'),(0x0,core_1[_0x55eb5b(0x218)])(action_1[_0x55eb5b(0x1d6)],_0x493227),(0x0,core_1[_0x55eb5b(0x1fe)])(_0x362687[_0x55eb5b(0x1e9)],_0x362687)(_0x493227),(0x0,core_1[_0x55eb5b(0x214)])(action_1[_0x55eb5b(0x1d6)],{'prefix':_0x362687['prefix'],'module':_0x277e52[_0x55eb5b(0x1ef)],'pprefix':_0x277e52[_0x55eb5b(0x1e9)],'filepath':_0x277e52[_0x55eb5b(0x1db)],'routerOptions':_0x362687},_0x493227);};}Action[a4_0x5a597b(0x21b)]=function(_0x34c925,_0x4c8bcf='/',_0x5a05f9={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x3d15c1,_0x47541e,_0x4e7564)=>{ActionApi(_0x34c925,'get',_0x4c8bcf,_0x5a05f9)(_0x3d15c1,_0x47541e,_0x4e7564);};},Action[a4_0x5a597b(0x223)]=function(_0x5ee590,_0x3071d2='/',_0x446627={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x32fd24,_0x4d7fde,_0x1eb39a)=>{const _0x372a5e=a4_0x47c5;ActionApi(_0x5ee590,_0x372a5e(0x223),_0x3071d2,_0x446627)(_0x32fd24,_0x4d7fde,_0x1eb39a);};};function ActionApi(_0x2e3971,_0x62ad05=a4_0x5a597b(0x21b),_0x4b5d90='/',_0xd6c4f7={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x98bc95,_0x87a78d,_0x1b3353)=>{const _0x20a6fd=a4_0x47c5;var _0x2fd133,_0x4c657b,_0x32c161;!_0xd6c4f7[_0x20a6fd(0x1ee)]&&(_0xd6c4f7[_0x20a6fd(0x1ee)]=[]);!((_0x2fd133=_0xd6c4f7===null||_0xd6c4f7===void 0x0?void 0x0:_0xd6c4f7[_0x20a6fd(0x221)])===null||_0x2fd133===void 0x0?void 0x0:_0x2fd133['validationOptions'])&&(_0xd6c4f7['validate']={'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':_0x20a6fd(0x20a)}});if(!_0x4b5d90)_0x4b5d90='/';else typeof _0x4b5d90==_0x20a6fd(0x20a)&&(!_0x4b5d90[_0x20a6fd(0x20c)]('/')&&!_0x4b5d90[_0x20a6fd(0x20c)]('-')&&(_0x4b5d90='/'+_0x4b5d90));typeof _0xd6c4f7[_0x20a6fd(0x1e8)]==_0x20a6fd(0x1e0)&&(_0xd6c4f7[_0x20a6fd(0x1e8)]=!![]);if(((_0x4c657b=_0xd6c4f7===null||_0xd6c4f7===void 0x0?void 0x0:_0xd6c4f7[_0x20a6fd(0x1ee)])===null||_0x4c657b===void 0x0?void 0x0:_0x4c657b['length'])>0x0&&((_0x32c161=_0xd6c4f7===null||_0xd6c4f7===void 0x0?void 0x0:_0xd6c4f7[_0x20a6fd(0x1e7)])===null||_0x32c161===void 0x0?void 0x0:_0x32c161['length'])>0x0)for(let _0x479163 in _0xd6c4f7[_0x20a6fd(0x1ee)]){_0xd6c4f7['middlewareIgnore'][_0x20a6fd(0x21d)](_0xd6c4f7[_0x20a6fd(0x1ee)][_0x479163])!==-0x1&&(_0xd6c4f7['middleware'][_0x479163]=null);}_0xd6c4f7[_0x20a6fd(0x1d4)]=_0x2e3971,(0x0,validator_1[_0x20a6fd(0x212)])(_0xd6c4f7[_0x20a6fd(0x221)])(_0x98bc95,_0x87a78d,_0x1b3353),(0x0,core_2['RequestMapping'])(Object['assign'](_0xd6c4f7,{'path':_0x4b5d90,'requestMethod':(_0x62ad05||_0x20a6fd(0x21b))[_0x20a6fd(0x1f3)]()}))(_0x98bc95,_0x87a78d,_0x1b3353),(0x0,core_2['attachClassMetadata'])(action_1[_0x20a6fd(0x209)],{'path':_0x4b5d90,'method':_0x87a78d,'apimit':_0xd6c4f7[_0x20a6fd(0x1e8)],'intercept':_0xd6c4f7[_0x20a6fd(0x1ed)],'routerName':_0xd6c4f7[_0x20a6fd(0x1d4)],'description':_0xd6c4f7[_0x20a6fd(0x1f7)],'middleware':(_0xd6c4f7[_0x20a6fd(0x1ee)]||[])[_0x20a6fd(0x20b)](_0x1dadb5=>!!_0x1dadb5),'requestMethod':(_0x62ad05||'get')[_0x20a6fd(0x1f3)]()},_0x98bc95),(0x0,core_2[_0x20a6fd(0x204)])(action_1['ACTION_ROUTE_KEY'],{'path':_0x4b5d90,'method':_0x87a78d,'apimit':_0xd6c4f7[_0x20a6fd(0x1e8)],'intercept':_0xd6c4f7[_0x20a6fd(0x1ed)],'routerName':_0xd6c4f7[_0x20a6fd(0x1d4)],'description':_0xd6c4f7[_0x20a6fd(0x1f7)],'middleware':(_0xd6c4f7[_0x20a6fd(0x1ee)]||[])[_0x20a6fd(0x20b)](_0x3707a0=>!!_0x3707a0),'requestMethod':(_0x62ad05||_0x20a6fd(0x21b))[_0x20a6fd(0x1f3)]()})(_0x98bc95,_0x87a78d,_0x1b3353),_0xd6c4f7[_0x20a6fd(0x1dc)]&&(0x0,core_2[_0x20a6fd(0x1fc)])(action_1[_0x20a6fd(0x1fb)],{'method':_0x87a78d,..._0xd6c4f7[_0x20a6fd(0x1dc)]},_0x98bc95);};}function parseRoute(_0x15d5dd){const _0x795836=a4_0x5a597b;_0x15d5dd=_0x15d5dd[_0x795836(0x1d2)](/(\\|\/)/g,'/');const _0x907108=process[_0x795836(0x1f2)]()[_0x795836(0x1d2)](/(\\|\/)/g,'/'),_0x431716=_0x15d5dd[_0x795836(0x1e5)](0x0,_0x907108[_0x795836(0x20e)]+_0x15d5dd[_0x795836(0x1e5)](_0x907108[_0x795836(0x20e)]+0x1)[_0x795836(0x21d)]('/')+0x1),_0x10561e=_0x15d5dd[_0x795836(0x1e5)](_0x431716[_0x795836(0x20e)]+0x1)[_0x795836(0x1d2)](/(\\|\/)/g,'/'),_0x3573d2={'route':'','prefix':![],'module':![],'rootpath':_0x431716,'filepath':_0x10561e};if(_0x10561e[_0x795836(0x20c)](_0x795836(0x1fd))||_0x10561e['startsWith'](_0x795836(0x1d1))){const _0xcfad93=_0x10561e[_0x795836(0x1e5)]((_0x10561e['startsWith'](_0x795836(0x1fd))?_0x795836(0x1fd):_0x795836(0x1d1))[_0x795836(0x20e)])[_0x795836(0x1e2)]('/')[_0x795836(0x20b)](_0x4fcfbb=>_0x4fcfbb&&_0x4fcfbb[_0x795836(0x1fa)]());return _0xcfad93['length']>0x1&&(_0x3573d2[_0x795836(0x1e9)]=_0xcfad93[0x0][_0x795836(0x1f3)](),_0xcfad93[_0x795836(0x208)](0x0,0x1)),_0x3573d2[_0x795836(0x1f4)]=('/'+_0xcfad93[_0x795836(0x1e3)]('/'))[_0x795836(0x1d2)](/(\.ts|\.js)$/,'')[_0x795836(0x1d2)](/\/{2,}/g,'/')[_0x795836(0x1f8)](/[\/|A-Z]*[^A-Z]+/g)[_0x795836(0x1e3)]('-')[_0x795836(0x1f3)]()[_0x795836(0x1d2)](/\/\-/g,'/'),_0x3573d2[_0x795836(0x1f4)]['endsWith']('-action')&&(_0x3573d2[_0x795836(0x1f4)]=_0x3573d2[_0x795836(0x1f4)][_0x795836(0x1e5)](0x0,_0x3573d2[_0x795836(0x1f4)]['length']-0x7)),_0x3573d2[_0x795836(0x1f4)][_0x795836(0x20d)]('-controller')&&(_0x3573d2[_0x795836(0x1f4)]=_0x3573d2[_0x795836(0x1f4)]['substring'](0x0,_0x3573d2[_0x795836(0x1f4)]['length']-0xb)),_0x3573d2;}else{if(_0x10561e[_0x795836(0x20c)]('apps/')){const _0x56c318=_0x10561e[_0x795836(0x1e5)](0x0,_0x10561e[_0x795836(0x21d)]('/apps/')+0x5),_0x19bd07=_0x10561e['substring'](_0x56c318[_0x795836(0x20e)]+0x1)[_0x795836(0x1d2)](/(\\|\/)/g,'/')[_0x795836(0x1e2)]('/')[0x0];if(_0x10561e[_0x795836(0x20c)](_0x795836(0x20f)+_0x19bd07+_0x795836(0x211))){const _0x2c0473=_0x10561e['substring']((_0x56c318+'/'+_0x19bd07+_0x795836(0x211))[_0x795836(0x20e)])['split']('/')[_0x795836(0x20b)](_0x2f782d=>_0x2f782d&&_0x2f782d[_0x795836(0x1fa)]());return _0x2c0473[_0x795836(0x20e)]>0x1&&(_0x3573d2['prefix']=_0x2c0473[0x0][_0x795836(0x1f3)](),_0x2c0473[_0x795836(0x208)](0x0,0x1)),_0x3573d2['module']=_0x19bd07,_0x3573d2[_0x795836(0x1f4)]=('/'+_0x19bd07+'/'+_0x2c0473['join']('/'))['replace'](/(\.ts|\.js)$/,'')['replace'](/\/{2,}/g,'/')['match'](/[\/|A-Z]*[^A-Z]+/g)[_0x795836(0x1e3)]('-')[_0x795836(0x1f3)]()[_0x795836(0x1d2)](/\/\-/g,'/'),_0x3573d2['route'][_0x795836(0x20d)]('-action')&&(_0x3573d2['route']=_0x3573d2[_0x795836(0x1f4)]['substring'](0x0,_0x3573d2[_0x795836(0x1f4)][_0x795836(0x20e)]-0x7)),_0x3573d2[_0x795836(0x1f4)][_0x795836(0x20d)]('-controller')&&(_0x3573d2[_0x795836(0x1f4)]=_0x3573d2[_0x795836(0x1f4)]['substring'](0x0,_0x3573d2[_0x795836(0x1f4)][_0x795836(0x20e)]-0xb)),_0x3573d2;}throw new Error(_0x10561e+_0x795836(0x1ec)+_0x19bd07+_0x795836(0x1de));}}throw new Error(_0x10561e+_0x795836(0x210));}function a4_0x47c5(_0x4056d0,_0x3676a0){const _0x13ddc4=a4_0x2fbc();return a4_0x47c5=function(_0x48b8b0,_0x7bf2af){_0x48b8b0=_0x48b8b0-0x1d1;let _0x2fbc02=_0x13ddc4[_0x48b8b0];return _0x2fbc02;},a4_0x47c5(_0x4056d0,_0x3676a0);}const moduleConfigTmp=(0x0,core_1[a4_0x5a597b(0x1d5)])(action_1[a4_0x5a597b(0x1d7)],action_1[a4_0x5a597b(0x219)])||{};function getModuleConfig(_0x4ca494,_0x3a38a8,_0x5a1de3){const _0x3eb53b=a4_0x5a597b;if(Object[_0x3eb53b(0x215)]((moduleConfigTmp===null||moduleConfigTmp===void 0x0?void 0x0:moduleConfigTmp[_0x3a38a8])||{})['length']==0x0){let _0x37f61f={};if(NODE_ENV&&fs['existsSync'](_0x4ca494+'/'+_0x3a38a8+_0x3eb53b(0x1f6)+NODE_ENV+'.'+_0x5a1de3)){const _0x525c3d=include(_0x4ca494+'/'+_0x3a38a8+_0x3eb53b(0x1f6)+NODE_ENV+'.'+_0x5a1de3);Object[_0x3eb53b(0x217)](_0x525c3d)[_0x3eb53b(0x20e)]>0x0&&(_0x37f61f=lodash[_0x3eb53b(0x1e1)](_0x37f61f,_0x525c3d));}if(fs[_0x3eb53b(0x205)](_0x4ca494+'/'+_0x3a38a8+_0x3eb53b(0x213)+_0x5a1de3)){const _0x41dd87=include(_0x4ca494+'/'+_0x3a38a8+_0x3eb53b(0x213)+_0x5a1de3);Object[_0x3eb53b(0x217)](_0x41dd87)[_0x3eb53b(0x20e)]>0x0&&(_0x37f61f=lodash[_0x3eb53b(0x1e1)](_0x37f61f,_0x41dd87));}if(fs['existsSync'](_0x4ca494+'/'+_0x3a38a8+_0x3eb53b(0x1f6)+_0x5a1de3)){const _0x573a73=include(_0x4ca494+'/'+_0x3a38a8+_0x3eb53b(0x1f6)+_0x5a1de3);Object[_0x3eb53b(0x217)](_0x573a73)[_0x3eb53b(0x20e)]>0x0&&(_0x37f61f=lodash['defaultsDeep'](_0x37f61f,_0x573a73));}moduleConfigTmp[_0x3a38a8]=_0x37f61f,(0x0,core_1[_0x3eb53b(0x214)])(action_1['APPSCONFIG_KEY'],moduleConfigTmp,action_1[_0x3eb53b(0x219)]);}return moduleConfigTmp[_0x3a38a8];}
1
+ const a4_0xf1337f=a4_0x559e;(function(_0x544e9b,_0x31da6d){const _0x296b84=a4_0x559e,_0x4a8a16=_0x544e9b();while(!![]){try{const _0x290b6e=parseInt(_0x296b84(0xc5))/0x1*(parseInt(_0x296b84(0xf2))/0x2)+parseInt(_0x296b84(0xc4))/0x3*(-parseInt(_0x296b84(0xb8))/0x4)+parseInt(_0x296b84(0xc6))/0x5*(-parseInt(_0x296b84(0xb7))/0x6)+-parseInt(_0x296b84(0xdc))/0x7*(-parseInt(_0x296b84(0xdf))/0x8)+parseInt(_0x296b84(0xa8))/0x9*(-parseInt(_0x296b84(0xf3))/0xa)+-parseInt(_0x296b84(0xe5))/0xb+-parseInt(_0x296b84(0xe1))/0xc*(-parseInt(_0x296b84(0xd3))/0xd);if(_0x290b6e===_0x31da6d)break;else _0x4a8a16['push'](_0x4a8a16['shift']());}catch(_0x593e0f){_0x4a8a16['push'](_0x4a8a16['shift']());}}}(a4_0x15d6,0x1f473));const a4_0x3e6de9=(function(){let _0x534981=!![];return function(_0x77293b,_0x333871){const _0x5ea57c=_0x534981?function(){const _0x29b678=a4_0x559e;if(_0x333871){const _0x27e768=_0x333871[_0x29b678(0xaf)](_0x77293b,arguments);return _0x333871=null,_0x27e768;}}:function(){};return _0x534981=![],_0x5ea57c;};}()),a4_0x494aaf=a4_0x3e6de9(this,function(){const _0x5c49f6=a4_0x559e;return a4_0x494aaf[_0x5c49f6(0xba)]()[_0x5c49f6(0xb3)](_0x5c49f6(0x9b))['toString']()[_0x5c49f6(0xa6)](a4_0x494aaf)['search'](_0x5c49f6(0x9b));});a4_0x494aaf();'use strict';var _a,_b;Object[a4_0xf1337f(0xdb)](exports,a4_0xf1337f(0xef),{'value':!![]}),exports[a4_0xf1337f(0xab)]=exports['ActionApi']=exports['Action']=void 0x0;const fs=require('fs'),validator_1=require(a4_0xf1337f(0xe4)),core_1=require('@midwayjs/core'),core_2=require(a4_0xf1337f(0xa1)),action_1=require('../types/action'),NODE_ENV=((_a=process===null||process===void 0x0?void 0x0:process['env'])===null||_a===void 0x0?void 0x0:_a[a4_0xf1337f(0xbe)])||((_b=process===null||process===void 0x0?void 0x0:process[a4_0xf1337f(0xe9)])===null||_b===void 0x0?void 0x0:_b[a4_0xf1337f(0xed)]);function Action(_0x22ee20,_0x1fc9b1,_0x1d8efe={'middleware':[],'sensitive':!![]}){return _0x245e30=>{const _0x1e358c=a4_0x559e;var _0x233839;_0x1d8efe[_0x1e358c(0xcb)]=_0x1fc9b1;const _0x38c7ac=parseRoute(_0x22ee20);if(_0x38c7ac['module']){_0x1d8efe['prefix']=_0x1d8efe[_0x1e358c(0xc3)]?'/'+_0x38c7ac[_0x1e358c(0xd1)]+'/'+_0x1d8efe[_0x1e358c(0xc3)]:'/'+_0x38c7ac['route'];_0x38c7ac['prefix']&&(_0x1d8efe[_0x1e358c(0xc3)]='/'+_0x38c7ac[_0x1e358c(0xc3)]+'/'+_0x1d8efe[_0x1e358c(0xc3)]);_0x1d8efe[_0x1e358c(0xc3)]=_0x1d8efe['prefix'][_0x1e358c(0xac)]()[_0x1e358c(0xc1)](/\/{2,}/g,'/');const _0x1a7adc=getModuleConfig(_0x38c7ac[_0x1e358c(0xb5)]+_0x1e358c(0xc0),_0x38c7ac['module'],lodash['endsWith'](_0x38c7ac['filepath'],'ts')?'ts':'js');if(lodash[_0x1e358c(0xa0)](_0x1a7adc[_0x1e358c(0xf4)])&&_0x1a7adc['middleware']['length']>0x0)for(let _0x3333ab in _0x1a7adc[_0x1e358c(0xf4)]){if(((_0x233839=_0x1a7adc===null||_0x1a7adc===void 0x0?void 0x0:_0x1a7adc[_0x1e358c(0xae)])===null||_0x233839===void 0x0?void 0x0:_0x233839[_0x1e358c(0xb0)])>0x0&&_0x1a7adc[_0x1e358c(0xae)]['indexOf'](_0x1a7adc[_0x1e358c(0xf4)][_0x3333ab])!=-0x1)continue;_0x1d8efe['middleware'][_0x1e358c(0xcf)](_0x1a7adc['middleware'][_0x3333ab]);}(0x0,core_1[_0x1e358c(0xd4)])(action_1['ACTION_KEY'],_0x245e30),(0x0,core_1[_0x1e358c(0xb9)])(_0x1d8efe[_0x1e358c(0xc3)],_0x1d8efe)(_0x245e30),(0x0,core_1['saveClassMetadata'])(action_1[_0x1e358c(0xd8)],{'prefix':_0x1d8efe['prefix'],'pprefix':_0x38c7ac[_0x1e358c(0xc3)],'module':_0x38c7ac[_0x1e358c(0xd1)],'filepath':_0x38c7ac[_0x1e358c(0xd0)],'routerOptions':_0x1d8efe},_0x245e30);}else _0x1d8efe['prefix']=_0x1d8efe[_0x1e358c(0xc3)]?'/'+_0x1d8efe[_0x1e358c(0xc3)]:'/'+_0x38c7ac['route'],_0x38c7ac[_0x1e358c(0xc3)]&&(_0x1d8efe['prefix']='/'+_0x38c7ac['prefix']+'/'+_0x1d8efe[_0x1e358c(0xc3)]),_0x1d8efe['prefix']=_0x1d8efe[_0x1e358c(0xc3)][_0x1e358c(0xac)]()[_0x1e358c(0xc1)](/\/{2,}/g,'/'),(0x0,core_1[_0x1e358c(0xd4)])(action_1['ACTION_KEY'],_0x245e30),(0x0,core_1[_0x1e358c(0xb9)])(_0x1d8efe[_0x1e358c(0xc3)],_0x1d8efe)(_0x245e30),(0x0,core_1[_0x1e358c(0xd7)])(action_1[_0x1e358c(0xd8)],{'prefix':_0x1d8efe[_0x1e358c(0xc3)],'module':_0x38c7ac[_0x1e358c(0xd1)],'pprefix':_0x38c7ac[_0x1e358c(0xc3)],'filepath':_0x38c7ac[_0x1e358c(0xd0)],'routerOptions':_0x1d8efe},_0x245e30);};}function a4_0x559e(_0x3477a2,_0x455b17){const _0x4c483b=a4_0x15d6();return a4_0x559e=function(_0x494aaf,_0x3e6de9){_0x494aaf=_0x494aaf-0x9b;let _0x15d66e=_0x4c483b[_0x494aaf];return _0x15d66e;},a4_0x559e(_0x3477a2,_0x455b17);}exports[a4_0xf1337f(0xe0)]=Action,Action['get']=function(_0x5cdbb2,_0x3ed607='/',_0x2df528={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x4fab4b,_0x1bed12,_0x3934e7)=>{const _0x452bcf=a4_0x559e;ActionApi(_0x5cdbb2,_0x452bcf(0xd9),_0x3ed607,_0x2df528)(_0x4fab4b,_0x1bed12,_0x3934e7);};},Action[a4_0xf1337f(0xa7)]=function(_0x35d209,_0x10c47d='/',_0x28d844={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x3bb506,_0x5f6341,_0x59fc33)=>{const _0x3177a8=a4_0x559e;ActionApi(_0x35d209,_0x3177a8(0xa7),_0x10c47d,_0x28d844)(_0x3bb506,_0x5f6341,_0x59fc33);};};function a4_0x15d6(){const _0x1e22e0=['validationOptions','saveClassMetadata','ACTION_KEY','get','undefined','defineProperty','900781DaUYge','getClassMetadata','startsWith','8sQQrYq','Action','479568RtZned','RequestMapping','APPSCONFIG_KEY','@anncic-api/validator','1973312LEVGHz','routerName','keys','values','env','AppsConfigTmp','ACTION_ROUTE_KEY','splice','NODE_ENV','createCustomMethodDecorator','__esModule','route','/config.','270514QkZnHa','30DlxyJu','middleware','cwd','(((.+)+)+)+$','/controller/','Validator','match','endsWith','isArray','@midwayjs/core','substring','response','/controller/文件下','\x20文件请放在app/controller/文件下','constructor','post','353097khaVoO','assign','-action','parseRoute','toLowerCase','apimit','middlewareIgnore','apply','length','apps/','indexOf','search','string','rootpath','trim','6uqKkYE','1516wFUBBN','Controller','toString','ActionApi','app/controller/','split','MIDWAY_SERVER_ENV','join','/apps','replace','description','prefix','1509llqPCL','1fYccrC','438505gEOecE','intercept','-controller','defaultsDeep','filter','tagName','\x20文件请放在apps/','basic/controller/','validate','push','filepath','module','existsSync','143ZeROlM','saveModule','ACTION_RESPONSE_KEY'];a4_0x15d6=function(){return _0x1e22e0;};return a4_0x15d6();}function ActionApi(_0x4e4093,_0x440159=a4_0xf1337f(0xd9),_0x8fdda0='/',_0x579af6={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x140d88,_0x460ff8,_0x185262)=>{const _0x511b5a=a4_0x559e;var _0x5ba421,_0xab314e,_0x42ebd8;!_0x579af6['middleware']&&(_0x579af6['middleware']=[]);!((_0x5ba421=_0x579af6===null||_0x579af6===void 0x0?void 0x0:_0x579af6['validate'])===null||_0x5ba421===void 0x0?void 0x0:_0x5ba421[_0x511b5a(0xd6)])&&(_0x579af6[_0x511b5a(0xce)]={'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':'string'}});if(!_0x8fdda0)_0x8fdda0='/';else typeof _0x8fdda0==_0x511b5a(0xb4)&&(!_0x8fdda0[_0x511b5a(0xde)]('/')&&!_0x8fdda0['startsWith']('-')&&(_0x8fdda0='/'+_0x8fdda0));typeof _0x579af6['apimit']==_0x511b5a(0xda)&&(_0x579af6[_0x511b5a(0xad)]=!![]);if(((_0xab314e=_0x579af6===null||_0x579af6===void 0x0?void 0x0:_0x579af6[_0x511b5a(0xf4)])===null||_0xab314e===void 0x0?void 0x0:_0xab314e[_0x511b5a(0xb0)])>0x0&&((_0x42ebd8=_0x579af6===null||_0x579af6===void 0x0?void 0x0:_0x579af6[_0x511b5a(0xae)])===null||_0x42ebd8===void 0x0?void 0x0:_0x42ebd8[_0x511b5a(0xb0)])>0x0)for(let _0x496e2b in _0x579af6['middleware']){_0x579af6[_0x511b5a(0xae)]['indexOf'](_0x579af6[_0x511b5a(0xf4)][_0x496e2b])!==-0x1&&(_0x579af6['middleware'][_0x496e2b]=null);}_0x579af6['routerName']=_0x4e4093,(0x0,validator_1[_0x511b5a(0x9d)])(_0x579af6[_0x511b5a(0xce)])(_0x140d88,_0x460ff8,_0x185262),(0x0,core_2[_0x511b5a(0xe2)])(Object[_0x511b5a(0xa9)](_0x579af6,{'path':_0x8fdda0,'requestMethod':(_0x440159||_0x511b5a(0xd9))['toLowerCase']()}))(_0x140d88,_0x460ff8,_0x185262),(0x0,core_2['attachClassMetadata'])(action_1[_0x511b5a(0xeb)],{'path':_0x8fdda0,'method':_0x460ff8,'apimit':_0x579af6['apimit'],'intercept':_0x579af6[_0x511b5a(0xc7)],'routerName':_0x579af6[_0x511b5a(0xe6)],'description':_0x579af6[_0x511b5a(0xc2)],'middleware':(_0x579af6['middleware']||[])[_0x511b5a(0xca)](_0x1b598c=>!!_0x1b598c),'requestMethod':(_0x440159||_0x511b5a(0xd9))[_0x511b5a(0xac)]()},_0x140d88),(0x0,core_2[_0x511b5a(0xee)])(action_1['ACTION_ROUTE_KEY'],{'path':_0x8fdda0,'method':_0x460ff8,'apimit':_0x579af6[_0x511b5a(0xad)],'intercept':_0x579af6[_0x511b5a(0xc7)],'routerName':_0x579af6[_0x511b5a(0xe6)],'description':_0x579af6[_0x511b5a(0xc2)],'middleware':(_0x579af6[_0x511b5a(0xf4)]||[])[_0x511b5a(0xca)](_0x4ae4ff=>!!_0x4ae4ff),'requestMethod':(_0x440159||'get')[_0x511b5a(0xac)]()})(_0x140d88,_0x460ff8,_0x185262),_0x579af6[_0x511b5a(0xa3)]&&(0x0,core_2['attachClassMetadata'])(action_1[_0x511b5a(0xd5)],{'method':_0x460ff8,..._0x579af6[_0x511b5a(0xa3)]},_0x140d88);};}exports[a4_0xf1337f(0xbb)]=ActionApi;function parseRoute(_0x48295b){const _0xb80998=a4_0xf1337f;_0x48295b=_0x48295b['replace'](/(\\|\/)/g,'/');const _0x1de897=process[_0xb80998(0xf5)]()['replace'](/(\\|\/)/g,'/'),_0x30c567=_0x48295b['substring'](0x0,_0x1de897[_0xb80998(0xb0)]+_0x48295b[_0xb80998(0xa2)](_0x1de897['length']+0x1)[_0xb80998(0xb2)]('/')+0x1),_0x3d9ac2=_0x48295b[_0xb80998(0xa2)](_0x30c567['length']+0x1)[_0xb80998(0xc1)](/(\\|\/)/g,'/'),_0x18ea48={'route':'','prefix':![],'module':![],'rootpath':_0x30c567,'filepath':_0x3d9ac2};if(_0x3d9ac2['startsWith'](_0xb80998(0xbc))||_0x3d9ac2[_0xb80998(0xde)](_0xb80998(0xcd))){const _0x25b3db=_0x3d9ac2[_0xb80998(0xa2)]((_0x3d9ac2[_0xb80998(0xde)]('app/controller/')?_0xb80998(0xbc):_0xb80998(0xcd))['length'])[_0xb80998(0xbd)]('/')['filter'](_0x1049c5=>_0x1049c5&&_0x1049c5[_0xb80998(0xb6)]());return _0x25b3db[_0xb80998(0xb0)]>0x1&&(_0x18ea48[_0xb80998(0xc3)]=_0x25b3db[0x0]['toLowerCase'](),_0x25b3db[_0xb80998(0xec)](0x0,0x1)),_0x18ea48['route']=('/'+_0x25b3db['join']('/'))[_0xb80998(0xc1)](/(\.ts|\.js)$/,'')[_0xb80998(0xc1)](/\/{2,}/g,'/')[_0xb80998(0x9e)](/[\/|A-Z]*[^A-Z]+/g)[_0xb80998(0xbf)]('-')[_0xb80998(0xac)]()[_0xb80998(0xc1)](/\/\-/g,'/'),_0x18ea48[_0xb80998(0xf0)]['endsWith'](_0xb80998(0xaa))&&(_0x18ea48[_0xb80998(0xf0)]=_0x18ea48[_0xb80998(0xf0)]['substring'](0x0,_0x18ea48[_0xb80998(0xf0)][_0xb80998(0xb0)]-0x7)),_0x18ea48[_0xb80998(0xf0)][_0xb80998(0x9f)]('-controller')&&(_0x18ea48['route']=_0x18ea48['route'][_0xb80998(0xa2)](0x0,_0x18ea48[_0xb80998(0xf0)][_0xb80998(0xb0)]-0xb)),_0x18ea48;}else{if(_0x3d9ac2[_0xb80998(0xde)](_0xb80998(0xb1))){const _0x546e7e=_0x3d9ac2[_0xb80998(0xa2)](0x0,_0x3d9ac2[_0xb80998(0xb2)]('/apps/')+0x5),_0x46d22d=_0x3d9ac2[_0xb80998(0xa2)](_0x546e7e[_0xb80998(0xb0)]+0x1)['replace'](/(\\|\/)/g,'/')[_0xb80998(0xbd)]('/')[0x0];if(_0x3d9ac2[_0xb80998(0xde)](_0xb80998(0xb1)+_0x46d22d+_0xb80998(0x9c))){const _0x172d61=_0x3d9ac2[_0xb80998(0xa2)]((_0x546e7e+'/'+_0x46d22d+_0xb80998(0x9c))[_0xb80998(0xb0)])[_0xb80998(0xbd)]('/')['filter'](_0x28dd94=>_0x28dd94&&_0x28dd94[_0xb80998(0xb6)]());return _0x172d61[_0xb80998(0xb0)]>0x1&&(_0x18ea48[_0xb80998(0xc3)]=_0x172d61[0x0][_0xb80998(0xac)](),_0x172d61[_0xb80998(0xec)](0x0,0x1)),_0x18ea48['module']=_0x46d22d,_0x18ea48['route']=('/'+_0x46d22d+'/'+_0x172d61['join']('/'))[_0xb80998(0xc1)](/(\.ts|\.js)$/,'')[_0xb80998(0xc1)](/\/{2,}/g,'/')[_0xb80998(0x9e)](/[\/|A-Z]*[^A-Z]+/g)[_0xb80998(0xbf)]('-')[_0xb80998(0xac)]()[_0xb80998(0xc1)](/\/\-/g,'/'),_0x18ea48['route']['endsWith'](_0xb80998(0xaa))&&(_0x18ea48[_0xb80998(0xf0)]=_0x18ea48[_0xb80998(0xf0)][_0xb80998(0xa2)](0x0,_0x18ea48[_0xb80998(0xf0)][_0xb80998(0xb0)]-0x7)),_0x18ea48['route'][_0xb80998(0x9f)](_0xb80998(0xc8))&&(_0x18ea48[_0xb80998(0xf0)]=_0x18ea48[_0xb80998(0xf0)][_0xb80998(0xa2)](0x0,_0x18ea48[_0xb80998(0xf0)][_0xb80998(0xb0)]-0xb)),_0x18ea48;}throw new Error(_0x3d9ac2+_0xb80998(0xcc)+_0x46d22d+_0xb80998(0xa4));}}throw new Error(_0x3d9ac2+_0xb80998(0xa5));}exports[a4_0xf1337f(0xab)]=parseRoute;const moduleConfigTmp=(0x0,core_1[a4_0xf1337f(0xdd)])(action_1[a4_0xf1337f(0xe3)],action_1[a4_0xf1337f(0xea)])||{};function getModuleConfig(_0x287f43,_0x59972c,_0x456306){const _0x21169c=a4_0xf1337f;if(Object[_0x21169c(0xe8)]((moduleConfigTmp===null||moduleConfigTmp===void 0x0?void 0x0:moduleConfigTmp[_0x59972c])||{})[_0x21169c(0xb0)]==0x0){let _0x2275d3={};if(NODE_ENV&&fs[_0x21169c(0xd2)](_0x287f43+'/'+_0x59972c+_0x21169c(0xf1)+NODE_ENV+'.'+_0x456306)){const _0x53ca96=include(_0x287f43+'/'+_0x59972c+_0x21169c(0xf1)+NODE_ENV+'.'+_0x456306);Object['keys'](_0x53ca96)[_0x21169c(0xb0)]>0x0&&(_0x2275d3=lodash[_0x21169c(0xc9)](_0x2275d3,_0x53ca96));}if(fs[_0x21169c(0xd2)](_0x287f43+'/'+_0x59972c+'/config.default.'+_0x456306)){const _0x1fcca5=include(_0x287f43+'/'+_0x59972c+'/config.default.'+_0x456306);Object[_0x21169c(0xe7)](_0x1fcca5)[_0x21169c(0xb0)]>0x0&&(_0x2275d3=lodash['defaultsDeep'](_0x2275d3,_0x1fcca5));}if(fs[_0x21169c(0xd2)](_0x287f43+'/'+_0x59972c+'/config.'+_0x456306)){const _0x96c94a=include(_0x287f43+'/'+_0x59972c+_0x21169c(0xf1)+_0x456306);Object[_0x21169c(0xe7)](_0x96c94a)[_0x21169c(0xb0)]>0x0&&(_0x2275d3=lodash[_0x21169c(0xc9)](_0x2275d3,_0x96c94a));}moduleConfigTmp[_0x59972c]=_0x2275d3,(0x0,core_1[_0x21169c(0xd7)])(action_1[_0x21169c(0xe3)],moduleConfigTmp,action_1['AppsConfigTmp']);}return moduleConfigTmp[_0x59972c];}
@@ -1,2 +1,2 @@
1
- import { getRouteOption } from '../helper/getRoutes';
2
- export declare function Apitest(path?: string, option?: getRouteOption): MethodDecorator;
1
+ import { getRouteOption } from '../helper/getRoutes';
2
+ export declare function Apitest(path?: string, option?: getRouteOption): MethodDecorator;
@@ -1 +1 @@
1
- const a5_0x46763c=a5_0x4fbd;(function(_0x478b08,_0x2f2590){const _0x3c1df4=a5_0x4fbd,_0x3fdd27=_0x478b08();while(!![]){try{const _0x5af24d=parseInt(_0x3c1df4(0x17d))/0x1*(-parseInt(_0x3c1df4(0x185))/0x2)+-parseInt(_0x3c1df4(0x174))/0x3+parseInt(_0x3c1df4(0x186))/0x4+-parseInt(_0x3c1df4(0x180))/0x5+parseInt(_0x3c1df4(0x189))/0x6*(parseInt(_0x3c1df4(0x17e))/0x7)+-parseInt(_0x3c1df4(0x173))/0x8*(parseInt(_0x3c1df4(0x181))/0x9)+parseInt(_0x3c1df4(0x175))/0xa;if(_0x5af24d===_0x2f2590)break;else _0x3fdd27['push'](_0x3fdd27['shift']());}catch(_0x4e18de){_0x3fdd27['push'](_0x3fdd27['shift']());}}}(a5_0x2693,0x86609));function a5_0x2693(){const _0x47bbae=['filepath','1727364zyqUfV','1653324ojeveM','apitest','__esModule','48582RcirOL','(((.+)+)+)+$','getAsync','get','apidoc','/apitest','58984qJLbGY','3273906ekQVNB','17272480GLnsFO','toString','search','getApplicationContext','RequestMapping','isDevelopmentEnvironment','constructor','defineProperty','1JKjppc','343DbXrip','ApitestService','122830TdBziF','9IfsQpQ','value','app'];a5_0x2693=function(){return _0x47bbae;};return a5_0x2693();}function a5_0x4fbd(_0x33289a,_0x54a7c8){const _0x379fee=a5_0x2693();return a5_0x4fbd=function(_0x172422,_0x3fb133){_0x172422=_0x172422-0x173;let _0x269381=_0x379fee[_0x172422];return _0x269381;},a5_0x4fbd(_0x33289a,_0x54a7c8);}const a5_0x3fb133=(function(){let _0x86046=!![];return function(_0x5e021f,_0xeda71){const _0x1127fe=_0x86046?function(){if(_0xeda71){const _0x4dedca=_0xeda71['apply'](_0x5e021f,arguments);return _0xeda71=null,_0x4dedca;}}:function(){};return _0x86046=![],_0x1127fe;};}()),a5_0x172422=a5_0x3fb133(this,function(){const _0x19f831=a5_0x4fbd;return a5_0x172422[_0x19f831(0x176)]()['search']('(((.+)+)+)+$')['toString']()[_0x19f831(0x17b)](a5_0x172422)[_0x19f831(0x177)](_0x19f831(0x18a));});a5_0x172422();'use strict';Object[a5_0x46763c(0x17c)](exports,a5_0x46763c(0x188),{'value':!![]}),exports['Apitest']=Apitest;const core_1=require('@midwayjs/core'),ApitestService_1=require('../service/ApitestService');function Apitest(_0x2cd65d=a5_0x46763c(0x18e),_0x4fc347){return(_0x374196,_0x3b96ea,_0x503aee)=>{const _0x31a8bf=a5_0x4fbd;return(0x0,core_1[_0x31a8bf(0x179)])({'path':_0x2cd65d,'requestMethod':_0x31a8bf(0x18c)})(_0x374196,_0x3b96ea,_0x503aee),_0x503aee[_0x31a8bf(0x182)]=async function(..._0x4cf89d){const _0x595541=_0x31a8bf;var _0xcd44b4;const _0x128eb7=(_0xcd44b4=this[core_1['REQUEST_OBJ_CTX_KEY']])===null||_0xcd44b4===void 0x0?void 0x0:_0xcd44b4[_0x595541(0x183)];if(_0x128eb7&&_0x128eb7['getConfig'](_0x595541(0x187))){const _0x47015c=await _0x128eb7['getApplicationContext']()['getAsync'](ApitestService_1[_0x595541(0x17f)]),_0x15bb8c=await _0x128eb7[_0x595541(0x178)]()[_0x595541(0x18b)](core_1['MidwayEnvironmentService']);return _0x15bb8c[_0x595541(0x17a)]()&&(_0x4fc347[_0x595541(0x184)]=!![]),await _0x47015c[_0x595541(0x18d)](_0x4fc347);}return'';},_0x503aee;};}
1
+ const a5_0x3e0776=a5_0x5288;(function(_0x2a83e7,_0x5039ed){const _0x23ef16=a5_0x5288,_0x3adc4a=_0x2a83e7();while(!![]){try{const _0x22e59d=-parseInt(_0x23ef16(0x169))/0x1+-parseInt(_0x23ef16(0x160))/0x2+parseInt(_0x23ef16(0x15c))/0x3+parseInt(_0x23ef16(0x15d))/0x4*(-parseInt(_0x23ef16(0x164))/0x5)+parseInt(_0x23ef16(0x16d))/0x6+parseInt(_0x23ef16(0x167))/0x7*(-parseInt(_0x23ef16(0x155))/0x8)+-parseInt(_0x23ef16(0x170))/0x9*(-parseInt(_0x23ef16(0x156))/0xa);if(_0x22e59d===_0x5039ed)break;else _0x3adc4a['push'](_0x3adc4a['shift']());}catch(_0x37b3bd){_0x3adc4a['push'](_0x3adc4a['shift']());}}}(a5_0x2525,0xf1ab9));const a5_0x4f43fc=(function(){let _0x3693d9=!![];return function(_0x24d06b,_0x4672bb){const _0x146381=_0x3693d9?function(){const _0x518763=a5_0x5288;if(_0x4672bb){const _0xfbedce=_0x4672bb[_0x518763(0x158)](_0x24d06b,arguments);return _0x4672bb=null,_0xfbedce;}}:function(){};return _0x3693d9=![],_0x146381;};}()),a5_0x1fae4f=a5_0x4f43fc(this,function(){const _0x5e44d7=a5_0x5288;return a5_0x1fae4f['toString']()['search'](_0x5e44d7(0x15f))[_0x5e44d7(0x15a)]()['constructor'](a5_0x1fae4f)[_0x5e44d7(0x159)]('(((.+)+)+)+$');});a5_0x1fae4f();'use strict';function a5_0x5288(_0x2c2024,_0x376b8b){const _0x239eca=a5_0x2525();return a5_0x5288=function(_0x1fae4f,_0x4f43fc){_0x1fae4f=_0x1fae4f-0x155;let _0x2525c8=_0x239eca[_0x1fae4f];return _0x2525c8;},a5_0x5288(_0x2c2024,_0x376b8b);}function a5_0x2525(){const _0x6a631e=['apply','search','toString','getApplicationContext','5510709kFscjl','990956soFpJc','app','(((.+)+)+)+$','877490RPGVni','filepath','apitest','@midwayjs/core','25mKtxLX','value','isDevelopmentEnvironment','343JyznyC','../service/ApitestService','1839885vSzrxa','MidwayEnvironmentService','apidoc','REQUEST_OBJ_CTX_KEY','9416406SZjeGi','__esModule','getAsync','2572308fQdCgI','/apitest','100240jXjBzT','60WitkME','Apitest'];a5_0x2525=function(){return _0x6a631e;};return a5_0x2525();}Object['defineProperty'](exports,a5_0x3e0776(0x16e),{'value':!![]}),exports[a5_0x3e0776(0x157)]=void 0x0;const core_1=require(a5_0x3e0776(0x163)),ApitestService_1=require(a5_0x3e0776(0x168));function Apitest(_0x255fd1=a5_0x3e0776(0x171),_0x35516e){return(_0x13f889,_0x59c159,_0xc3299b)=>{const _0xbe7cad=a5_0x5288;return(0x0,core_1['RequestMapping'])({'path':_0x255fd1,'requestMethod':'get'})(_0x13f889,_0x59c159,_0xc3299b),_0xc3299b[_0xbe7cad(0x165)]=async function(..._0x4880ab){const _0x50c28d=_0xbe7cad;var _0x516e6a;const _0x6632e1=(_0x516e6a=this[core_1[_0x50c28d(0x16c)]])===null||_0x516e6a===void 0x0?void 0x0:_0x516e6a[_0x50c28d(0x15e)];if(_0x6632e1&&_0x6632e1['getConfig'](_0x50c28d(0x162))){const _0x14ae1b=await _0x6632e1['getApplicationContext']()[_0x50c28d(0x16f)](ApitestService_1['ApitestService']),_0x2e3519=await _0x6632e1[_0x50c28d(0x15b)]()[_0x50c28d(0x16f)](core_1[_0x50c28d(0x16a)]);return _0x2e3519[_0x50c28d(0x166)]()&&(_0x35516e[_0x50c28d(0x161)]=!![]),await _0x14ae1b[_0x50c28d(0x16b)](_0x35516e);}return'';},_0xc3299b;};}exports[a5_0x3e0776(0x157)]=Apitest;
@@ -1,5 +1,5 @@
1
- export declare function Intercept(devices: string | string[]): ClassDecorator;
2
- export declare abstract class IIntercept {
3
- abstract handler(ctx: any, matchedRoute: string, metadata: any): Promise<void>;
4
- match(ctx: any, matchedRoute: string, metadata: any): Promise<boolean>;
5
- }
1
+ export declare function Intercept(devices: string | string[]): ClassDecorator;
2
+ export declare abstract class IIntercept {
3
+ abstract handler(ctx: any, matchedRoute: string, metadata: any): Promise<void>;
4
+ match(ctx: any, matchedRoute: string, metadata: any): Promise<boolean>;
5
+ }
@@ -1 +1 @@
1
- const a6_0x41c690=a6_0x2315;(function(_0x1e20c0,_0x59c81a){const _0xb15739=a6_0x2315,_0x4aebd4=_0x1e20c0();while(!![]){try{const _0xf9849b=parseInt(_0xb15739(0x189))/0x1*(parseInt(_0xb15739(0x194))/0x2)+-parseInt(_0xb15739(0x191))/0x3+-parseInt(_0xb15739(0x183))/0x4*(-parseInt(_0xb15739(0x193))/0x5)+parseInt(_0xb15739(0x18f))/0x6*(-parseInt(_0xb15739(0x18d))/0x7)+-parseInt(_0xb15739(0x184))/0x8+parseInt(_0xb15739(0x18c))/0x9*(parseInt(_0xb15739(0x185))/0xa)+parseInt(_0xb15739(0x181))/0xb;if(_0xf9849b===_0x59c81a)break;else _0x4aebd4['push'](_0x4aebd4['shift']());}catch(_0x4299fa){_0x4aebd4['push'](_0x4aebd4['shift']());}}}(a6_0x4af3,0xcf626));const a6_0x35307e=(function(){let _0x1e051c=!![];return function(_0x4d7be9,_0x540c78){const _0xb2f956=_0x1e051c?function(){const _0x5370a2=a6_0x2315;if(_0x540c78){const _0x279eac=_0x540c78[_0x5370a2(0x18e)](_0x4d7be9,arguments);return _0x540c78=null,_0x279eac;}}:function(){};return _0x1e051c=![],_0xb2f956;};}()),a6_0x2c56a0=a6_0x35307e(this,function(){const _0x322e21=a6_0x2315;return a6_0x2c56a0[_0x322e21(0x18b)]()[_0x322e21(0x186)]('(((.+)+)+)+$')['toString']()[_0x322e21(0x192)](a6_0x2c56a0)[_0x322e21(0x186)]('(((.+)+)+)+$');});a6_0x2c56a0();'use strict';function a6_0x2315(_0x199b48,_0x56baff){const _0x1b6353=a6_0x4af3();return a6_0x2315=function(_0x2c56a0,_0x35307e){_0x2c56a0=_0x2c56a0-0x17c;let _0x4af3fb=_0x1b6353[_0x2c56a0];return _0x4af3fb;},a6_0x2315(_0x199b48,_0x56baff);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a6_0x41c690(0x17f)]=void 0x0,exports['Intercept']=Intercept;const core_1=require('@midwayjs/core'),intercept_1=require('../types/intercept');function Intercept(_0x1eb1d0){return _0x69b5d4=>{const _0x380621=a6_0x2315,_0x3672b9=(0x0,core_1['getClassMetadata'])(intercept_1[_0x380621(0x196)],intercept_1[_0x380621(0x17d)])||{};for(let _0x19ca5c of Array[_0x380621(0x180)](_0x1eb1d0)?_0x1eb1d0:[_0x1eb1d0]){_0x19ca5c=_0x19ca5c[_0x380621(0x18a)]();!(_0x3672b9===null||_0x3672b9===void 0x0?void 0x0:_0x3672b9[_0x19ca5c])&&(_0x3672b9[_0x19ca5c]=[]);if(_0x3672b9[_0x19ca5c][_0x380621(0x17e)](_0x69b5d4))continue;_0x3672b9[_0x19ca5c][_0x380621(0x190)](_0x69b5d4);}(0x0,core_1[_0x380621(0x17c)])()(_0x69b5d4),(0x0,core_1[_0x380621(0x182)])(core_1[_0x380621(0x188)][_0x380621(0x195)])(_0x69b5d4),(0x0,core_1['saveClassMetadata'])(intercept_1[_0x380621(0x196)],_0x3672b9,intercept_1[_0x380621(0x17d)]);};}class IIntercept{async[a6_0x41c690(0x187)](_0x27c6bb,_0x3eaee1,_0x334483){return!![];}}function a6_0x4af3(){const _0x512fdc=['18aQqiQv','1351FYhZGl','apply','31482KKbsPm','push','2417271XCAnpc','constructor','1430MOaavK','166962rQLgSX','Singleton','INTERCEPT_KEY','Provide','InterceptTargetTmp','includes','IIntercept','isArray','20862259uJBNGq','Scope','15068zfsGBy','9762432swPORe','4153830LCjXet','search','match','ScopeEnum','1DxUPCQ','toUpperCase','toString'];a6_0x4af3=function(){return _0x512fdc;};return a6_0x4af3();}exports[a6_0x41c690(0x17f)]=IIntercept;
1
+ const a6_0x45ab4f=a6_0x52ed;function a6_0x38ef(){const _0x255928=['isArray','3234qXtJEi','IIntercept','Singleton','273LfMJae','Intercept','126618bqHUiY','143752cEBoLY','defineProperty','search','4478210csJbgz','__esModule','saveClassMetadata','ScopeEnum','match','25542TsOcmw','18RxnaPl','includes','Provide','toUpperCase','273BLHnuV','(((.+)+)+)+$','233060YRgmCr','536825MVcpJd','toString','InterceptTargetTmp','push','INTERCEPT_KEY'];a6_0x38ef=function(){return _0x255928;};return a6_0x38ef();}(function(_0x216d16,_0x5c1582){const _0x568516=a6_0x52ed,_0x4e3aee=_0x216d16();while(!![]){try{const _0x153b5f=-parseInt(_0x568516(0x1f5))/0x1+parseInt(_0x568516(0x1f0))/0x2*(parseInt(_0x568516(0x1e7))/0x3)+-parseInt(_0x568516(0x1e9))/0x4+-parseInt(_0x568516(0x1ea))/0x5+-parseInt(_0x568516(0x1e2))/0x6*(parseInt(_0x568516(0x1f3))/0x7)+parseInt(_0x568516(0x1f6))/0x8*(-parseInt(_0x568516(0x1e3))/0x9)+parseInt(_0x568516(0x1f9))/0xa;if(_0x153b5f===_0x5c1582)break;else _0x4e3aee['push'](_0x4e3aee['shift']());}catch(_0x3e74c5){_0x4e3aee['push'](_0x4e3aee['shift']());}}}(a6_0x38ef,0x18997));const a6_0x51a440=(function(){let _0x31a5b4=!![];return function(_0x5569f5,_0x18c6a3){const _0x53a8c6=_0x31a5b4?function(){if(_0x18c6a3){const _0x5c5453=_0x18c6a3['apply'](_0x5569f5,arguments);return _0x18c6a3=null,_0x5c5453;}}:function(){};return _0x31a5b4=![],_0x53a8c6;};}()),a6_0x119bf2=a6_0x51a440(this,function(){const _0x39a321=a6_0x52ed;return a6_0x119bf2[_0x39a321(0x1eb)]()['search'](_0x39a321(0x1e8))[_0x39a321(0x1eb)]()['constructor'](a6_0x119bf2)[_0x39a321(0x1f8)]('(((.+)+)+)+$');});a6_0x119bf2();'use strict';Object[a6_0x45ab4f(0x1f7)](exports,a6_0x45ab4f(0x1fa),{'value':!![]}),exports['IIntercept']=exports[a6_0x45ab4f(0x1f4)]=void 0x0;const core_1=require('@midwayjs/core'),intercept_1=require('../types/intercept');function Intercept(_0xfdb6d7){return _0x340fa2=>{const _0x5216dd=a6_0x52ed,_0x456999=(0x0,core_1['getClassMetadata'])(intercept_1[_0x5216dd(0x1ee)],intercept_1['InterceptTargetTmp'])||{};for(let _0x28136e of Array[_0x5216dd(0x1ef)](_0xfdb6d7)?_0xfdb6d7:[_0xfdb6d7]){_0x28136e=_0x28136e[_0x5216dd(0x1e6)]();!(_0x456999===null||_0x456999===void 0x0?void 0x0:_0x456999[_0x28136e])&&(_0x456999[_0x28136e]=[]);if(_0x456999[_0x28136e][_0x5216dd(0x1e4)](_0x340fa2))continue;_0x456999[_0x28136e][_0x5216dd(0x1ed)](_0x340fa2);}(0x0,core_1[_0x5216dd(0x1e5)])()(_0x340fa2),(0x0,core_1['Scope'])(core_1[_0x5216dd(0x1fc)][_0x5216dd(0x1f2)])(_0x340fa2),(0x0,core_1[_0x5216dd(0x1fb)])(intercept_1['INTERCEPT_KEY'],_0x456999,intercept_1[_0x5216dd(0x1ec)]);};}exports['Intercept']=Intercept;class IIntercept{async[a6_0x45ab4f(0x1fd)](_0x3f35b6,_0x281041,_0x4589bd){return!![];}}function a6_0x52ed(_0x320a63,_0x16581d){const _0x533c9f=a6_0x38ef();return a6_0x52ed=function(_0x119bf2,_0x51a440){_0x119bf2=_0x119bf2-0x1e2;let _0x38ef96=_0x533c9f[_0x119bf2];return _0x38ef96;},a6_0x52ed(_0x320a63,_0x16581d);}exports[a6_0x45ab4f(0x1f1)]=IIntercept;
@@ -1,8 +1,9 @@
1
- export declare class ApiError extends AnnError {
2
- static readonly TIMEOUT = 102403;
3
- static readonly HEADERS_LACK = 102002;
4
- static readonly HEADERS_DEVICE = 102003;
5
- static readonly HEADERS_SIGNATURE = 102004;
6
- static readonly HEADERS_CHECKCODE = 102005;
7
- static readonly TIMEOUT_LOGINTIME = 102006;
8
- }
1
+ /// <reference types="@anncic-api/core" />
2
+ export declare class ApiError extends AnnError {
3
+ static readonly TIMEOUT = 102403;
4
+ static readonly HEADERS_LACK = 102002;
5
+ static readonly HEADERS_DEVICE = 102003;
6
+ static readonly HEADERS_SIGNATURE = 102004;
7
+ static readonly HEADERS_CHECKCODE = 102005;
8
+ static readonly TIMEOUT_LOGINTIME = 102006;
9
+ }
@@ -1 +1 @@
1
- var a7_0x254c0c=a7_0x1446;function a7_0x1446(_0x580d86,_0x3f2ec6){var _0x1c79fc=a7_0x338c();return a7_0x1446=function(_0x1a4cb2,_0x261810){_0x1a4cb2=_0x1a4cb2-0x111;var _0x338c1c=_0x1c79fc[_0x1a4cb2];return _0x338c1c;},a7_0x1446(_0x580d86,_0x3f2ec6);}function a7_0x338c(){var _0x325776=['TIMEOUT_LOGINTIME','HEADERS_CHECKCODE','defineProperty','306izVcOO','3ZNJVlM','(((.+)+)+)+$','search','length','constructor','toString','5787360VzKNJD','function','1431305pLcjvZ','object','167241lhtOCX','HEADERS_LACK','metadata','getOwnPropertyDescriptor','ApiError','145352tosyqg','HEADERS_SIGNATURE','__decorate','__metadata','design:type','135WtIpgL','验证失败,请重新登录','请求超时,请重试','__esModule','TIMEOUT','329860fRYLVS','15578vAujjw','20811CJdGHt','HEADERS_DEVICE','请求头信息不完整'];a7_0x338c=function(){return _0x325776;};return a7_0x338c();}(function(_0x899708,_0x43e21a){var _0x213374=a7_0x1446,_0x42ded6=_0x899708();while(!![]){try{var _0x49f312=-parseInt(_0x213374(0x12a))/0x1*(-parseInt(_0x213374(0x122))/0x2)+parseInt(_0x213374(0x112))/0x3+-parseInt(_0x213374(0x121))/0x4+-parseInt(_0x213374(0x132))/0x5+-parseInt(_0x213374(0x129))/0x6*(-parseInt(_0x213374(0x123))/0x7)+-parseInt(_0x213374(0x117))/0x8*(parseInt(_0x213374(0x11c))/0x9)+parseInt(_0x213374(0x130))/0xa;if(_0x49f312===_0x43e21a)break;else _0x42ded6['push'](_0x42ded6['shift']());}catch(_0xa7be0e){_0x42ded6['push'](_0x42ded6['shift']());}}}(a7_0x338c,0x29114));var a7_0x261810=(function(){var _0x24c5fa=!![];return function(_0x30ad62,_0x2fe2d2){var _0x1ffc80=_0x24c5fa?function(){if(_0x2fe2d2){var _0xdbc935=_0x2fe2d2['apply'](_0x30ad62,arguments);return _0x2fe2d2=null,_0xdbc935;}}:function(){};return _0x24c5fa=![],_0x1ffc80;};}()),a7_0x1a4cb2=a7_0x261810(this,function(){var _0x2a1b19=a7_0x1446;return a7_0x1a4cb2[_0x2a1b19(0x12f)]()[_0x2a1b19(0x12c)](_0x2a1b19(0x12b))['toString']()[_0x2a1b19(0x12e)](a7_0x1a4cb2)[_0x2a1b19(0x12c)](_0x2a1b19(0x12b));});a7_0x1a4cb2();'use strict';var __decorate=this&&this[a7_0x254c0c(0x119)]||function(_0x548eb8,_0x51f067,_0x90d36a,_0x30ec93){var _0x18ff52=a7_0x254c0c,_0xa2c4ee=arguments[_0x18ff52(0x12d)],_0x255f8f=_0xa2c4ee<0x3?_0x51f067:_0x30ec93===null?_0x30ec93=Object[_0x18ff52(0x115)](_0x51f067,_0x90d36a):_0x30ec93,_0x27acd4;if(typeof Reflect===_0x18ff52(0x111)&&typeof Reflect['decorate']==='function')_0x255f8f=Reflect['decorate'](_0x548eb8,_0x51f067,_0x90d36a,_0x30ec93);else{for(var _0x2a9943=_0x548eb8[_0x18ff52(0x12d)]-0x1;_0x2a9943>=0x0;_0x2a9943--)if(_0x27acd4=_0x548eb8[_0x2a9943])_0x255f8f=(_0xa2c4ee<0x3?_0x27acd4(_0x255f8f):_0xa2c4ee>0x3?_0x27acd4(_0x51f067,_0x90d36a,_0x255f8f):_0x27acd4(_0x51f067,_0x90d36a))||_0x255f8f;}return _0xa2c4ee>0x3&&_0x255f8f&&Object[_0x18ff52(0x128)](_0x51f067,_0x90d36a,_0x255f8f),_0x255f8f;},__metadata=this&&this[a7_0x254c0c(0x11a)]||function(_0x1d8d41,_0x5dee43){var _0xc5cdd6=a7_0x254c0c;if(typeof Reflect===_0xc5cdd6(0x111)&&typeof Reflect[_0xc5cdd6(0x114)]===_0xc5cdd6(0x131))return Reflect[_0xc5cdd6(0x114)](_0x1d8d41,_0x5dee43);};Object[a7_0x254c0c(0x128)](exports,a7_0x254c0c(0x11f),{'value':!![]}),exports[a7_0x254c0c(0x116)]=void 0x0;class ApiError extends AnnError{}exports[a7_0x254c0c(0x116)]=ApiError,ApiError[a7_0x254c0c(0x120)]=0x19003,ApiError['HEADERS_LACK']=0x18e72,ApiError[a7_0x254c0c(0x124)]=0x18e73,ApiError[a7_0x254c0c(0x118)]=0x18e74,ApiError[a7_0x254c0c(0x127)]=0x18e75,ApiError['TIMEOUT_LOGINTIME']=0x18e76,__decorate([AnnErrorMsg(a7_0x254c0c(0x11e)),__metadata(a7_0x254c0c(0x11b),Object)],ApiError,a7_0x254c0c(0x120),void 0x0),__decorate([AnnErrorMsg(a7_0x254c0c(0x125)),__metadata('design:type',Object)],ApiError,a7_0x254c0c(0x113),void 0x0),__decorate([AnnErrorMsg('请使用正确的设备'),__metadata(a7_0x254c0c(0x11b),Object)],ApiError,a7_0x254c0c(0x124),void 0x0),__decorate([AnnErrorMsg('signature验证失败'),__metadata(a7_0x254c0c(0x11b),Object)],ApiError,a7_0x254c0c(0x118),void 0x0),__decorate([AnnErrorMsg(a7_0x254c0c(0x11d)),__metadata(a7_0x254c0c(0x11b),Object)],ApiError,'HEADERS_CHECKCODE',void 0x0),__decorate([AnnErrorMsg('登录超时,请重新登录'),__metadata(a7_0x254c0c(0x11b),Object)],ApiError,a7_0x254c0c(0x126),void 0x0);
1
+ var a7_0x3d4813=a7_0x29bb;function a7_0x29bb(_0x3f2dcd,_0xb5937){var _0x34ef1f=a7_0x49f3();return a7_0x29bb=function(_0x1cd6b5,_0x13baf6){_0x1cd6b5=_0x1cd6b5-0xcb;var _0x49f397=_0x34ef1f[_0x1cd6b5];return _0x49f397;},a7_0x29bb(_0x3f2dcd,_0xb5937);}(function(_0x2dc899,_0x13922d){var _0xab3d8c=a7_0x29bb,_0x19a777=_0x2dc899();while(!![]){try{var _0x22e943=-parseInt(_0xab3d8c(0xe4))/0x1*(-parseInt(_0xab3d8c(0xd8))/0x2)+parseInt(_0xab3d8c(0xe3))/0x3+parseInt(_0xab3d8c(0xe8))/0x4*(parseInt(_0xab3d8c(0xdb))/0x5)+-parseInt(_0xab3d8c(0xe0))/0x6*(parseInt(_0xab3d8c(0xd6))/0x7)+-parseInt(_0xab3d8c(0xd4))/0x8*(parseInt(_0xab3d8c(0xdd))/0x9)+-parseInt(_0xab3d8c(0xea))/0xa+parseInt(_0xab3d8c(0xdc))/0xb;if(_0x22e943===_0x13922d)break;else _0x19a777['push'](_0x19a777['shift']());}catch(_0x4c4797){_0x19a777['push'](_0x19a777['shift']());}}}(a7_0x49f3,0xb0e1f));var a7_0x13baf6=(function(){var _0x4e0e25=!![];return function(_0xb3aa82,_0x2d0513){var _0x3d4c3b=_0x4e0e25?function(){if(_0x2d0513){var _0x31759e=_0x2d0513['apply'](_0xb3aa82,arguments);return _0x2d0513=null,_0x31759e;}}:function(){};return _0x4e0e25=![],_0x3d4c3b;};}()),a7_0x1cd6b5=a7_0x13baf6(this,function(){var _0x16c5dd=a7_0x29bb;return a7_0x1cd6b5[_0x16c5dd(0xe2)]()['search']('(((.+)+)+)+$')[_0x16c5dd(0xe2)]()[_0x16c5dd(0xd2)](a7_0x1cd6b5)[_0x16c5dd(0xd0)]('(((.+)+)+)+$');});a7_0x1cd6b5();'use strict';var __decorate=this&&this[a7_0x3d4813(0xd7)]||function(_0x478cba,_0x3f17dd,_0x3efb31,_0x1d1ab4){var _0x88df6=a7_0x3d4813,_0xa108df=arguments[_0x88df6(0xd1)],_0x465b79=_0xa108df<0x3?_0x3f17dd:_0x1d1ab4===null?_0x1d1ab4=Object[_0x88df6(0xe5)](_0x3f17dd,_0x3efb31):_0x1d1ab4,_0xd4ee6c;if(typeof Reflect===_0x88df6(0xeb)&&typeof Reflect[_0x88df6(0xec)]===_0x88df6(0xcc))_0x465b79=Reflect[_0x88df6(0xec)](_0x478cba,_0x3f17dd,_0x3efb31,_0x1d1ab4);else{for(var _0xc11fb7=_0x478cba[_0x88df6(0xd1)]-0x1;_0xc11fb7>=0x0;_0xc11fb7--)if(_0xd4ee6c=_0x478cba[_0xc11fb7])_0x465b79=(_0xa108df<0x3?_0xd4ee6c(_0x465b79):_0xa108df>0x3?_0xd4ee6c(_0x3f17dd,_0x3efb31,_0x465b79):_0xd4ee6c(_0x3f17dd,_0x3efb31))||_0x465b79;}return _0xa108df>0x3&&_0x465b79&&Object[_0x88df6(0xcf)](_0x3f17dd,_0x3efb31,_0x465b79),_0x465b79;},__metadata=this&&this[a7_0x3d4813(0xd3)]||function(_0x3f0a17,_0x27106c){var _0x37ac45=a7_0x3d4813;if(typeof Reflect===_0x37ac45(0xeb)&&typeof Reflect[_0x37ac45(0xcd)]===_0x37ac45(0xcc))return Reflect[_0x37ac45(0xcd)](_0x3f0a17,_0x27106c);};Object[a7_0x3d4813(0xcf)](exports,'__esModule',{'value':!![]}),exports[a7_0x3d4813(0xda)]=void 0x0;function a7_0x49f3(){var _0xa327bf=['请求超时,请重试','67492AoGitm','HEADERS_DEVICE','9988890IDAFQS','object','decorate','HEADERS_LACK','请求头信息不完整','function','metadata','TIMEOUT','defineProperty','search','length','constructor','__metadata','7669240BPrRhJ','signature验证失败','12817RfhXhf','__decorate','1594YwqcOb','design:type','ApiError','230hpsiTh','340538PmuYdo','9kgVOkv','HEADERS_CHECKCODE','HEADERS_SIGNATURE','2286tPebjk','TIMEOUT_LOGINTIME','toString','3545355rRHCfO','1745HyDrDI','getOwnPropertyDescriptor','登录超时,请重新登录'];a7_0x49f3=function(){return _0xa327bf;};return a7_0x49f3();}class ApiError extends AnnError{}ApiError[a7_0x3d4813(0xce)]=0x19003,ApiError[a7_0x3d4813(0xed)]=0x18e72,ApiError[a7_0x3d4813(0xe9)]=0x18e73,ApiError['HEADERS_SIGNATURE']=0x18e74,ApiError[a7_0x3d4813(0xde)]=0x18e75,ApiError[a7_0x3d4813(0xe1)]=0x18e76,__decorate([AnnErrorMsg(a7_0x3d4813(0xe7)),__metadata(a7_0x3d4813(0xd9),Object)],ApiError,a7_0x3d4813(0xce),void 0x0),__decorate([AnnErrorMsg(a7_0x3d4813(0xcb)),__metadata(a7_0x3d4813(0xd9),Object)],ApiError,a7_0x3d4813(0xed),void 0x0),__decorate([AnnErrorMsg('请使用正确的设备'),__metadata(a7_0x3d4813(0xd9),Object)],ApiError,a7_0x3d4813(0xe9),void 0x0),__decorate([AnnErrorMsg(a7_0x3d4813(0xd5)),__metadata('design:type',Object)],ApiError,a7_0x3d4813(0xdf),void 0x0),__decorate([AnnErrorMsg('验证失败,请重新登录'),__metadata(a7_0x3d4813(0xd9),Object)],ApiError,a7_0x3d4813(0xde),void 0x0),__decorate([AnnErrorMsg(a7_0x3d4813(0xe6)),__metadata(a7_0x3d4813(0xd9),Object)],ApiError,a7_0x3d4813(0xe1),void 0x0),exports[a7_0x3d4813(0xda)]=ApiError;
@@ -1 +1 @@
1
- export declare function getAppsConfig(appName?: string, defaultValue?: any): any;
1
+ export declare function getAppsConfig(appName?: string, defaultValue?: any): any;
@@ -1 +1 @@
1
- const a8_0x3a9f7c=a8_0x191b;(function(_0xed7496,_0x24d05d){const _0x424ee2=a8_0x191b,_0x50e7a6=_0xed7496();while(!![]){try{const _0x582f64=parseInt(_0x424ee2(0x19e))/0x1+-parseInt(_0x424ee2(0x1a3))/0x2*(-parseInt(_0x424ee2(0x1a0))/0x3)+-parseInt(_0x424ee2(0x1a4))/0x4*(-parseInt(_0x424ee2(0x195))/0x5)+-parseInt(_0x424ee2(0x1a2))/0x6+-parseInt(_0x424ee2(0x19a))/0x7+parseInt(_0x424ee2(0x19c))/0x8+parseInt(_0x424ee2(0x19d))/0x9;if(_0x582f64===_0x24d05d)break;else _0x50e7a6['push'](_0x50e7a6['shift']());}catch(_0x1b584c){_0x50e7a6['push'](_0x50e7a6['shift']());}}}(a8_0x2d00,0x62c5a));const a8_0xf0e9ac=(function(){let _0x41a80e=!![];return function(_0x3f0cb1,_0x43d324){const _0x1f4c5b=_0x41a80e?function(){const _0xc40f3=a8_0x191b;if(_0x43d324){const _0x33fbea=_0x43d324[_0xc40f3(0x19f)](_0x3f0cb1,arguments);return _0x43d324=null,_0x33fbea;}}:function(){};return _0x41a80e=![],_0x1f4c5b;};}()),a8_0x5405ef=a8_0xf0e9ac(this,function(){const _0x3a8ce4=a8_0x191b;return a8_0x5405ef[_0x3a8ce4(0x198)]()[_0x3a8ce4(0x196)]('(((.+)+)+)+$')[_0x3a8ce4(0x198)]()[_0x3a8ce4(0x197)](a8_0x5405ef)['search'](_0x3a8ce4(0x192));});a8_0x5405ef();'use strict';function a8_0x2d00(){const _0x288c96=['153363yJrhmb','AppsConfigTmp','3796002lcHPku','6xvSboc','1492XHhSaD','@midwayjs/core','APPSCONFIG_KEY','../types/action','(((.+)+)+)+$','defineProperty','getClassMetadata','6005KhuWbR','search','constructor','toString','getAppsConfig','4449648ugEasI','get','2529176nOYxXT','2175444LCVfyo','513702vXpUta','apply'];a8_0x2d00=function(){return _0x288c96;};return a8_0x2d00();}Object[a8_0x3a9f7c(0x193)](exports,'__esModule',{'value':!![]}),exports[a8_0x3a9f7c(0x199)]=getAppsConfig;function a8_0x191b(_0x3bb9e,_0x15f9dd){const _0x4b867f=a8_0x2d00();return a8_0x191b=function(_0x5405ef,_0xf0e9ac){_0x5405ef=_0x5405ef-0x192;let _0x2d004b=_0x4b867f[_0x5405ef];return _0x2d004b;},a8_0x191b(_0x3bb9e,_0x15f9dd);}const core_1=require(a8_0x3a9f7c(0x1a5)),action_1=require(a8_0x3a9f7c(0x1a7));function getAppsConfig(_0x44c824,_0x2bd913){const _0x3b81e1=a8_0x3a9f7c,_0x5b049a=(0x0,core_1[_0x3b81e1(0x194)])(action_1[_0x3b81e1(0x1a6)],action_1[_0x3b81e1(0x1a1)])||{};return _0x44c824?lodash[_0x3b81e1(0x19b)](_0x5b049a,_0x44c824,_0x2bd913):_0x5b049a;}
1
+ const a8_0x335194=a8_0x2655;function a8_0x2655(_0x455c68,_0x38ab00){const _0x1b41b7=a8_0x409f();return a8_0x2655=function(_0x2b41cf,_0x2097ed){_0x2b41cf=_0x2b41cf-0x1c8;let _0x409f07=_0x1b41b7[_0x2b41cf];return _0x409f07;},a8_0x2655(_0x455c68,_0x38ab00);}(function(_0x57a74e,_0x1b81d5){const _0x27d16e=a8_0x2655,_0x3bf44e=_0x57a74e();while(!![]){try{const _0x4c8eec=parseInt(_0x27d16e(0x1c9))/0x1+parseInt(_0x27d16e(0x1ca))/0x2+-parseInt(_0x27d16e(0x1cf))/0x3+parseInt(_0x27d16e(0x1d3))/0x4+parseInt(_0x27d16e(0x1d5))/0x5+-parseInt(_0x27d16e(0x1d6))/0x6+-parseInt(_0x27d16e(0x1ce))/0x7*(-parseInt(_0x27d16e(0x1cd))/0x8);if(_0x4c8eec===_0x1b81d5)break;else _0x3bf44e['push'](_0x3bf44e['shift']());}catch(_0x2f12c5){_0x3bf44e['push'](_0x3bf44e['shift']());}}}(a8_0x409f,0x7502f));const a8_0x2097ed=(function(){let _0x5efee6=!![];return function(_0x450e5d,_0x41b7ed){const _0x1c74be=_0x5efee6?function(){const _0x161253=a8_0x2655;if(_0x41b7ed){const _0x7e42e6=_0x41b7ed[_0x161253(0x1d1)](_0x450e5d,arguments);return _0x41b7ed=null,_0x7e42e6;}}:function(){};return _0x5efee6=![],_0x1c74be;};}()),a8_0x2b41cf=a8_0x2097ed(this,function(){const _0x581b93=a8_0x2655;return a8_0x2b41cf[_0x581b93(0x1da)]()[_0x581b93(0x1cc)](_0x581b93(0x1d7))[_0x581b93(0x1da)]()[_0x581b93(0x1dc)](a8_0x2b41cf)[_0x581b93(0x1cc)](_0x581b93(0x1d7));});a8_0x2b41cf();'use strict';function a8_0x409f(){const _0x4cec2d=['@midwayjs/core','255076gENram','346270oWIKpc','getAppsConfig','search','488JRoUFI','78967ezHIfU','1939758DqSTOV','__esModule','apply','APPSCONFIG_KEY','444428gWQXQL','defineProperty','1581840aeJlkG','2507772NrAmRq','(((.+)+)+)+$','get','getClassMetadata','toString','AppsConfigTmp','constructor'];a8_0x409f=function(){return _0x4cec2d;};return a8_0x409f();}Object[a8_0x335194(0x1d4)](exports,a8_0x335194(0x1d0),{'value':!![]}),exports[a8_0x335194(0x1cb)]=void 0x0;const core_1=require(a8_0x335194(0x1c8)),action_1=require('../types/action');function getAppsConfig(_0x3f19c5,_0x5d89b0){const _0x1647df=a8_0x335194,_0x2a63b0=(0x0,core_1[_0x1647df(0x1d9)])(action_1[_0x1647df(0x1d2)],action_1[_0x1647df(0x1db)])||{};return _0x3f19c5?lodash[_0x1647df(0x1d8)](_0x2a63b0,_0x3f19c5,_0x5d89b0):_0x2a63b0;}exports[a8_0x335194(0x1cb)]=getAppsConfig;