diff --git a/policeSecurityServer/src/main/java/com/changhu/module/miniProgram/pojo/params/SecurityUserSaveOrUpdateParams.java b/policeSecurityServer/src/main/java/com/changhu/module/miniProgram/pojo/params/SecurityUserSaveOrUpdateParams.java index 3969f4a..ca6da0b 100644 --- a/policeSecurityServer/src/main/java/com/changhu/module/miniProgram/pojo/params/SecurityUserSaveOrUpdateParams.java +++ b/policeSecurityServer/src/main/java/com/changhu/module/miniProgram/pojo/params/SecurityUserSaveOrUpdateParams.java @@ -2,7 +2,6 @@ package com.changhu.module.miniProgram.pojo.params; import com.changhu.common.db.enums.Sex; import com.changhu.common.validator.annotation.IdCard; -import com.changhu.common.validator.annotation.IsMobile; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.NotNull; @@ -34,8 +33,6 @@ public class SecurityUserSaveOrUpdateParams { @Schema(description = "名称") private String name; - @NotBlank(message = "手机号不能为空") - @IsMobile @Schema(description = "手机号") private String telephone;