修改bug#40444

This commit is contained in:
梁琦涛
2021-10-12 15:58:08 +08:00
parent bda2a80ffb
commit 51e7a2a107
@@ -72,7 +72,7 @@ public class PayContactsManagement implements Serializable {
/**邮箱*/
@Excel(name = "邮箱", width = 15)
@ApiModelProperty(value = "邮箱")
@Pattern(regexp = "^\\w[-\\w.+]*@([A-Za-z0-9][-A-Za-z0-9]+\\.)+[A-Za-z]{2,14}$",message = "邮箱格式有误")
@Pattern(regexp = "^\\w[-\\w.+]*@([A-Za-z0-9][-A-Za-z0-9]+\\.)+[A-Za-z]{2,14}$",message = "邮箱格式错误")
@NotEmpty(message = "邮箱不能为空!")
private String email;
/**通讯地址*/