fix: 统一菜单缓存 key

This commit is contained in:
hxr
2023-12-16 14:31:00 +08:00
parent 09004fb89d
commit f32f4edc54
3 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,6 @@ public class SysMenuController {
@Operation(summary = "删除菜单")
@DeleteMapping("/{id}")
@PreAuthorize("@ss.hasPerm('sys:menu:delete')")
@CacheEvict(cacheNames = "system", key = "'routes'")
public Result deleteMenu(
@Parameter(description ="菜单ID多个以英文(,)分割") @PathVariable("id") Long id
) {