ソースを参照

用户昵称长度调整

Eric 2 年 前
コミット
cc2df7f6a8

+ 1 - 1
cooleshow-auth/auth-api/src/main/java/com/yonge/cooleshow/auth/api/dto/UserSetReq.java

@@ -20,7 +20,7 @@ public class UserSetReq {
     @ApiModelProperty("头像地址")
     private String avatar;
     @ApiModelProperty("昵称")
-    @Size(max = 7, message = "昵称长度不能超过7个字")
+    @Size(max = 12, message = "昵称长度不能超过12个字")
     private String username;
     @ApiModelProperty(value = "性别 0女 1男")
     private Integer gender;