admin用户增加清理系统功能业务字典缓存的功能
This commit is contained in:
@@ -101,6 +101,12 @@ public class DictController extends BaseController {
|
||||
|
||||
return dictService.getDictByIdWithRelation(id);
|
||||
}
|
||||
|
||||
@ResponseBody
|
||||
@RequestMapping(value = {"refreshCache"})
|
||||
public String refreshCache(String cacheName){
|
||||
//删除字典缓存
|
||||
CacheUtils.remove(cacheName);
|
||||
return "success";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user