🐛 Fixing a bug. #4978 【审计日志】删除提示权限不足

This commit is contained in:
lbw committed 2023-07-04 11:15:51 +08:00
1 parent 0c8ba314a5
commit cfffbb39b5
1 file changed
+1 -1
@@ -94,7 +94,7 @@ public class SysAuditLogController {
*/
@Operation(summary = "通过id删除审计记录表", description = "通过id删除审计记录表")
@SysLog("通过id删除审计记录表")
@DeleteMapping
@DeleteMapping("/delete")
@PreAuthorize("@pms.hasPermission('sys_audit_del')")
public R removeById(@RequestBody Long[] ids) {
return R.ok(sysAuditLogService.removeBatchByIds(CollUtil.toList(ids)));