From c82afc8c461956e45be0aa29ca2a7fe3f18ee6f7 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期二, 28 十二月 2021 11:23:33 +0800
Subject: [PATCH] update RedisUtils 迁移到 utils/redis 包下

---
 ruoyi-demo/src/main/java/com/ruoyi/demo/controller/RedisLockController.java |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/RedisLockController.java b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/RedisLockController.java
index b2d66f5..94ad3c3 100644
--- a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/RedisLockController.java
+++ b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/RedisLockController.java
@@ -9,7 +9,6 @@
 import io.swagger.annotations.ApiOperation;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.cache.annotation.Cacheable;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
@@ -74,13 +73,4 @@
         return AjaxResult.success("鎿嶄綔鎴愬姛", value);
     }
 
-    /**
-     * 娴嬭瘯spring-cache娉ㄨВ
-     */
-    @ApiOperation("娴嬭瘯spring-cache娉ㄨВ")
-    @Cacheable(value = "test", key = "#key")
-    @GetMapping("/testCache")
-    public AjaxResult<String> testCache(String key) {
-        return AjaxResult.success("鎿嶄綔鎴愬姛", key);
-    }
 }

--
Gitblit v1.9.3