mirror of
https://github.com/xiaoyiweb/YiAi.git
synced 2025-09-26 13:16:39 +08:00
1 line
5.1 KiB
JavaScript
1 line
5.1 KiB
JavaScript
'use strict';function _0x19bf(_0x3e716a,_0xd92854){var _0x29ef7b=_0x29ef();return _0x19bf=function(_0x19bf62,_0x163912){_0x19bf62=_0x19bf62-0xe5;var _0x52cf41=_0x29ef7b[_0x19bf62];return _0x52cf41;},_0x19bf(_0x3e716a,_0xd92854);}var _0x5e44b5=_0x19bf;(function(_0x379837,_0x5dc51b){var _0x55739b=_0x19bf,_0x374f47=_0x379837();while(!![]){try{var _0x3fcc69=parseInt(_0x55739b(0xfc))/0x1*(parseInt(_0x55739b(0xed))/0x2)+parseInt(_0x55739b(0xf3))/0x3*(-parseInt(_0x55739b(0xee))/0x4)+parseInt(_0x55739b(0x104))/0x5+-parseInt(_0x55739b(0xeb))/0x6+parseInt(_0x55739b(0xf4))/0x7*(-parseInt(_0x55739b(0xe9))/0x8)+parseInt(_0x55739b(0xfd))/0x9+parseInt(_0x55739b(0xff))/0xa;if(_0x3fcc69===_0x5dc51b)break;else _0x374f47['push'](_0x374f47['shift']());}catch(_0x31849e){_0x374f47['push'](_0x374f47['shift']());}}}(_0x29ef,0xee1ba));var __decorate=this&&this[_0x5e44b5(0x110)]||function(_0x139d49,_0x500b17,_0x18e856,_0x26998c){var _0x237ef0=_0x5e44b5,_0x591f4f=arguments['length'],_0x469c5d=_0x591f4f<0x3?_0x500b17:_0x26998c===null?_0x26998c=Object[_0x237ef0(0x111)](_0x500b17,_0x18e856):_0x26998c,_0x48da11;if(typeof Reflect===_0x237ef0(0x100)&&typeof Reflect['decorate']===_0x237ef0(0xf0))_0x469c5d=Reflect[_0x237ef0(0xfb)](_0x139d49,_0x500b17,_0x18e856,_0x26998c);else{for(var _0x19a89e=_0x139d49['length']-0x1;_0x19a89e>=0x0;_0x19a89e--)if(_0x48da11=_0x139d49[_0x19a89e])_0x469c5d=(_0x591f4f<0x3?_0x48da11(_0x469c5d):_0x591f4f>0x3?_0x48da11(_0x500b17,_0x18e856,_0x469c5d):_0x48da11(_0x500b17,_0x18e856))||_0x469c5d;}return _0x591f4f>0x3&&_0x469c5d&&Object[_0x237ef0(0x107)](_0x500b17,_0x18e856,_0x469c5d),_0x469c5d;},__metadata=this&&this[_0x5e44b5(0x101)]||function(_0x18107d,_0x3d8397){var _0x349616=_0x5e44b5;if(typeof Reflect==='object'&&typeof Reflect[_0x349616(0xf9)]===_0x349616(0xf0))return Reflect['metadata'](_0x18107d,_0x3d8397);},__param=this&&this[_0x5e44b5(0xea)]||function(_0x546398,_0x109133){return function(_0x5bb370,_0x39be5a){_0x109133(_0x5bb370,_0x39be5a,_0x546398);};};Object[_0x5e44b5(0x107)](exports,'__esModule',{'value':!![]}),exports[_0x5e44b5(0x10c)]=void 0x0;function _0x29ef(){var _0xf72a7c=['prototype','__decorate','getOwnPropertyDescriptor','获取基础统计数据','Query','ApiBearerAuth','ApiOperation','@nestjs/common','485608CWbrxy','__param','7142496BjTHRG','getBaiduStatistics','4IPJrCb','3184988ODQadQ','UseGuards','function','Get','statistic','6WxqnIW','105UNkzOx','@nestjs/swagger','getChatStatistic','./statistic.service','getBaseStatistic','metadata','ApiTags','decorate','442967RcJNHr','10930023EXbAaX','statisticService','20240220BvkAwn','object','__metadata','baiduVisit','base','2721560MXJbhi','StatisticService','AdminAuthGuard','defineProperty','获取聊天绘画统计数据','chatStatistic','./dto/queryStatisticDto.dto','getBaiduVisit','StatisticController','design:paramtypes','design:returntype'];_0x29ef=function(){return _0xf72a7c;};return _0x29ef();}const statistic_service_1=require(_0x5e44b5(0xf7)),common_1=require(_0x5e44b5(0xe8)),swagger_1=require(_0x5e44b5(0xf5)),queryStatisticDto_dto_1=require(_0x5e44b5(0x10a)),adminAuth_guard_1=require('../../common/auth/adminAuth.guard');let StatisticController=class StatisticController{constructor(_0x3cbf6f){var _0x1e6c21=_0x5e44b5;this[_0x1e6c21(0xfe)]=_0x3cbf6f;}[_0x5e44b5(0xf8)](){var _0xb72f9=_0x5e44b5;return this[_0xb72f9(0xfe)][_0xb72f9(0xf8)]();}['getChatStatistic'](_0x968b4c){return this['statisticService']['getChatStatistic'](_0x968b4c);}[_0x5e44b5(0xec)](_0x5556fe){var _0x464523=_0x5e44b5;return this[_0x464523(0xfe)][_0x464523(0x10b)](_0x5556fe);}};__decorate([(0x0,common_1['Get'])(_0x5e44b5(0x103)),(0x0,swagger_1[_0x5e44b5(0xe7)])({'summary':_0x5e44b5(0x112)}),(0x0,common_1[_0x5e44b5(0xef)])(adminAuth_guard_1[_0x5e44b5(0x106)]),(0x0,swagger_1['ApiBearerAuth'])(),__metadata('design:type',Function),__metadata(_0x5e44b5(0x10d),[]),__metadata(_0x5e44b5(0x10e),void 0x0)],StatisticController[_0x5e44b5(0x10f)],'getBaseStatistic',null),__decorate([(0x0,common_1[_0x5e44b5(0xf1)])(_0x5e44b5(0x109)),(0x0,swagger_1[_0x5e44b5(0xe7)])({'summary':_0x5e44b5(0x108)}),(0x0,common_1[_0x5e44b5(0xef)])(adminAuth_guard_1['AdminAuthGuard']),(0x0,swagger_1['ApiBearerAuth'])(),__param(0x0,(0x0,common_1[_0x5e44b5(0xe5)])()),__metadata('design:type',Function),__metadata(_0x5e44b5(0x10d),[queryStatisticDto_dto_1['QueryStatisticDto']]),__metadata(_0x5e44b5(0x10e),void 0x0)],StatisticController[_0x5e44b5(0x10f)],_0x5e44b5(0xf6),null),__decorate([(0x0,common_1[_0x5e44b5(0xf1)])(_0x5e44b5(0x102)),(0x0,swagger_1[_0x5e44b5(0xe7)])({'summary':'获取百度统计数据'}),(0x0,common_1[_0x5e44b5(0xef)])(adminAuth_guard_1['AdminAuthGuard']),(0x0,swagger_1[_0x5e44b5(0xe6)])(),__param(0x0,(0x0,common_1['Query'])()),__metadata('design:type',Function),__metadata(_0x5e44b5(0x10d),[queryStatisticDto_dto_1['QueryStatisticDto']]),__metadata(_0x5e44b5(0x10e),void 0x0)],StatisticController['prototype'],_0x5e44b5(0xec),null),StatisticController=__decorate([(0x0,swagger_1[_0x5e44b5(0xfa)])(_0x5e44b5(0xf2)),(0x0,common_1['Controller'])(_0x5e44b5(0xf2)),__metadata(_0x5e44b5(0x10d),[statistic_service_1[_0x5e44b5(0x105)]])],StatisticController),exports['StatisticController']=StatisticController; |