Browse Source

人员添加编辑手机号验证失败返回信息

dev_shibei_match
zhaoqifeng 5 years ago
parent
commit
9bd561cc59
  1. 2
      epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/StaffSubmitFromDTO.java

2
epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/StaffSubmitFromDTO.java

@ -42,7 +42,7 @@ public class StaffSubmitFromDTO implements Serializable {
* 手机
*/
@NotBlank(message = "手机号不能为空")
@Pattern(regexp = "^[1][3,4,5,6,7,8,9][0-9]{9}$", message = "手机号格式有误")
@Pattern(regexp = "^[1][3,4,5,6,7,8,9][0-9]{9}$", message = "请输入正确的手机号")
private String mobile;
/**
* 性别

Loading…
Cancel
Save