取消手机号限制
This commit is contained in:
parent
61d1426d8d
commit
f525f578d2
|
@ -2,7 +2,6 @@ package com.changhu.module.miniProgram.pojo.params;
|
||||||
|
|
||||||
import com.changhu.common.db.enums.Sex;
|
import com.changhu.common.db.enums.Sex;
|
||||||
import com.changhu.common.validator.annotation.IdCard;
|
import com.changhu.common.validator.annotation.IdCard;
|
||||||
import com.changhu.common.validator.annotation.IsMobile;
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
|
@ -34,8 +33,6 @@ public class SecurityUserSaveOrUpdateParams {
|
||||||
@Schema(description = "名称")
|
@Schema(description = "名称")
|
||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
@NotBlank(message = "手机号不能为空")
|
|
||||||
@IsMobile
|
|
||||||
@Schema(description = "手机号")
|
@Schema(description = "手机号")
|
||||||
private String telephone;
|
private String telephone;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue