From 07651d0e4732498a591a41f074a39559e743e622 Mon Sep 17 00:00:00 2001 From: jsonwan Date: Tue, 8 Nov 2022 15:32:38 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20=E6=95=B0=E6=8D=AE=E5=BA=93=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7=E7=9A=84=E7=AB=AF=E5=8F=A3=E5=8F=AF=E4=BB=A5=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E8=B4=9F=E6=95=B0=20#1446?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/i18n/validation/ValidationMessages.properties | 2 +- .../resources/i18n/validation/ValidationMessages_en.properties | 2 +- .../i18n/validation/ValidationMessages_en_US.properties | 2 +- .../resources/i18n/validation/ValidationMessages_zh.properties | 2 +- .../i18n/validation/ValidationMessages_zh_CN.properties | 2 +- .../bk/job/manage/model/web/request/AccountCreateUpdateReq.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages.properties b/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages.properties index e24c61ba2b..4c8ffe5763 100644 --- a/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages.properties +++ b/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages.properties @@ -47,4 +47,4 @@ validation.constraints.InvalidUploadFileRestrictMode.message=非法的上传文 validation.constraints.InvalidScriptId_empty.message=脚本ID不能为空 validation.constraints.EmptyDynamicGroupId.message=动态分组ID不可为空 validation.constraints.InvalidFileUploadSettingAmount.message=文件大小只能为大于0的浮点数 -validation.constraints.InvalidPort.message=端口号只能为0-65536之间的整数 +validation.constraints.InvalidPort.message=端口号只能为0-65535之间的整数 diff --git a/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_en.properties b/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_en.properties index ce96b73e15..9a85fc1c0e 100644 --- a/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_en.properties +++ b/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_en.properties @@ -47,4 +47,4 @@ validation.constraints.InvalidUploadFileRestrictMode.message=Invalid restrict mo validation.constraints.InvalidScriptId_empty.message=Script id cannot be empty validation.constraints.EmptyDynamicGroupId.message=DynamicGroup ID cannot be empty validation.constraints.InvalidFileUploadSettingAmount.message=File size must be a positive float -validation.constraints.InvalidPort.message=Port must be a integer which is between 0 and 65536 +validation.constraints.InvalidPort.message=Port must be a integer which is between 0 and 65535 diff --git a/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_en_US.properties b/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_en_US.properties index 4fc16b8e60..3791d5931e 100644 --- a/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_en_US.properties +++ b/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_en_US.properties @@ -47,4 +47,4 @@ validation.constraints.InvalidUploadFileRestrictMode.message=Invalid restrict mo validation.constraints.InvalidScriptId_empty.message=Script id cannot be empty validation.constraints.EmptyDynamicGroupId.message=DynamicGroup ID cannot be empty validation.constraints.InvalidFileUploadSettingAmount.message=File size must be a positive float -validation.constraints.InvalidPort.message=Port must be a integer which is between 0 and 65536 +validation.constraints.InvalidPort.message=Port must be a integer which is between 0 and 65535 diff --git a/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_zh.properties b/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_zh.properties index e24c61ba2b..4c8ffe5763 100644 --- a/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_zh.properties +++ b/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_zh.properties @@ -47,4 +47,4 @@ validation.constraints.InvalidUploadFileRestrictMode.message=非法的上传文 validation.constraints.InvalidScriptId_empty.message=脚本ID不能为空 validation.constraints.EmptyDynamicGroupId.message=动态分组ID不可为空 validation.constraints.InvalidFileUploadSettingAmount.message=文件大小只能为大于0的浮点数 -validation.constraints.InvalidPort.message=端口号只能为0-65536之间的整数 +validation.constraints.InvalidPort.message=端口号只能为0-65535之间的整数 diff --git a/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_zh_CN.properties b/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_zh_CN.properties index e24c61ba2b..4c8ffe5763 100644 --- a/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_zh_CN.properties +++ b/src/backend/commons/common-i18n/src/main/resources/i18n/validation/ValidationMessages_zh_CN.properties @@ -47,4 +47,4 @@ validation.constraints.InvalidUploadFileRestrictMode.message=非法的上传文 validation.constraints.InvalidScriptId_empty.message=脚本ID不能为空 validation.constraints.EmptyDynamicGroupId.message=动态分组ID不可为空 validation.constraints.InvalidFileUploadSettingAmount.message=文件大小只能为大于0的浮点数 -validation.constraints.InvalidPort.message=端口号只能为0-65536之间的整数 +validation.constraints.InvalidPort.message=端口号只能为0-65535之间的整数 diff --git a/src/backend/job-manage/api-job-manage/src/main/java/com/tencent/bk/job/manage/model/web/request/AccountCreateUpdateReq.java b/src/backend/job-manage/api-job-manage/src/main/java/com/tencent/bk/job/manage/model/web/request/AccountCreateUpdateReq.java index 72908b4926..abdd224333 100644 --- a/src/backend/job-manage/api-job-manage/src/main/java/com/tencent/bk/job/manage/model/web/request/AccountCreateUpdateReq.java +++ b/src/backend/job-manage/api-job-manage/src/main/java/com/tencent/bk/job/manage/model/web/request/AccountCreateUpdateReq.java @@ -81,7 +81,7 @@ public class AccountCreateUpdateReq { private String password; @ApiModelProperty(value = "DB端口,创建/更新DB账号的时候必传") - @Range(min = 0, max = 65536, message = "{validation.constraints.InvalidPort.message}") + @Range(min = 0, max = 65535, message = "{validation.constraints.InvalidPort.message}") private Integer dbPort; @ApiModelProperty(value = "DB账号关联的系统账号,创建/更新DB账号的时候必传")