gaodm 6 years ago
parent
commit
b33f69feab
1 changed files with 3 additions and 1 deletions
  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;
 
+import com.diagbot.annotation.SysLogger;
 import com.diagbot.dto.RespDTO;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
@@ -22,8 +23,9 @@ public class CacheController {
     @ApiOperation(value = "清空缓存[by:gaodm]",
             notes = "")
     @PostMapping("/clear")
+    @SysLogger("clear")
     @CacheEvict(cacheNames = "tagCache", allEntries = true)
-    public RespDTO<Boolean> getIntroduceByEMR() {
+    public RespDTO<Boolean> clearCache() {
         return RespDTO.onSuc(true);
     }
 }