Selaa lähdekoodia

1、解决用户账户长度限制

rayson 7 kuukautta sitten
vanhempi
commit
a2b7d20c54

+ 1 - 1
citu-module-system/citu-module-system-api/src/main/java/com/citu/module/system/api/logger/dto/LoginLogCreateReqDTO.java

@@ -26,7 +26,7 @@ public class LoginLogCreateReqDTO {
     private Integer userType;
     @Schema(description = "用户账号", requiredMode = Schema.RequiredMode.REQUIRED, example = "citu")
     @NotBlank(message = "用户账号不能为空")
-    @Size(max = 30, message = "用户账号长度不能超过30个字符")
+//    @Size(max = 30, message = "用户账号长度不能超过30个字符")
     private String username;
 
     @Schema(description = "登录结果,参见 LoginResultEnum 枚举类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")

+ 1 - 1
menduner/menduner-system-biz/src/main/java/com/citu/module/menduner/system/controller/base/logger/LoginLogCreateReqDTO.java

@@ -34,7 +34,7 @@ public class LoginLogCreateReqDTO {
 
     @Schema(description = "用户账号", requiredMode = Schema.RequiredMode.REQUIRED, example = "citu")
     @NotBlank(message = "用户账号不能为空")
-    @Size(max = 30, message = "用户账号长度不能超过30个字符")
+//    @Size(max = 30, message = "用户账号长度不能超过30个字符")
     private String username;
 
     @Schema(description = "是否首次登录")