Files
YiAi/YiAiQuickDeploy/dist/modules/auth/dto/adminLogin.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';function _0x1f7f(){var _0xa481a2=['用户名最长不得超过30位','24EiCsFm','__decorate','1640DiyfgN','2120peJFHp','@nestjs/swagger','getOwnPropertyDescriptor','__esModule','IsNotEmpty','length','76307GILCrV','AdminLoginDto','decorate','用户名不能为空!','design:type','8756608IEDVDA','1143426hPNQeZ','metadata','6IvRKpf','用户密码不能为空!','用户名最短是两位数!','6213852aEzcnO','7081590zrXsCo','用户密码最长不能超过30位数','MaxLength','defineProperty','IsOptional','prototype','ApiProperty','1875UbpTuS','4709961CWyYbu','username','function','999999','1kPEdfC','__metadata'];_0x1f7f=function(){return _0xa481a2;};return _0x1f7f();}var _0x35fad8=_0x26f1;(function(_0x2e6df2,_0x7b7bb9){var _0x1b33eb=_0x26f1,_0xedd9ee=_0x2e6df2();while(!![]){try{var _0x900cff=-parseInt(_0x1b33eb(0x152))/0x1*(-parseInt(_0x1b33eb(0x140))/0x2)+-parseInt(_0x1b33eb(0x14d))/0x3*(parseInt(_0x1b33eb(0x134))/0x4)+-parseInt(_0x1b33eb(0x146))/0x5*(parseInt(_0x1b33eb(0x142))/0x6)+-parseInt(_0x1b33eb(0x13f))/0x7+parseInt(_0x1b33eb(0x131))/0x8*(parseInt(_0x1b33eb(0x14e))/0x9)+-parseInt(_0x1b33eb(0x133))/0xa*(-parseInt(_0x1b33eb(0x13a))/0xb)+parseInt(_0x1b33eb(0x145))/0xc;if(_0x900cff===_0x7b7bb9)break;else _0xedd9ee['push'](_0xedd9ee['shift']());}catch(_0x5b19a3){_0xedd9ee['push'](_0xedd9ee['shift']());}}}(_0x1f7f,0xc2fd5));function _0x26f1(_0x4143b4,_0x25e181){var _0x1f7f80=_0x1f7f();return _0x26f1=function(_0x26f18c,_0x306561){_0x26f18c=_0x26f18c-0x130;var _0x1fdb7c=_0x1f7f80[_0x26f18c];return _0x1fdb7c;},_0x26f1(_0x4143b4,_0x25e181);}var __decorate=this&&this[_0x35fad8(0x132)]||function(_0x715a57,_0x4348cd,_0x45e3fa,_0x576ff4){var _0x4b7f89=_0x35fad8,_0x5238ce=arguments[_0x4b7f89(0x139)],_0x431926=_0x5238ce<0x3?_0x4348cd:_0x576ff4===null?_0x576ff4=Object[_0x4b7f89(0x136)](_0x4348cd,_0x45e3fa):_0x576ff4,_0x86bbfa;if(typeof Reflect==='object'&&typeof Reflect[_0x4b7f89(0x13c)]===_0x4b7f89(0x150))_0x431926=Reflect['decorate'](_0x715a57,_0x4348cd,_0x45e3fa,_0x576ff4);else{for(var _0x35ef10=_0x715a57[_0x4b7f89(0x139)]-0x1;_0x35ef10>=0x0;_0x35ef10--)if(_0x86bbfa=_0x715a57[_0x35ef10])_0x431926=(_0x5238ce<0x3?_0x86bbfa(_0x431926):_0x5238ce>0x3?_0x86bbfa(_0x4348cd,_0x45e3fa,_0x431926):_0x86bbfa(_0x4348cd,_0x45e3fa))||_0x431926;}return _0x5238ce>0x3&&_0x431926&&Object[_0x4b7f89(0x149)](_0x4348cd,_0x45e3fa,_0x431926),_0x431926;},__metadata=this&&this[_0x35fad8(0x153)]||function(_0x51b4a8,_0xbcc0d4){var _0x4434e5=_0x35fad8;if(typeof Reflect==='object'&&typeof Reflect[_0x4434e5(0x141)]===_0x4434e5(0x150))return Reflect[_0x4434e5(0x141)](_0x51b4a8,_0xbcc0d4);};Object[_0x35fad8(0x149)](exports,_0x35fad8(0x137),{'value':!![]}),exports[_0x35fad8(0x13b)]=void 0x0;const class_validator_1=require('class-validator'),swagger_1=require(_0x35fad8(0x135));class AdminLoginDto{}__decorate([(0x0,swagger_1['ApiProperty'])({'example':'super','description':'邮箱'}),(0x0,class_validator_1[_0x35fad8(0x138)])({'message':_0x35fad8(0x13d)}),(0x0,class_validator_1['MinLength'])(0x2,{'message':_0x35fad8(0x144)}),(0x0,class_validator_1[_0x35fad8(0x148)])(0x1e,{'message':_0x35fad8(0x130)}),(0x0,class_validator_1[_0x35fad8(0x14a)])(),__metadata(_0x35fad8(0x13e),String)],AdminLoginDto[_0x35fad8(0x14b)],_0x35fad8(0x14f),void 0x0),__decorate([(0x0,swagger_1[_0x35fad8(0x14c)])({'example':_0x35fad8(0x151),'description':'密码'}),(0x0,class_validator_1['IsNotEmpty'])({'message':_0x35fad8(0x143)}),(0x0,class_validator_1['MinLength'])(0x6,{'message':'用户密码最低需要大于6位数'}),(0x0,class_validator_1['MaxLength'])(0x1e,{'message':_0x35fad8(0x147)}),__metadata(_0x35fad8(0x13e),String)],AdminLoginDto[_0x35fad8(0x14b)],'password',void 0x0),exports[_0x35fad8(0x13b)]=AdminLoginDto;