fix: 删除系统配置提示未授权bug修复

删除系统配置提示未授权bug修复
This commit is contained in:
Theo committed 2024-07-30 19:36:28 +08:00
1 parent d5077a395a
commit 13ad4fd1db
7 files changed
+51 -27

No files matched your search

@@ -73,7 +73,7 @@ public class SysConfigController {
@DeleteMapping("/{id}")
@Operation(summary = "删除系统配置")
@PreAuthorize("@ss.hasPerm('business:config:delete')")
@PreAuthorize("@ss.hasPerm('sys:config:delete')")
public Result<?> delete(@PathVariable Long id) {
return Result.judge(sysConfigService.delete(id));
}