From 8ae8c5498da43d15e8fc511c7534fc9ff4a9c750 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期六, 14 一月 2023 00:58:30 +0800
Subject: [PATCH] fix 修复 多数据源适配 jakarta 异常 bug (临时)

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java
index 74585fc..12662ec 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/monitor/CacheController.java
@@ -51,9 +51,9 @@
     @GetMapping()
     public R<Map<String, Object>> getInfo() throws Exception {
         RedisConnection connection = connectionFactory.getConnection();
-        Properties info = connection.info();
-        Properties commandStats = connection.info("commandstats");
-        Long dbSize = connection.dbSize();
+        Properties info = connection.commands().info();
+        Properties commandStats = connection.commands().info("commandstats");
+        Long dbSize = connection.commands().dbSize();
 
         Map<String, Object> result = new HashMap<>(3);
         result.put("info", info);

--
Gitblit v1.9.3