build: 配置数据库大字段压缩

This commit is contained in:
CaptainB 2023-05-26 11:26:08 +08:00
parent ca2fda14a6
commit ee48c06524
2 changed files with 1 additions and 2 deletions

View File

@ -17,7 +17,7 @@ public class LoadTestApi implements Serializable {
@Schema(title = "接口场景或用例ID", requiredMode = Schema.RequiredMode.REQUIRED)
@NotBlank(message = "{load_test_api.api_id.not_blank}", groups = {Updated.class})
@Size(min = 1, max = 255, message = "{load_test_api.api_id.length_range}", groups = {Created.class, Updated.class})
@Size(min = 1, max = 50, message = "{load_test_api.api_id.length_range}", groups = {Created.class, Updated.class})
private String apiId;
@Schema(title = "性能测试ID", requiredMode = Schema.RequiredMode.REQUIRED)

View File

@ -1,7 +1,6 @@
package io.metersphere.sdk.config.interceptor;
import io.metersphere.load.domain.*;
import io.metersphere.project.domain.*;
import io.metersphere.sdk.util.CompressUtils;
import io.metersphere.sdk.util.MybatisInterceptorConfig;
import org.springframework.context.annotation.Bean;