facade-lucky/src/main/java/com/ks/lucky/pojo/DO/LuckySponsors.java
@@ -12,6 +12,8 @@ @Valid public class LuckySponsors implements Serializable { private static final long serialVersionUID = 1L; //正常 public final static int STATE_NORMAL = 0; //封禁 @@ -19,8 +21,15 @@ private Long id; public LuckySponsors(Long id) { this.id = id; } public LuckySponsors() { } @NotEmpty(message = "账号不能为空") @Pattern(regexp = "^(\\w|@|_|\\.){3,64}$",message = "账号只能包含英文、数字、@、_") @Pattern(regexp = "^(\\w|@|_|\\.){3,64}$", message = "账号只能包含英文、数字、@、_") private String account; @NotEmpty(message = "密码不能为空")