Merge pull request #172 from fantasticit/feat/emial-validation

pull/174/head
fantasticit 2022-08-17 18:26:22 +08:00 committed by GitHub
commit 7c8452bb39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -46,6 +46,6 @@ export class ResetPasswordDto {
@MinLength(5, { message: '邮箱验证码至少5个字符' }) @MinLength(5, { message: '邮箱验证码至少5个字符' })
@IsString({ message: '邮箱验证码错误正确类型为String' }) @IsString({ message: '邮箱验证码错误正确类型为String' })
@IsNotEmpty({ message: '邮箱验证码不能为空' }) @IsOptional({ message: '邮箱验证码不能为空' })
verifyCode: string; verifyCode: string;
} }