From 5ca038d888922e93bf45c7bd37f3c6dce849dcff Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期五, 24 十二月 2021 11:36:02 +0800
Subject: [PATCH] update 调整监控依赖 从 common 迁移到 framework

---
 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