YiAi/YiAiQuickDeploy/dist/modules/app/dto/createCats.dto.js

1 line
4.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

'use strict';var _0x467696=_0x1325;(function(_0x9d7814,_0x4efc2e){var _0x346ecc=_0x1325,_0xd89472=_0x9d7814();while(!![]){try{var _0x1c89f9=-parseInt(_0x346ecc(0x76))/0x1*(parseInt(_0x346ecc(0x80))/0x2)+parseInt(_0x346ecc(0x94))/0x3+parseInt(_0x346ecc(0x8f))/0x4*(parseInt(_0x346ecc(0x8b))/0x5)+parseInt(_0x346ecc(0x8e))/0x6*(-parseInt(_0x346ecc(0x85))/0x7)+parseInt(_0x346ecc(0x88))/0x8*(parseInt(_0x346ecc(0x7e))/0x9)+-parseInt(_0x346ecc(0x7b))/0xa+parseInt(_0x346ecc(0x95))/0xb*(parseInt(_0x346ecc(0x79))/0xc);if(_0x1c89f9===_0x4efc2e)break;else _0xd89472['push'](_0xd89472['shift']());}catch(_0x5e4799){_0xd89472['push'](_0xd89472['shift']());}}}(_0x3a76,0xc89fb));var __decorate=this&&this[_0x467696(0x81)]||function(_0x2d152b,_0x16037c,_0x3a1202,_0x2b3207){var _0xa127a8=_0x467696,_0x20c078=arguments[_0xa127a8(0x7a)],_0x1e8d33=_0x20c078<0x3?_0x16037c:_0x2b3207===null?_0x2b3207=Object['getOwnPropertyDescriptor'](_0x16037c,_0x3a1202):_0x2b3207,_0x4cb162;if(typeof Reflect===_0xa127a8(0x91)&&typeof Reflect[_0xa127a8(0x74)]===_0xa127a8(0x98))_0x1e8d33=Reflect[_0xa127a8(0x74)](_0x2d152b,_0x16037c,_0x3a1202,_0x2b3207);else{for(var _0x52e479=_0x2d152b[_0xa127a8(0x7a)]-0x1;_0x52e479>=0x0;_0x52e479--)if(_0x4cb162=_0x2d152b[_0x52e479])_0x1e8d33=(_0x20c078<0x3?_0x4cb162(_0x1e8d33):_0x20c078>0x3?_0x4cb162(_0x16037c,_0x3a1202,_0x1e8d33):_0x4cb162(_0x16037c,_0x3a1202))||_0x1e8d33;}return _0x20c078>0x3&&_0x1e8d33&&Object[_0xa127a8(0x7f)](_0x16037c,_0x3a1202,_0x1e8d33),_0x1e8d33;},__metadata=this&&this['__metadata']||function(_0x4e69c5,_0x404a67){var _0x2d3351=_0x467696;if(typeof Reflect===_0x2d3351(0x91)&&typeof Reflect[_0x2d3351(0x78)]===_0x2d3351(0x98))return Reflect['metadata'](_0x4e69c5,_0x404a67);};function _0x1325(_0x3664d3,_0xee147d){var _0x3a7665=_0x3a76();return _0x1325=function(_0x1325ae,_0x3465ae){_0x1325ae=_0x1325ae-0x74;var _0x1bd495=_0x3a7665[_0x1325ae];return _0x1bd495;},_0x1325(_0x3664d3,_0xee147d);}Object[_0x467696(0x7f)](exports,_0x467696(0x97),{'value':!![]}),exports[_0x467696(0x9a)]=void 0x0;function _0x3a76(){var _0x2d735=['套餐状态错误','status','6935180NrYCoX','class-validator','适用于编程编码、期望成为您的编程助手','18lPyByK','4BKHHbN','编程助手','object','app分类名称详情描述','IsNumber','445449aGqYTc','28038263kpragL','app分类名称是必传参数','__esModule','function','https://xxxx.png','CreateCatsDto','套餐状态\x200禁用\x201启用','des','decorate','prototype','5HLnUnf','order','metadata','12xeVGsU','length','8413950ciLmYG','IsOptional','name','9FulFHj','defineProperty','625738lmpNGj','__decorate','coverImg','app分类名称描述是必传参数','IsDefined','3021403gqlUQi','design:type','ApiProperty','3503440HckQnh'];_0x3a76=function(){return _0x2d735;};return _0x3a76();}const class_validator_1=require(_0x467696(0x8c)),swagger_1=require('@nestjs/swagger');class CreateCatsDto{}__decorate([(0x0,swagger_1[_0x467696(0x87)])({'example':_0x467696(0x90),'description':'app分类名称','required':!![]}),(0x0,class_validator_1[_0x467696(0x84)])({'message':_0x467696(0x96)}),__metadata('design:type',String)],CreateCatsDto[_0x467696(0x75)],_0x467696(0x7d),void 0x0),__decorate([(0x0,swagger_1['ApiProperty'])({'example':_0x467696(0x8d),'description':_0x467696(0x92),'required':![]}),(0x0,class_validator_1[_0x467696(0x84)])({'message':_0x467696(0x83)}),__metadata(_0x467696(0x86),String)],CreateCatsDto[_0x467696(0x75)],_0x467696(0x9c),void 0x0),__decorate([(0x0,swagger_1[_0x467696(0x87)])({'example':_0x467696(0x99),'description':'套餐封面图片'}),(0x0,class_validator_1[_0x467696(0x7c)])(),__metadata(_0x467696(0x86),String)],CreateCatsDto[_0x467696(0x75)],_0x467696(0x82),void 0x0),__decorate([(0x0,swagger_1[_0x467696(0x87)])({'example':0x64,'description':'套餐排序、数字越大越靠前','required':![]}),(0x0,class_validator_1[_0x467696(0x7c)])(),__metadata(_0x467696(0x86),Number)],CreateCatsDto[_0x467696(0x75)],_0x467696(0x77),void 0x0),__decorate([(0x0,swagger_1[_0x467696(0x87)])({'example':0x1,'description':_0x467696(0x9b),'required':!![]}),(0x0,class_validator_1[_0x467696(0x93)])({},{'message':'套餐状态必须是Number'}),(0x0,class_validator_1['IsIn'])([0x0,0x1,0x3,0x4,0x5],{'message':_0x467696(0x89)}),__metadata(_0x467696(0x86),Number)],CreateCatsDto[_0x467696(0x75)],_0x467696(0x8a),void 0x0),exports[_0x467696(0x9a)]=CreateCatsDto;