From 7892ec5a596e6d1fce07bef7661d802dc3fb6afb Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期五, 26 十一月 2021 16:32:56 +0800
Subject: [PATCH] fix 修复重复提交不生效问题 由于概念不同 使用 RedisUtils 重构

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