YiAi/YiAiQuickDeploy/dist/modules/statistic/statistic.controller.js
2024-02-06 13:43:30 +08:00

1 line
5.1 KiB
JavaScript

'use strict';var _0x2c13ab=_0x1887;(function(_0x13f6eb,_0x252ec2){var _0x4447ef=_0x1887,_0x3df0ac=_0x13f6eb();while(!![]){try{var _0x520df7=-parseInt(_0x4447ef(0x107))/0x1+-parseInt(_0x4447ef(0xfb))/0x2+-parseInt(_0x4447ef(0x11b))/0x3*(-parseInt(_0x4447ef(0xfd))/0x4)+parseInt(_0x4447ef(0x11a))/0x5*(-parseInt(_0x4447ef(0xfe))/0x6)+-parseInt(_0x4447ef(0xf9))/0x7*(parseInt(_0x4447ef(0x115))/0x8)+parseInt(_0x4447ef(0x108))/0x9+parseInt(_0x4447ef(0x10d))/0xa;if(_0x520df7===_0x252ec2)break;else _0x3df0ac['push'](_0x3df0ac['shift']());}catch(_0x5baab7){_0x3df0ac['push'](_0x3df0ac['shift']());}}}(_0x23c4,0x5194f));var __decorate=this&&this['__decorate']||function(_0x1bfe2e,_0x56fae9,_0x170807,_0x2381a7){var _0x335775=_0x1887,_0x3a6e5b=arguments[_0x335775(0x10b)],_0x21d14d=_0x3a6e5b<0x3?_0x56fae9:_0x2381a7===null?_0x2381a7=Object['getOwnPropertyDescriptor'](_0x56fae9,_0x170807):_0x2381a7,_0x413913;if(typeof Reflect===_0x335775(0x116)&&typeof Reflect[_0x335775(0x11c)]===_0x335775(0x11d))_0x21d14d=Reflect[_0x335775(0x11c)](_0x1bfe2e,_0x56fae9,_0x170807,_0x2381a7);else{for(var _0x1317f3=_0x1bfe2e[_0x335775(0x10b)]-0x1;_0x1317f3>=0x0;_0x1317f3--)if(_0x413913=_0x1bfe2e[_0x1317f3])_0x21d14d=(_0x3a6e5b<0x3?_0x413913(_0x21d14d):_0x3a6e5b>0x3?_0x413913(_0x56fae9,_0x170807,_0x21d14d):_0x413913(_0x56fae9,_0x170807))||_0x21d14d;}return _0x3a6e5b>0x3&&_0x21d14d&&Object[_0x335775(0x112)](_0x56fae9,_0x170807,_0x21d14d),_0x21d14d;},__metadata=this&&this['__metadata']||function(_0x2ce69a,_0x2e7e6e){var _0x503001=_0x1887;if(typeof Reflect===_0x503001(0x116)&&typeof Reflect[_0x503001(0x105)]===_0x503001(0x11d))return Reflect[_0x503001(0x105)](_0x2ce69a,_0x2e7e6e);},__param=this&&this['__param']||function(_0x2c987b,_0x3ae631){return function(_0x43970a,_0x34f7c0){_0x3ae631(_0x43970a,_0x34f7c0,_0x2c987b);};};function _0x23c4(){var _0x2da065=['getBaseStatistic','StatisticController','metadata','./statistic.service','545057KozhFC','2780820FRRuYs','@nestjs/common','design:type','length','ApiTags','13914040JfhKXe','baiduVisit','获取百度统计数据','ApiOperation','chatStatistic','defineProperty','QueryStatisticDto','Controller','1208oSUfoN','object','../../common/auth/adminAuth.guard','getChatStatistic','UseGuards','729670RWCbHq','15PwOxJq','decorate','function','Get','statistic','getBaiduVisit','Query','获取聊天绘画统计数据','design:paramtypes','statisticService','7427zdAwRl','design:returntype','708092VbcRtg','prototype','221460KTzDVn','24sEERJB','@nestjs/swagger','AdminAuthGuard','获取基础统计数据','ApiBearerAuth'];_0x23c4=function(){return _0x2da065;};return _0x23c4();}function _0x1887(_0x463d0e,_0x2cafe2){var _0x23c495=_0x23c4();return _0x1887=function(_0x1887e2,_0x33f8c6){_0x1887e2=_0x1887e2-0xf5;var _0x32a5ca=_0x23c495[_0x1887e2];return _0x32a5ca;},_0x1887(_0x463d0e,_0x2cafe2);}Object[_0x2c13ab(0x112)](exports,'__esModule',{'value':!![]}),exports[_0x2c13ab(0x104)]=void 0x0;const statistic_service_1=require(_0x2c13ab(0x106)),common_1=require(_0x2c13ab(0x109)),swagger_1=require(_0x2c13ab(0xff)),queryStatisticDto_dto_1=require('./dto/queryStatisticDto.dto'),adminAuth_guard_1=require(_0x2c13ab(0x117));let StatisticController=class StatisticController{constructor(_0x2943e1){this['statisticService']=_0x2943e1;}[_0x2c13ab(0x103)](){var _0x3925e1=_0x2c13ab;return this[_0x3925e1(0xf8)][_0x3925e1(0x103)]();}[_0x2c13ab(0x118)](_0xae1fef){var _0x1c0e54=_0x2c13ab;return this[_0x1c0e54(0xf8)]['getChatStatistic'](_0xae1fef);}['getBaiduStatistics'](_0x14a540){var _0x3cf5ed=_0x2c13ab;return this[_0x3cf5ed(0xf8)][_0x3cf5ed(0x120)](_0x14a540);}};__decorate([(0x0,common_1[_0x2c13ab(0x11e)])('base'),(0x0,swagger_1['ApiOperation'])({'summary':_0x2c13ab(0x101)}),(0x0,common_1['UseGuards'])(adminAuth_guard_1[_0x2c13ab(0x100)]),(0x0,swagger_1[_0x2c13ab(0x102)])(),__metadata(_0x2c13ab(0x10a),Function),__metadata('design:paramtypes',[]),__metadata(_0x2c13ab(0xfa),void 0x0)],StatisticController[_0x2c13ab(0xfc)],'getBaseStatistic',null),__decorate([(0x0,common_1['Get'])(_0x2c13ab(0x111)),(0x0,swagger_1[_0x2c13ab(0x110)])({'summary':_0x2c13ab(0xf6)}),(0x0,common_1['UseGuards'])(adminAuth_guard_1['AdminAuthGuard']),(0x0,swagger_1[_0x2c13ab(0x102)])(),__param(0x0,(0x0,common_1[_0x2c13ab(0xf5)])()),__metadata(_0x2c13ab(0x10a),Function),__metadata(_0x2c13ab(0xf7),[queryStatisticDto_dto_1[_0x2c13ab(0x113)]]),__metadata(_0x2c13ab(0xfa),void 0x0)],StatisticController['prototype'],_0x2c13ab(0x118),null),__decorate([(0x0,common_1[_0x2c13ab(0x11e)])(_0x2c13ab(0x10e)),(0x0,swagger_1[_0x2c13ab(0x110)])({'summary':_0x2c13ab(0x10f)}),(0x0,common_1[_0x2c13ab(0x119)])(adminAuth_guard_1['AdminAuthGuard']),(0x0,swagger_1[_0x2c13ab(0x102)])(),__param(0x0,(0x0,common_1[_0x2c13ab(0xf5)])()),__metadata(_0x2c13ab(0x10a),Function),__metadata(_0x2c13ab(0xf7),[queryStatisticDto_dto_1[_0x2c13ab(0x113)]]),__metadata('design:returntype',void 0x0)],StatisticController[_0x2c13ab(0xfc)],'getBaiduStatistics',null),StatisticController=__decorate([(0x0,swagger_1[_0x2c13ab(0x10c)])(_0x2c13ab(0x11f)),(0x0,common_1[_0x2c13ab(0x114)])('statistic'),__metadata(_0x2c13ab(0xf7),[statistic_service_1['StatisticService']])],StatisticController),exports[_0x2c13ab(0x104)]=StatisticController;