mirror of https://github.com/fantasticit/think.git
Merge pull request #172 from fantasticit/feat/emial-validation
This commit is contained in:
commit
7c8452bb39
|
@ -46,6 +46,6 @@ export class ResetPasswordDto {
|
|||
|
||||
@MinLength(5, { message: '邮箱验证码至少5个字符' })
|
||||
@IsString({ message: '邮箱验证码错误(正确类型为:String)' })
|
||||
@IsNotEmpty({ message: '邮箱验证码不能为空' })
|
||||
@IsOptional({ message: '邮箱验证码不能为空' })
|
||||
verifyCode: string;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue