gaodm 6 年之前
父節點
當前提交
b33f69feab
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      icss-service/src/main/java/com/diagbot/web/CacheController.java

+ 3 - 1
icss-service/src/main/java/com/diagbot/web/CacheController.java

@@ -1,5 +1,6 @@
 package com.diagbot.web;
 package com.diagbot.web;
 
 
+import com.diagbot.annotation.SysLogger;
 import com.diagbot.dto.RespDTO;
 import com.diagbot.dto.RespDTO;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import io.swagger.annotations.ApiOperation;
@@ -22,8 +23,9 @@ public class CacheController {
     @ApiOperation(value = "清空缓存[by:gaodm]",
     @ApiOperation(value = "清空缓存[by:gaodm]",
             notes = "")
             notes = "")
     @PostMapping("/clear")
     @PostMapping("/clear")
+    @SysLogger("clear")
     @CacheEvict(cacheNames = "tagCache", allEntries = true)
     @CacheEvict(cacheNames = "tagCache", allEntries = true)
-    public RespDTO<Boolean> getIntroduceByEMR() {
+    public RespDTO<Boolean> clearCache() {
         return RespDTO.onSuc(true);
         return RespDTO.onSuc(true);
     }
     }
 }
 }