mirror of
https://github.com/xiaoyiweb/YiAi.git
synced 2025-09-26 13:16:39 +08:00
1 line
10 KiB
JavaScript
1 line
10 KiB
JavaScript
'use strict';const _0x27d93e=_0x4f38;(function(_0x4ac832,_0x108329){const _0x148f95=_0x4f38,_0x23b9a7=_0x4ac832();while(!![]){try{const _0x4d5028=-parseInt(_0x148f95(0x17a))/0x1*(parseInt(_0x148f95(0x1b3))/0x2)+parseInt(_0x148f95(0x168))/0x3*(-parseInt(_0x148f95(0x174))/0x4)+parseInt(_0x148f95(0x182))/0x5*(-parseInt(_0x148f95(0x16e))/0x6)+-parseInt(_0x148f95(0x1a2))/0x7*(parseInt(_0x148f95(0x167))/0x8)+parseInt(_0x148f95(0x1a5))/0x9*(parseInt(_0x148f95(0x18b))/0xa)+parseInt(_0x148f95(0x1a7))/0xb*(-parseInt(_0x148f95(0x19d))/0xc)+parseInt(_0x148f95(0x177))/0xd*(parseInt(_0x148f95(0x183))/0xe);if(_0x4d5028===_0x108329)break;else _0x23b9a7['push'](_0x23b9a7['shift']());}catch(_0x1e4a4d){_0x23b9a7['push'](_0x23b9a7['shift']());}}}(_0x2553,0x20d63));function _0x2553(){const _0x5cc74d=['@nestjs/common','4pLOEWC','Post','QueryByAppIdDto','1339QNTgVU','__esModule','./dto/recDrawImg.dto','27546tqIRfi','Req','del','length','QuerMyChatLogDto','__param','清空一组对话','exportExcel','20VYbDHZ','73122ssEwSX','chatLogService','ChatLogController','DelByGroupDto','导出问答记录','Body','./dto/queryByAppId.dto','查询我的问答记录','80QbIppy','Get','UseGuards','ApiOperation','QuerAllDrawLogDto','chatAll','Controller','DelDto','queryAllChatLog','查询所有的绘制记录','Res','recDrawImgDto','./dto/exportExcelChatlog.dto','../../common/auth/superAuth.guard','../../common/auth/adminAuth.guard','__decorate','./chatLog.service','查询所有的问答记录','1713864TZEHHY','prototype','querAllDrawLog','delByGroupId','getOwnPropertyDescriptor','7peUhrK','metadata','byAppId','205146omIZdK','./dto/queryMyChatLog.dto','11eZktgy','drawAll','ExportExcelChatlogDto','design:paramtypes','function','Query','querDrawLog','ApiTags','JwtAuthGuard','querAllChatLog','design:type','defineProperty','2IiupBy','查询我的绘制记录','./dto/delByGroup.dto','decorate','chatList','94504LMTZRi','780411GuqfqT','recDrawImg','QuerAllChatLogDto','SuperAuthGuard','查询某个应用的问答记录','ApiBearerAuth','215256XetCcg','design:returntype','./dto/queryAllChatLog.dto','推荐此图片对外展示','object'];_0x2553=function(){return _0x5cc74d;};return _0x2553();}function _0x4f38(_0x52ba4d,_0x55949d){const _0x255369=_0x2553();return _0x4f38=function(_0x4f38e7,_0x4bf337){_0x4f38e7=_0x4f38e7-0x167;let _0x3a6056=_0x255369[_0x4f38e7];return _0x3a6056;},_0x4f38(_0x52ba4d,_0x55949d);}var __decorate=this&&this[_0x27d93e(0x19a)]||function(_0x4f77f1,_0x349e4c,_0x58f9c3,_0x21b244){const _0x2cd2be=_0x27d93e;var _0x179e28=arguments[_0x2cd2be(0x17d)],_0x22c108=_0x179e28<0x3?_0x349e4c:_0x21b244===null?_0x21b244=Object[_0x2cd2be(0x1a1)](_0x349e4c,_0x58f9c3):_0x21b244,_0x19e4e8;if(typeof Reflect===_0x2cd2be(0x172)&&typeof Reflect[_0x2cd2be(0x1b6)]===_0x2cd2be(0x1ab))_0x22c108=Reflect[_0x2cd2be(0x1b6)](_0x4f77f1,_0x349e4c,_0x58f9c3,_0x21b244);else{for(var _0x41f2e7=_0x4f77f1['length']-0x1;_0x41f2e7>=0x0;_0x41f2e7--)if(_0x19e4e8=_0x4f77f1[_0x41f2e7])_0x22c108=(_0x179e28<0x3?_0x19e4e8(_0x22c108):_0x179e28>0x3?_0x19e4e8(_0x349e4c,_0x58f9c3,_0x22c108):_0x19e4e8(_0x349e4c,_0x58f9c3))||_0x22c108;}return _0x179e28>0x3&&_0x22c108&&Object['defineProperty'](_0x349e4c,_0x58f9c3,_0x22c108),_0x22c108;},__metadata=this&&this['__metadata']||function(_0x5dff5c,_0x111344){const _0x54f50e=_0x27d93e;if(typeof Reflect===_0x54f50e(0x172)&&typeof Reflect[_0x54f50e(0x1a3)]===_0x54f50e(0x1ab))return Reflect[_0x54f50e(0x1a3)](_0x5dff5c,_0x111344);},__param=this&&this[_0x27d93e(0x17f)]||function(_0x1536c8,_0x4574ce){return function(_0x132169,_0x15b425){_0x4574ce(_0x132169,_0x15b425,_0x1536c8);};};Object[_0x27d93e(0x1b2)](exports,_0x27d93e(0x178),{'value':!![]}),exports[_0x27d93e(0x185)]=void 0x0;const common_1=require(_0x27d93e(0x173)),swagger_1=require('@nestjs/swagger'),jwtAuth_guard_1=require('../../common/auth/jwtAuth.guard'),chatLog_service_1=require(_0x27d93e(0x19b)),queryAllDrawLog_dto_1=require('./dto/queryAllDrawLog.dto'),queryAllChatLog_dto_1=require(_0x27d93e(0x170)),recDrawImg_dto_1=require(_0x27d93e(0x179)),superAuth_guard_1=require(_0x27d93e(0x198)),adminAuth_guard_1=require(_0x27d93e(0x199)),queryMyChatLog_dto_1=require(_0x27d93e(0x1a6)),exportExcelChatlog_dto_1=require(_0x27d93e(0x197)),chatList_dto_1=require('./dto/chatList.dto'),del_dto_1=require('./dto/del.dto'),delByGroup_dto_1=require(_0x27d93e(0x1b5)),queryByAppId_dto_1=require(_0x27d93e(0x189));let ChatLogController=class ChatLogController{constructor(_0x97226f){this['chatLogService']=_0x97226f;}[_0x27d93e(0x1ad)](_0x29b425,_0x3d4db2){return this['chatLogService']['querDrawLog'](_0x3d4db2,_0x29b425);}[_0x27d93e(0x169)](_0x1a9faa){const _0x4c0fb9=_0x27d93e;return this[_0x4c0fb9(0x184)][_0x4c0fb9(0x169)](_0x1a9faa);}[_0x27d93e(0x19f)](_0x28a738){const _0x385a13=_0x27d93e;return this[_0x385a13(0x184)][_0x385a13(0x19f)](_0x28a738);}[_0x27d93e(0x193)](_0x290f28,_0x27de49){const _0x31399c=_0x27d93e;return this['chatLogService'][_0x31399c(0x1b0)](_0x290f28,_0x27de49);}[_0x27d93e(0x181)](_0x18efe4,_0xa22b7e){const _0xf3dadf=_0x27d93e;return this['chatLogService'][_0xf3dadf(0x181)](_0x18efe4,_0xa22b7e);}['chatList'](_0x5d5350,_0x478a43){const _0x658dac=_0x27d93e;return this[_0x658dac(0x184)][_0x658dac(0x1b7)](_0x5d5350,_0x478a43);}[_0x27d93e(0x17c)](_0x1eae93,_0x3721ad){const _0x3c92ae=_0x27d93e;return this[_0x3c92ae(0x184)]['deleteChatLog'](_0x1eae93,_0x3721ad);}[_0x27d93e(0x1a0)](_0x58ca61,_0x2a860d){const _0x875ee0=_0x27d93e;return this['chatLogService'][_0x875ee0(0x1a0)](_0x58ca61,_0x2a860d);}[_0x27d93e(0x1a4)](_0x3e57cb,_0x4eab0e){const _0x176e9d=_0x27d93e;return this[_0x176e9d(0x184)]['byAppId'](_0x3e57cb,_0x4eab0e);}};__decorate([(0x0,common_1[_0x27d93e(0x18c)])('draw'),(0x0,swagger_1[_0x27d93e(0x18e)])({'summary':_0x27d93e(0x1b4)}),(0x0,swagger_1[_0x27d93e(0x16d)])(),(0x0,common_1[_0x27d93e(0x18d)])(jwtAuth_guard_1[_0x27d93e(0x1af)]),__param(0x0,(0x0,common_1[_0x27d93e(0x1ac)])()),__param(0x1,(0x0,common_1[_0x27d93e(0x17b)])()),__metadata(_0x27d93e(0x1b1),Function),__metadata(_0x27d93e(0x1aa),[queryMyChatLog_dto_1[_0x27d93e(0x17e)],Object]),__metadata('design:returntype',void 0x0)],ChatLogController[_0x27d93e(0x19e)],_0x27d93e(0x1ad),null),__decorate([(0x0,common_1[_0x27d93e(0x175)])(_0x27d93e(0x169)),(0x0,swagger_1[_0x27d93e(0x18e)])({'summary':_0x27d93e(0x171)}),(0x0,swagger_1[_0x27d93e(0x16d)])(),(0x0,common_1[_0x27d93e(0x18d)])(superAuth_guard_1[_0x27d93e(0x16b)]),__param(0x0,(0x0,common_1[_0x27d93e(0x188)])()),__metadata('design:type',Function),__metadata(_0x27d93e(0x1aa),[recDrawImg_dto_1[_0x27d93e(0x196)]]),__metadata(_0x27d93e(0x16f),void 0x0)],ChatLogController[_0x27d93e(0x19e)],_0x27d93e(0x169),null),__decorate([(0x0,common_1['Get'])(_0x27d93e(0x1a8)),(0x0,swagger_1['ApiOperation'])({'summary':_0x27d93e(0x194)}),__param(0x0,(0x0,common_1[_0x27d93e(0x1ac)])()),__metadata(_0x27d93e(0x1b1),Function),__metadata(_0x27d93e(0x1aa),[queryAllDrawLog_dto_1[_0x27d93e(0x18f)]]),__metadata(_0x27d93e(0x16f),void 0x0)],ChatLogController['prototype'],_0x27d93e(0x19f),null),__decorate([(0x0,common_1[_0x27d93e(0x18c)])(_0x27d93e(0x190)),(0x0,swagger_1[_0x27d93e(0x18e)])({'summary':_0x27d93e(0x19c)}),(0x0,swagger_1[_0x27d93e(0x16d)])(),(0x0,common_1[_0x27d93e(0x18d)])(adminAuth_guard_1['AdminAuthGuard']),__param(0x0,(0x0,common_1[_0x27d93e(0x1ac)])()),__param(0x1,(0x0,common_1['Req'])()),__metadata(_0x27d93e(0x1b1),Function),__metadata(_0x27d93e(0x1aa),[queryAllChatLog_dto_1[_0x27d93e(0x16a)],Object]),__metadata(_0x27d93e(0x16f),void 0x0)],ChatLogController['prototype'],_0x27d93e(0x193),null),__decorate([(0x0,common_1[_0x27d93e(0x175)])(_0x27d93e(0x181)),(0x0,swagger_1[_0x27d93e(0x18e)])({'summary':_0x27d93e(0x187)}),(0x0,swagger_1[_0x27d93e(0x16d)])(),__param(0x0,(0x0,common_1[_0x27d93e(0x188)])()),__param(0x1,(0x0,common_1[_0x27d93e(0x195)])()),__metadata('design:type',Function),__metadata('design:paramtypes',[exportExcelChatlog_dto_1[_0x27d93e(0x1a9)],Object]),__metadata(_0x27d93e(0x16f),void 0x0)],ChatLogController['prototype'],_0x27d93e(0x181),null),__decorate([(0x0,common_1['Get'])(_0x27d93e(0x1b7)),(0x0,swagger_1[_0x27d93e(0x18e)])({'summary':_0x27d93e(0x18a)}),(0x0,swagger_1[_0x27d93e(0x16d)])(),(0x0,common_1[_0x27d93e(0x18d)])(jwtAuth_guard_1['JwtAuthGuard']),__param(0x0,(0x0,common_1[_0x27d93e(0x17b)])()),__param(0x1,(0x0,common_1[_0x27d93e(0x1ac)])()),__metadata('design:type',Function),__metadata(_0x27d93e(0x1aa),[Object,chatList_dto_1['ChatListDto']]),__metadata(_0x27d93e(0x16f),void 0x0)],ChatLogController[_0x27d93e(0x19e)],'chatList',null),__decorate([(0x0,common_1['Post'])(_0x27d93e(0x17c)),(0x0,swagger_1[_0x27d93e(0x18e)])({'summary':'删除我的问答记录'}),(0x0,swagger_1['ApiBearerAuth'])(),(0x0,common_1[_0x27d93e(0x18d)])(jwtAuth_guard_1[_0x27d93e(0x1af)]),__param(0x0,(0x0,common_1[_0x27d93e(0x17b)])()),__param(0x1,(0x0,common_1[_0x27d93e(0x188)])()),__metadata(_0x27d93e(0x1b1),Function),__metadata(_0x27d93e(0x1aa),[Object,del_dto_1[_0x27d93e(0x192)]]),__metadata(_0x27d93e(0x16f),void 0x0)],ChatLogController[_0x27d93e(0x19e)],_0x27d93e(0x17c),null),__decorate([(0x0,common_1['Post'])(_0x27d93e(0x1a0)),(0x0,swagger_1[_0x27d93e(0x18e)])({'summary':_0x27d93e(0x180)}),(0x0,swagger_1['ApiBearerAuth'])(),(0x0,common_1[_0x27d93e(0x18d)])(jwtAuth_guard_1['JwtAuthGuard']),__param(0x0,(0x0,common_1['Req'])()),__param(0x1,(0x0,common_1['Body'])()),__metadata(_0x27d93e(0x1b1),Function),__metadata(_0x27d93e(0x1aa),[Object,delByGroup_dto_1[_0x27d93e(0x186)]]),__metadata('design:returntype',void 0x0)],ChatLogController[_0x27d93e(0x19e)],'delByGroupId',null),__decorate([(0x0,common_1[_0x27d93e(0x18c)])(_0x27d93e(0x1a4)),(0x0,swagger_1[_0x27d93e(0x18e)])({'summary':_0x27d93e(0x16c)}),(0x0,swagger_1['ApiBearerAuth'])(),(0x0,common_1['UseGuards'])(jwtAuth_guard_1[_0x27d93e(0x1af)]),__param(0x0,(0x0,common_1['Req'])()),__param(0x1,(0x0,common_1['Query'])()),__metadata(_0x27d93e(0x1b1),Function),__metadata('design:paramtypes',[Object,queryByAppId_dto_1[_0x27d93e(0x176)]]),__metadata(_0x27d93e(0x16f),void 0x0)],ChatLogController[_0x27d93e(0x19e)],'byAppId',null),ChatLogController=__decorate([(0x0,common_1[_0x27d93e(0x191)])('chatLog'),(0x0,swagger_1[_0x27d93e(0x1ae)])('ChatLog'),__metadata(_0x27d93e(0x1aa),[chatLog_service_1['ChatLogService']])],ChatLogController),exports[_0x27d93e(0x185)]=ChatLogController; |