diff --git a/plugin.xml b/plugin.xml
index eb8084e..eaaf8c6 100755
--- a/plugin.xml
+++ b/plugin.xml
@@ -3,12 +3,13 @@
com.fr.solution.plugin.db.redis.v10
yes
- 7.4.0
+ 7.4.1
10.0
2020-01-20
richie
[2020-10-28]支持单一主机的集群模式连接选项。
[2020-07-07]修复了数据集没有随着参数的变化而变化的问题。
[2020-06-30]修复了一个失误导致连接被重复关闭的问题。
diff --git a/src/main/java/com/fr/plugin/db/redis/RedisUniversalConnectionImpl.java b/src/main/java/com/fr/plugin/db/redis/RedisUniversalConnectionImpl.java
index 18dea85..a32034e 100644
--- a/src/main/java/com/fr/plugin/db/redis/RedisUniversalConnectionImpl.java
+++ b/src/main/java/com/fr/plugin/db/redis/RedisUniversalConnectionImpl.java
@@ -44,7 +44,9 @@ public class RedisUniversalConnectionImpl extends AbstractUniversalConnectionPro
public JSONObject serialize(RedisDatabaseConnection connection) {
JSONObject jsonObject = new JSONObject();
try {
- jsonObject.put(BASIC_INFO, JSONObject.mapFrom(connection.clone()));
+ JSONObject basicInfo = JSONObject.mapFrom(connection.clone());
+ basicInfo.put("password", DecisionServiceConstants.DEFAULT_PASSWORD);
+ jsonObject.put(BASIC_INFO, basicInfo);
//将ConnectionPoolConfig和RedisConnectionProxyConfig也一次塞给前台展示
jsonObject.put(POOL_INFO, JSONObject.mapFrom(RedisConnectionPoolConfig.getInstance().clone()));
JSONObject proxy = JSONObject.mapFrom(RedisConnectionProxyConfig.getInstance().clone());