mirror of
https://github.com/xiaoyiweb/YiAi.git
synced 2025-09-25 20:56:39 +08:00
1 line
5.2 KiB
JavaScript
1 line
5.2 KiB
JavaScript
'use strict';function _0x4972(_0x7bdf24,_0x2f1f87){var _0x40eab2=_0x40ea();return _0x4972=function(_0x4972b5,_0x268eb9){_0x4972b5=_0x4972b5-0xe0;var _0x4596c9=_0x40eab2[_0x4972b5];return _0x4596c9;},_0x4972(_0x7bdf24,_0x2f1f87);}var _0x1dd4d7=_0x4972;(function(_0x32c7b8,_0x481337){var _0xa28ee6=_0x4972,_0x14d27c=_0x32c7b8();while(!![]){try{var _0x3c4d3d=parseInt(_0xa28ee6(0xf9))/0x1+parseInt(_0xa28ee6(0xef))/0x2*(parseInt(_0xa28ee6(0xf0))/0x3)+-parseInt(_0xa28ee6(0x110))/0x4*(parseInt(_0xa28ee6(0xe6))/0x5)+-parseInt(_0xa28ee6(0xfa))/0x6+parseInt(_0xa28ee6(0xf5))/0x7+-parseInt(_0xa28ee6(0xee))/0x8*(parseInt(_0xa28ee6(0x101))/0x9)+parseInt(_0xa28ee6(0xeb))/0xa*(parseInt(_0xa28ee6(0xfc))/0xb);if(_0x3c4d3d===_0x481337)break;else _0x14d27c['push'](_0x14d27c['shift']());}catch(_0x1f5bfe){_0x14d27c['push'](_0x14d27c['shift']());}}}(_0x40ea,0x1cad6));var __decorate=this&&this[_0x1dd4d7(0xff)]||function(_0x1fe151,_0x32a1e2,_0x24248c,_0x14a0c7){var _0xeb0869=_0x1dd4d7,_0x3ed6f4=arguments[_0xeb0869(0xf8)],_0x5365d0=_0x3ed6f4<0x3?_0x32a1e2:_0x14a0c7===null?_0x14a0c7=Object[_0xeb0869(0xe9)](_0x32a1e2,_0x24248c):_0x14a0c7,_0x4ac85c;if(typeof Reflect===_0xeb0869(0x10b)&&typeof Reflect[_0xeb0869(0xf4)]===_0xeb0869(0x10a))_0x5365d0=Reflect[_0xeb0869(0xf4)](_0x1fe151,_0x32a1e2,_0x24248c,_0x14a0c7);else{for(var _0x550154=_0x1fe151[_0xeb0869(0xf8)]-0x1;_0x550154>=0x0;_0x550154--)if(_0x4ac85c=_0x1fe151[_0x550154])_0x5365d0=(_0x3ed6f4<0x3?_0x4ac85c(_0x5365d0):_0x3ed6f4>0x3?_0x4ac85c(_0x32a1e2,_0x24248c,_0x5365d0):_0x4ac85c(_0x32a1e2,_0x24248c))||_0x5365d0;}return _0x3ed6f4>0x3&&_0x5365d0&&Object['defineProperty'](_0x32a1e2,_0x24248c,_0x5365d0),_0x5365d0;},__metadata=this&&this['__metadata']||function(_0x1f663f,_0x23465b){var _0xd648cd=_0x1dd4d7;if(typeof Reflect===_0xd648cd(0x10b)&&typeof Reflect[_0xd648cd(0xe1)]==='function')return Reflect['metadata'](_0x1f663f,_0x23465b);},__param=this&&this[_0x1dd4d7(0x108)]||function(_0x181e9e,_0x5036c6){return function(_0x1cf6bd,_0x23712c){_0x5036c6(_0x1cf6bd,_0x23712c,_0x181e9e);};};Object[_0x1dd4d7(0xe8)](exports,_0x1dd4d7(0x107),{'value':!![]}),exports[_0x1dd4d7(0xec)]=void 0x0;const statistic_service_1=require(_0x1dd4d7(0xed)),common_1=require(_0x1dd4d7(0xe2)),swagger_1=require(_0x1dd4d7(0x102)),queryStatisticDto_dto_1=require(_0x1dd4d7(0x100)),adminAuth_guard_1=require(_0x1dd4d7(0x104));function _0x40ea(){var _0x221a26=['Get','metadata','@nestjs/common','design:type','statisticService','ApiTags','1395PpUSni','prototype','defineProperty','getOwnPropertyDescriptor','design:paramtypes','10zrXonh','StatisticController','./statistic.service','1782296gfYUYy','6KRfZtT','85665mfwIWC','getChatStatistic','baiduVisit','StatisticService','decorate','1397641flUCeU','getBaseStatistic','Controller','length','89705QzOqhy','74124jYOjrz','ApiOperation','1395185sLFDHf','chatStatistic','获取基础统计数据','__decorate','./dto/queryStatisticDto.dto','9TyUpPw','@nestjs/swagger','getBaiduStatistics','../../common/auth/adminAuth.guard','design:returntype','UseGuards','__esModule','__param','AdminAuthGuard','function','object','ApiBearerAuth','statistic','Query','getBaiduVisit','2140DtGloC'];_0x40ea=function(){return _0x221a26;};return _0x40ea();}let StatisticController=class StatisticController{constructor(_0x5e5869){var _0x422c52=_0x1dd4d7;this[_0x422c52(0xe4)]=_0x5e5869;}[_0x1dd4d7(0xf6)](){var _0x51dc16=_0x1dd4d7;return this[_0x51dc16(0xe4)]['getBaseStatistic']();}[_0x1dd4d7(0xf1)](_0xf9d12d){var _0x264e3e=_0x1dd4d7;return this['statisticService'][_0x264e3e(0xf1)](_0xf9d12d);}[_0x1dd4d7(0x103)](_0x5b8f8f){var _0x3b860d=_0x1dd4d7;return this['statisticService'][_0x3b860d(0x10f)](_0x5b8f8f);}};__decorate([(0x0,common_1[_0x1dd4d7(0xe0)])('base'),(0x0,swagger_1[_0x1dd4d7(0xfb)])({'summary':_0x1dd4d7(0xfe)}),(0x0,common_1[_0x1dd4d7(0x106)])(adminAuth_guard_1[_0x1dd4d7(0x109)]),(0x0,swagger_1[_0x1dd4d7(0x10c)])(),__metadata(_0x1dd4d7(0xe3),Function),__metadata('design:paramtypes',[]),__metadata(_0x1dd4d7(0x105),void 0x0)],StatisticController['prototype'],_0x1dd4d7(0xf6),null),__decorate([(0x0,common_1[_0x1dd4d7(0xe0)])(_0x1dd4d7(0xfd)),(0x0,swagger_1[_0x1dd4d7(0xfb)])({'summary':'获取聊天绘画统计数据'}),(0x0,common_1[_0x1dd4d7(0x106)])(adminAuth_guard_1[_0x1dd4d7(0x109)]),(0x0,swagger_1['ApiBearerAuth'])(),__param(0x0,(0x0,common_1['Query'])()),__metadata('design:type',Function),__metadata('design:paramtypes',[queryStatisticDto_dto_1['QueryStatisticDto']]),__metadata(_0x1dd4d7(0x105),void 0x0)],StatisticController[_0x1dd4d7(0xe7)],_0x1dd4d7(0xf1),null),__decorate([(0x0,common_1['Get'])(_0x1dd4d7(0xf2)),(0x0,swagger_1['ApiOperation'])({'summary':'获取百度统计数据'}),(0x0,common_1[_0x1dd4d7(0x106)])(adminAuth_guard_1[_0x1dd4d7(0x109)]),(0x0,swagger_1[_0x1dd4d7(0x10c)])(),__param(0x0,(0x0,common_1[_0x1dd4d7(0x10e)])()),__metadata('design:type',Function),__metadata(_0x1dd4d7(0xea),[queryStatisticDto_dto_1['QueryStatisticDto']]),__metadata(_0x1dd4d7(0x105),void 0x0)],StatisticController[_0x1dd4d7(0xe7)],_0x1dd4d7(0x103),null),StatisticController=__decorate([(0x0,swagger_1[_0x1dd4d7(0xe5)])(_0x1dd4d7(0x10d)),(0x0,common_1[_0x1dd4d7(0xf7)])('statistic'),__metadata(_0x1dd4d7(0xea),[statistic_service_1[_0x1dd4d7(0xf3)]])],StatisticController),exports[_0x1dd4d7(0xec)]=StatisticController; |