mirror of
https://github.com/xiaoyiweb/YiAi.git
synced 2025-11-17 14:43:41 +08:00
修复左侧菜单问题 整合包重新打包
This commit is contained in:
@@ -1 +1 @@
|
||||
'use strict';const _0x469eff=_0x30a6;(function(_0x35a55a,_0x4f4b36){const _0x22087d=_0x30a6,_0x4f0434=_0x35a55a();while(!![]){try{const _0x2beff9=-parseInt(_0x22087d(0xdd))/0x1+parseInt(_0x22087d(0xdc))/0x2*(-parseInt(_0x22087d(0xe0))/0x3)+parseInt(_0x22087d(0xe3))/0x4*(parseInt(_0x22087d(0xe5))/0x5)+-parseInt(_0x22087d(0xe8))/0x6*(-parseInt(_0x22087d(0xf2))/0x7)+parseInt(_0x22087d(0xed))/0x8+parseInt(_0x22087d(0xeb))/0x9+parseInt(_0x22087d(0xea))/0xa;if(_0x2beff9===_0x4f4b36)break;else _0x4f0434['push'](_0x4f0434['shift']());}catch(_0x1aae6c){_0x4f0434['push'](_0x4f0434['shift']());}}}(_0x1d4f,0xb0a69));var __decorate=this&&this[_0x469eff(0xf0)]||function(_0x1a2991,_0x2c2632,_0x418f4f,_0x208e58){const _0x441871=_0x469eff;var _0x268690=arguments['length'],_0x1119c5=_0x268690<0x3?_0x2c2632:_0x208e58===null?_0x208e58=Object[_0x441871(0xe4)](_0x2c2632,_0x418f4f):_0x208e58,_0x16a6ff;if(typeof Reflect===_0x441871(0xee)&&typeof Reflect['decorate']==='function')_0x1119c5=Reflect[_0x441871(0xe1)](_0x1a2991,_0x2c2632,_0x418f4f,_0x208e58);else{for(var _0x4429d0=_0x1a2991[_0x441871(0xda)]-0x1;_0x4429d0>=0x0;_0x4429d0--)if(_0x16a6ff=_0x1a2991[_0x4429d0])_0x1119c5=(_0x268690<0x3?_0x16a6ff(_0x1119c5):_0x268690>0x3?_0x16a6ff(_0x2c2632,_0x418f4f,_0x1119c5):_0x16a6ff(_0x2c2632,_0x418f4f))||_0x1119c5;}return _0x268690>0x3&&_0x1119c5&&Object[_0x441871(0xe2)](_0x2c2632,_0x418f4f,_0x1119c5),_0x1119c5;};Object['defineProperty'](exports,_0x469eff(0xe9),{'value':!![]}),exports[_0x469eff(0xd7)]=void 0x0;function _0x1d4f(){const _0x556b2f=['canActivate','length','admin','1754462mpQHkm','1397185YoPCVG','UnauthorizedException','super','3nGcDid','decorate','defineProperty','60848zcEcag','getOwnPropertyDescriptor','230mzZKwX','switchToHttp','非法操作、您的权限等级不足、无法执行当前请求!','26538klzWJS','__esModule','12321950SuUTHz','1102977hfWhaz','role','3549424WjmMok','object','includes','__decorate','getRequest','791ckbIyO','AdminAuthGuard','./jwtAuth.guard'];_0x1d4f=function(){return _0x556b2f;};return _0x1d4f();}function _0x30a6(_0x4dc177,_0x386642){const _0x1d4fc7=_0x1d4f();return _0x30a6=function(_0x30a682,_0x2df7df){_0x30a682=_0x30a682-0xd7;let _0x2454fe=_0x1d4fc7[_0x30a682];return _0x2454fe;},_0x30a6(_0x4dc177,_0x386642);}const common_1=require('@nestjs/common'),jwtAuth_guard_1=require(_0x469eff(0xd8));let AdminAuthGuard=class AdminAuthGuard extends jwtAuth_guard_1['JwtAuthGuard']{async[_0x469eff(0xd9)](_0x8b311a){const _0xb30160=_0x469eff,_0x5f5256=await super[_0xb30160(0xd9)](_0x8b311a);if(!_0x5f5256)return![];const _0x561a4d=_0x8b311a[_0xb30160(0xe6)]()[_0xb30160(0xf1)](),_0x530cad=_0x561a4d['user'];if(_0x530cad&&[_0xb30160(0xdb),_0xb30160(0xdf)][_0xb30160(0xef)](_0x530cad[_0xb30160(0xec)]))return!![];else throw new common_1[(_0xb30160(0xde))](_0xb30160(0xe7));}};AdminAuthGuard=__decorate([(0x0,common_1['Injectable'])()],AdminAuthGuard),exports[_0x469eff(0xd7)]=AdminAuthGuard;
|
||||
'use strict';const _0x3516fa=_0x5d07;(function(_0x38d0ae,_0xa3041e){const _0xdafd0c=_0x5d07,_0x14ff09=_0x38d0ae();while(!![]){try{const _0x609bdc=parseInt(_0xdafd0c(0x11d))/0x1+-parseInt(_0xdafd0c(0x122))/0x2+parseInt(_0xdafd0c(0x127))/0x3+parseInt(_0xdafd0c(0x120))/0x4*(-parseInt(_0xdafd0c(0x111))/0x5)+parseInt(_0xdafd0c(0x11c))/0x6*(parseInt(_0xdafd0c(0x112))/0x7)+parseInt(_0xdafd0c(0x114))/0x8+-parseInt(_0xdafd0c(0x124))/0x9;if(_0x609bdc===_0xa3041e)break;else _0x14ff09['push'](_0x14ff09['shift']());}catch(_0x223839){_0x14ff09['push'](_0x14ff09['shift']());}}}(_0x543e,0x41b7f));var __decorate=this&&this[_0x3516fa(0x11a)]||function(_0x402158,_0x34f174,_0x4411de,_0x5c633e){const _0x2c9c44=_0x3516fa;var _0x584548=arguments[_0x2c9c44(0x11f)],_0x72464a=_0x584548<0x3?_0x34f174:_0x5c633e===null?_0x5c633e=Object[_0x2c9c44(0x110)](_0x34f174,_0x4411de):_0x5c633e,_0xbdeffa;if(typeof Reflect===_0x2c9c44(0x121)&&typeof Reflect['decorate']===_0x2c9c44(0x125))_0x72464a=Reflect[_0x2c9c44(0x11b)](_0x402158,_0x34f174,_0x4411de,_0x5c633e);else{for(var _0x34a418=_0x402158['length']-0x1;_0x34a418>=0x0;_0x34a418--)if(_0xbdeffa=_0x402158[_0x34a418])_0x72464a=(_0x584548<0x3?_0xbdeffa(_0x72464a):_0x584548>0x3?_0xbdeffa(_0x34f174,_0x4411de,_0x72464a):_0xbdeffa(_0x34f174,_0x4411de))||_0x72464a;}return _0x584548>0x3&&_0x72464a&&Object['defineProperty'](_0x34f174,_0x4411de,_0x72464a),_0x72464a;};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x3516fa(0x115)]=void 0x0;function _0x543e(){const _0x1689a5=['5523zWWJzY','getRequest','2126504fByavr','AdminAuthGuard','super','role','includes','UnauthorizedException','__decorate','decorate','4014pxSYwu','263689pgzXJD','switchToHttp','length','88ZozkeY','object','567868eFkayf','./jwtAuth.guard','2437002lXqAzV','function','@nestjs/common','176664dkxgpz','getOwnPropertyDescriptor','66440vULKHc'];_0x543e=function(){return _0x1689a5;};return _0x543e();}const common_1=require(_0x3516fa(0x126)),jwtAuth_guard_1=require(_0x3516fa(0x123));function _0x5d07(_0x125129,_0x496e37){const _0x543e22=_0x543e();return _0x5d07=function(_0x5d07ff,_0x3c8cbd){_0x5d07ff=_0x5d07ff-0x110;let _0x35199e=_0x543e22[_0x5d07ff];return _0x35199e;},_0x5d07(_0x125129,_0x496e37);}let AdminAuthGuard=class AdminAuthGuard extends jwtAuth_guard_1['JwtAuthGuard']{async['canActivate'](_0x38922d){const _0x2d7e3c=_0x3516fa,_0x371ffb=await super['canActivate'](_0x38922d);if(!_0x371ffb)return![];const _0x2ad320=_0x38922d[_0x2d7e3c(0x11e)]()[_0x2d7e3c(0x113)](),_0x19d85e=_0x2ad320['user'];if(_0x19d85e&&['admin',_0x2d7e3c(0x116)][_0x2d7e3c(0x118)](_0x19d85e[_0x2d7e3c(0x117)]))return!![];else throw new common_1[(_0x2d7e3c(0x119))]('非法操作、您的权限等级不足、无法执行当前请求!');}};AdminAuthGuard=__decorate([(0x0,common_1['Injectable'])()],AdminAuthGuard),exports[_0x3516fa(0x115)]=AdminAuthGuard;
|
||||
Reference in New Issue
Block a user