From caf93da26aa4f5bcc3ed2686da6895735623ce1f Mon Sep 17 00:00:00 2001 From: Yjoioooo <i.zhujie.cn@gmail.com> Date: 星期四, 23 十二月 2021 23:07:54 +0800 Subject: [PATCH] add 新增数据脱敏注解,可根据菜单权限字符控制是否脱敏 --- 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