update 优化 用户昵称非空校验

2.X
疯狂的狮子Li 2 years ago
parent a9bfb159ac
commit 77b8ce65a0

@ -48,6 +48,7 @@ public class SysUserBo extends BaseEntity {
*
*/
@Xss(message = "用户昵称不能包含脚本字符")
@NotBlank(message = "用户昵称不能为空")
@Size(min = 0, max = 30, message = "用户昵称长度不能超过{max}个字符")
private String nickName;

Loading…
Cancel
Save