From 0fc796b90d3f44b81ef30285edb897223df439f7 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期五, 13 一月 2023 23:04:09 +0800 Subject: [PATCH] update 适配 javax.servlet 替换为 jakarta.servlet 更新所有代码 update 适配 ServletUtils 更换继承 JakartaServletUtil --- 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