From 0d8421e7abf1d6fa56121da12264c51876184422 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期一, 06 九月 2021 16:42:03 +0800 Subject: [PATCH] update 适配 mybatis-plus 升级更新 --- ruoyi-demo/src/main/java/com/ruoyi/demo/controller/RedisPubSubController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/RedisPubSubController.java b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/RedisPubSubController.java index a9144b4..d49d6ee 100644 --- a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/RedisPubSubController.java +++ b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/RedisPubSubController.java @@ -36,7 +36,7 @@ @GetMapping("/sub") public AjaxResult<Void> sub(String key){ redisCache.subscribe(key, String.class, msg -> { - System.out.println("璁㈤槄閫氶亾 => " + key + ", 鎺ユ敹鍊� => " + msg.toString()); + System.out.println("璁㈤槄閫氶亾 => " + key + ", 鎺ユ敹鍊� => " + msg); }); return AjaxResult.success("鎿嶄綔鎴愬姛"); } -- Gitblit v1.9.3