完善注册操作

This commit is contained in:
Amadeus 2024-05-20 22:52:08 +08:00
parent 0b24b0d6d3
commit 9e6e155d5a
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import org.hibernate.validator.constraints.Length;
@Data @Data
public class EmailRegisterVO { public class EmailRegisterVO {
@Email @Email
@Length(min = 4)
String email; String email;
@Length(max = 6 , min = 6) @Length(max = 6 , min = 6)
String code; String code;