Files
YiAi/YiAiQuickDeploy/dist/modules/auth/dto/authLogin.dto.js

1 line
3.7 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 _0x2e5a54=_0x2cb7;function _0x5f55(){var _0x509bfa=['999999','MinLength','用户密码不能为空!','IsNotEmpty','__esModule','getOwnPropertyDescriptor','class-validator','design:type','54578tNEpyb','password','9mTocTU','object','MaxLength','decorate','defineProperty','229224xjZcmN','177rswkVa','410939jchkUq','__decorate','10206294HYpofo','function','@nestjs/swagger','prototype','用户密码最长不能超过30位数','用户名最短是两位数!','__metadata','521540SMBntr','uid','super','用户密码最低需要大于6位数','550552pDzvwh','3647862sqUaUg','username','ApiProperty','length'];_0x5f55=function(){return _0x509bfa;};return _0x5f55();}(function(_0x4337ad,_0x50fecd){var _0x8f83c=_0x2cb7,_0x473354=_0x4337ad();while(!![]){try{var _0x5ebcbf=parseInt(_0x8f83c(0x74))/0x1+parseInt(_0x8f83c(0x6b))/0x2*(parseInt(_0x8f83c(0x73))/0x3)+-parseInt(_0x8f83c(0x81))/0x4+-parseInt(_0x8f83c(0x7d))/0x5+parseInt(_0x8f83c(0x82))/0x6+-parseInt(_0x8f83c(0x76))/0x7+parseInt(_0x8f83c(0x72))/0x8*(-parseInt(_0x8f83c(0x6d))/0x9);if(_0x5ebcbf===_0x50fecd)break;else _0x473354['push'](_0x473354['shift']());}catch(_0x4cad69){_0x473354['push'](_0x473354['shift']());}}}(_0x5f55,0xdbce6));function _0x2cb7(_0x2e80c8,_0x518737){var _0x5f552b=_0x5f55();return _0x2cb7=function(_0x2cb7f8,_0x245511){_0x2cb7f8=_0x2cb7f8-0x66;var _0x47ae55=_0x5f552b[_0x2cb7f8];return _0x47ae55;},_0x2cb7(_0x2e80c8,_0x518737);}var __decorate=this&&this[_0x2e5a54(0x75)]||function(_0x3dee29,_0x2499da,_0x2f8b62,_0x134542){var _0x14e5fd=_0x2e5a54,_0x430ea5=arguments[_0x14e5fd(0x85)],_0x3a3efb=_0x430ea5<0x3?_0x2499da:_0x134542===null?_0x134542=Object[_0x14e5fd(0x68)](_0x2499da,_0x2f8b62):_0x134542,_0x16d88a;if(typeof Reflect===_0x14e5fd(0x6e)&&typeof Reflect[_0x14e5fd(0x70)]===_0x14e5fd(0x77))_0x3a3efb=Reflect[_0x14e5fd(0x70)](_0x3dee29,_0x2499da,_0x2f8b62,_0x134542);else{for(var _0x4d95d2=_0x3dee29[_0x14e5fd(0x85)]-0x1;_0x4d95d2>=0x0;_0x4d95d2--)if(_0x16d88a=_0x3dee29[_0x4d95d2])_0x3a3efb=(_0x430ea5<0x3?_0x16d88a(_0x3a3efb):_0x430ea5>0x3?_0x16d88a(_0x2499da,_0x2f8b62,_0x3a3efb):_0x16d88a(_0x2499da,_0x2f8b62))||_0x3a3efb;}return _0x430ea5>0x3&&_0x3a3efb&&Object['defineProperty'](_0x2499da,_0x2f8b62,_0x3a3efb),_0x3a3efb;},__metadata=this&&this[_0x2e5a54(0x7c)]||function(_0x5afefe,_0x18df48){var _0x20e2bc=_0x2e5a54;if(typeof Reflect==='object'&&typeof Reflect['metadata']===_0x20e2bc(0x77))return Reflect['metadata'](_0x5afefe,_0x18df48);};Object[_0x2e5a54(0x71)](exports,_0x2e5a54(0x67),{'value':!![]}),exports['UserLoginDto']=void 0x0;const class_validator_1=require(_0x2e5a54(0x69)),swagger_1=require(_0x2e5a54(0x78));class UserLoginDto{}__decorate([(0x0,swagger_1['ApiProperty'])({'example':_0x2e5a54(0x7f),'description':'邮箱'}),(0x0,class_validator_1[_0x2e5a54(0x66)])({'message':'用户名不能为空!'}),(0x0,class_validator_1[_0x2e5a54(0x87)])(0x2,{'message':_0x2e5a54(0x7b)}),(0x0,class_validator_1[_0x2e5a54(0x6f)])(0x1e,{'message':'用户名最长不得超过30位'}),(0x0,class_validator_1['IsOptional'])(),__metadata(_0x2e5a54(0x6a),String)],UserLoginDto[_0x2e5a54(0x79)],_0x2e5a54(0x83),void 0x0),__decorate([(0x0,swagger_1[_0x2e5a54(0x84)])({'example':0x1,'description':'用户ID'}),(0x0,class_validator_1['IsOptional'])(),__metadata(_0x2e5a54(0x6a),Number)],UserLoginDto[_0x2e5a54(0x79)],_0x2e5a54(0x7e),void 0x0),__decorate([(0x0,swagger_1[_0x2e5a54(0x84)])({'example':_0x2e5a54(0x86),'description':'密码'}),(0x0,class_validator_1[_0x2e5a54(0x66)])({'message':_0x2e5a54(0x88)}),(0x0,class_validator_1['MinLength'])(0x6,{'message':_0x2e5a54(0x80)}),(0x0,class_validator_1[_0x2e5a54(0x6f)])(0x1e,{'message':_0x2e5a54(0x7a)}),__metadata(_0x2e5a54(0x6a),String)],UserLoginDto[_0x2e5a54(0x79)],_0x2e5a54(0x6c),void 0x0),exports['UserLoginDto']=UserLoginDto;