@@ -93,7 +93,10 @@ public class ConfigController {
if (!adminSession.getUser().hasRole(env.getType().getRole())) {
for (ConfigItem item : list) {
if (item.getKey().contains("secret") || item.getKey().contains("password")) {
- item.setValue("***");
+ //直接引用其他变量时不隐藏
+ if (!(item.getValue().startsWith("${") && item.getValue().endsWith("}"))) {
+ item.setValue("***");
+ }
}