mirror of https://github.com/fantasticit/think.git
server: optional verifyCode
This commit is contained in:
parent
d96c63e008
commit
c6a720887b
|
@ -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