mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 10:57:13 +08:00 
			
		
		
		
	refactor: 将短信验证码长度从 4 位增加到 6 位 (PR by Gitee@hagyao520)
This commit is contained in:
		| @@ -49,8 +49,8 @@ public class PhoneLoginReq extends LoginReq { | ||||
|     /** | ||||
|      * 验证码 | ||||
|      */ | ||||
|     @Schema(description = "验证码", example = "8888") | ||||
|     @Schema(description = "验证码", example = "888888") | ||||
|     @NotBlank(message = "验证码不能为空") | ||||
|     @Length(max = 4, message = "验证码非法") | ||||
|     @Length(max = 6, message = "验证码非法") | ||||
|     private String captcha; | ||||
| } | ||||
|   | ||||
| @@ -50,9 +50,9 @@ public class UserPhoneUpdateReq implements Serializable { | ||||
|     /** | ||||
|      * 验证码 | ||||
|      */ | ||||
|     @Schema(description = "验证码", example = "8888") | ||||
|     @Schema(description = "验证码", example = "888888") | ||||
|     @NotBlank(message = "验证码不能为空") | ||||
|     @Length(max = 4, message = "验证码非法") | ||||
|     @Length(max = 6, message = "验证码非法") | ||||
|     private String captcha; | ||||
|  | ||||
|     /** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user