From 3c17bf42918a75529e4fa8869b8b72abf8875e57 Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Thu, 19 Jun 2025 17:54:56 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E9=85=8D=E7=BD=AE-=E7=8E=AF=E5=A2=83db?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BE=BF=E6=8D=B7=E5=85=A5=E5=8F=A3=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1445757985456128]发布应用配置-环境db配置便捷入口优化 http://192.168.0.96:8090/demo/rdm.html#/story-detail/939050947543040/939050947543042/1445757985456128 --- .../constvalue/DeployAppConfigActionType.java | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/main/java/neatlogic/framework/deploy/constvalue/DeployAppConfigActionType.java b/src/main/java/neatlogic/framework/deploy/constvalue/DeployAppConfigActionType.java index 6dab289..dd09dbe 100644 --- a/src/main/java/neatlogic/framework/deploy/constvalue/DeployAppConfigActionType.java +++ b/src/main/java/neatlogic/framework/deploy/constvalue/DeployAppConfigActionType.java @@ -17,16 +17,24 @@ import java.util.Set; * @date 2022/05/24 4:16 下午 */ public enum DeployAppConfigActionType { - OPERATION("operation", "操作"), - SCENARIO("scenario", "场景"), - ENV("env", "环境"); + OPERATION("operation", "nfdc.deployappconfigactiontype.operation.text"), + SCENARIO("scenario", "term.autoexec.scenario"), + ENV("env", "nfdc.deployappconfigactiontype.env.text", "nfdc.deployappconfigactiontype.env.description"); private final String value; private final String text; + private final String description; DeployAppConfigActionType(String value, String text) { this.value = value; this.text = text; + this.description = StringUtils.EMPTY; + } + + DeployAppConfigActionType(String value, String text, String description) { + this.value = value; + this.text = text; + this.description = description; } public String getValue() { @@ -37,6 +45,10 @@ public enum DeployAppConfigActionType { return $.t(text); } + public String getDescription() { + return $.t(description); + } + public static List getValueTextList() { List returnList = new ArrayList<>(); for (DeployAppConfigActionType action : DeployAppConfigActionType.values()) { -- Gitee