mirror of
https://github.com/xiaoyiweb/YiAi.git
synced 2025-09-26 13:16:39 +08:00
1 line
5.0 KiB
JavaScript
1 line
5.0 KiB
JavaScript
'use strict';var _0x4c6093=_0x2eee;(function(_0x58a6c5,_0x4a91f7){var _0x420f10=_0x2eee,_0x3bbfdf=_0x58a6c5();while(!![]){try{var _0x5a1e41=-parseInt(_0x420f10(0x66))/0x1*(parseInt(_0x420f10(0x83))/0x2)+-parseInt(_0x420f10(0x8e))/0x3+parseInt(_0x420f10(0x78))/0x4*(-parseInt(_0x420f10(0x80))/0x5)+parseInt(_0x420f10(0x7d))/0x6*(parseInt(_0x420f10(0x8f))/0x7)+parseInt(_0x420f10(0x71))/0x8+parseInt(_0x420f10(0x68))/0x9+parseInt(_0x420f10(0x72))/0xa;if(_0x5a1e41===_0x4a91f7)break;else _0x3bbfdf['push'](_0x3bbfdf['shift']());}catch(_0x56e032){_0x3bbfdf['push'](_0x3bbfdf['shift']());}}}(_0x1de2,0x3b0b6));function _0x1de2(){var _0x11cdc=['@nestjs/common','__metadata','UseGuards','design:paramtypes','getOwnPropertyDescriptor','260460fAThNH','231cngRRE','getBaiduVisit','length','13166rZwCpX','./statistic.service','2160261SxtACj','Controller','ApiOperation','design:type','getBaiduStatistics','getBaseStatistic','design:returntype','object','QueryStatisticDto','852768uNtToi','3016670iCpsmI','ApiTags','ApiBearerAuth','decorate','Query','statisticService','266620jDbTiz','statistic','@nestjs/swagger','function','AdminAuthGuard','50658ucVTAN','获取聊天绘画统计数据','./dto/queryStatisticDto.dto','35QELROI','metadata','prototype','20gljAgQ','defineProperty','../../common/auth/adminAuth.guard','StatisticController','getChatStatistic','Get'];_0x1de2=function(){return _0x11cdc;};return _0x1de2();}var __decorate=this&&this['__decorate']||function(_0x4f3503,_0x29aaac,_0xacae30,_0x43744a){var _0x141df5=_0x2eee,_0x17dd25=arguments[_0x141df5(0x91)],_0x553c61=_0x17dd25<0x3?_0x29aaac:_0x43744a===null?_0x43744a=Object[_0x141df5(0x8d)](_0x29aaac,_0xacae30):_0x43744a,_0x20c773;if(typeof Reflect===_0x141df5(0x6f)&&typeof Reflect[_0x141df5(0x75)]===_0x141df5(0x7b))_0x553c61=Reflect[_0x141df5(0x75)](_0x4f3503,_0x29aaac,_0xacae30,_0x43744a);else{for(var _0x2ceef5=_0x4f3503['length']-0x1;_0x2ceef5>=0x0;_0x2ceef5--)if(_0x20c773=_0x4f3503[_0x2ceef5])_0x553c61=(_0x17dd25<0x3?_0x20c773(_0x553c61):_0x17dd25>0x3?_0x20c773(_0x29aaac,_0xacae30,_0x553c61):_0x20c773(_0x29aaac,_0xacae30))||_0x553c61;}return _0x17dd25>0x3&&_0x553c61&&Object[_0x141df5(0x84)](_0x29aaac,_0xacae30,_0x553c61),_0x553c61;},__metadata=this&&this[_0x4c6093(0x8a)]||function(_0x278401,_0x49b41b){var _0x5e545e=_0x4c6093;if(typeof Reflect===_0x5e545e(0x6f)&&typeof Reflect['metadata']===_0x5e545e(0x7b))return Reflect[_0x5e545e(0x81)](_0x278401,_0x49b41b);},__param=this&&this['__param']||function(_0x17fe4c,_0x22c98a){return function(_0xb9687b,_0x2e12fe){_0x22c98a(_0xb9687b,_0x2e12fe,_0x17fe4c);};};function _0x2eee(_0x410d51,_0x545541){var _0x1de2cc=_0x1de2();return _0x2eee=function(_0x2eeefa,_0x41c75a){_0x2eeefa=_0x2eeefa-0x66;var _0x457615=_0x1de2cc[_0x2eeefa];return _0x457615;},_0x2eee(_0x410d51,_0x545541);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x4c6093(0x86)]=void 0x0;const statistic_service_1=require(_0x4c6093(0x67)),common_1=require(_0x4c6093(0x89)),swagger_1=require(_0x4c6093(0x7a)),queryStatisticDto_dto_1=require(_0x4c6093(0x7f)),adminAuth_guard_1=require(_0x4c6093(0x85));let StatisticController=class StatisticController{constructor(_0x232a9e){this['statisticService']=_0x232a9e;}[_0x4c6093(0x6d)](){return this['statisticService']['getBaseStatistic']();}[_0x4c6093(0x87)](_0x25c729){var _0x1bf35=_0x4c6093;return this[_0x1bf35(0x77)]['getChatStatistic'](_0x25c729);}[_0x4c6093(0x6c)](_0x251cce){var _0x44d73e=_0x4c6093;return this[_0x44d73e(0x77)][_0x44d73e(0x90)](_0x251cce);}};__decorate([(0x0,common_1['Get'])('base'),(0x0,swagger_1[_0x4c6093(0x6a)])({'summary':'获取基础统计数据'}),(0x0,common_1['UseGuards'])(adminAuth_guard_1[_0x4c6093(0x7c)]),(0x0,swagger_1[_0x4c6093(0x74)])(),__metadata(_0x4c6093(0x6b),Function),__metadata(_0x4c6093(0x8c),[]),__metadata('design:returntype',void 0x0)],StatisticController[_0x4c6093(0x82)],_0x4c6093(0x6d),null),__decorate([(0x0,common_1[_0x4c6093(0x88)])('chatStatistic'),(0x0,swagger_1[_0x4c6093(0x6a)])({'summary':_0x4c6093(0x7e)}),(0x0,common_1[_0x4c6093(0x8b)])(adminAuth_guard_1['AdminAuthGuard']),(0x0,swagger_1[_0x4c6093(0x74)])(),__param(0x0,(0x0,common_1[_0x4c6093(0x76)])()),__metadata('design:type',Function),__metadata(_0x4c6093(0x8c),[queryStatisticDto_dto_1[_0x4c6093(0x70)]]),__metadata(_0x4c6093(0x6e),void 0x0)],StatisticController[_0x4c6093(0x82)],'getChatStatistic',null),__decorate([(0x0,common_1[_0x4c6093(0x88)])('baiduVisit'),(0x0,swagger_1['ApiOperation'])({'summary':'获取百度统计数据'}),(0x0,common_1[_0x4c6093(0x8b)])(adminAuth_guard_1[_0x4c6093(0x7c)]),(0x0,swagger_1['ApiBearerAuth'])(),__param(0x0,(0x0,common_1[_0x4c6093(0x76)])()),__metadata(_0x4c6093(0x6b),Function),__metadata(_0x4c6093(0x8c),[queryStatisticDto_dto_1[_0x4c6093(0x70)]]),__metadata(_0x4c6093(0x6e),void 0x0)],StatisticController[_0x4c6093(0x82)],'getBaiduStatistics',null),StatisticController=__decorate([(0x0,swagger_1[_0x4c6093(0x73)])('statistic'),(0x0,common_1[_0x4c6093(0x69)])(_0x4c6093(0x79)),__metadata(_0x4c6093(0x8c),[statistic_service_1['StatisticService']])],StatisticController),exports['StatisticController']=StatisticController; |