|
@@ -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);
|
|
|
}
|
|
|
}
|