修复bug

This commit is contained in:
2026-05-01 21:39:50 +08:00
parent e3bdbc9dea
commit 903032623a

View File

@@ -48,14 +48,12 @@ public class UserInfoEditReq implements Serializable {
* 手机号
*/
@Size(max = 11, min = 11, message = "长度为11")
@NotEmpty(message = "不能为空")
@Schema(description = "手机号", example = "13800138000")
private String mobile;
/**
* 用户邮箱
*/
@NotEmpty(message = "不能为空")
@Schema(description = "用户邮箱", example = "admin@example.com")
private String email;