mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-12 13:39:01 +08:00
🐛 Fixing a bug. #4978 【审计日志】删除提示权限不足
This commit is contained in:
1 parent
0c8ba314a5
commit
cfffbb39b5
1 file changed
+1
-1
+1
-1
@@ -94,7 +94,7 @@ public class SysAuditLogController {
|
|||||||
*/
|
*/
|
||||||
@Operation(summary = "通过id删除审计记录表", description = "通过id删除审计记录表")
|
@Operation(summary = "通过id删除审计记录表", description = "通过id删除审计记录表")
|
||||||
@SysLog("通过id删除审计记录表")
|
@SysLog("通过id删除审计记录表")
|
||||||
@DeleteMapping
|
@DeleteMapping("/delete")
|
||||||
@PreAuthorize("@pms.hasPermission('sys_audit_del')")
|
@PreAuthorize("@pms.hasPermission('sys_audit_del')")
|
||||||
public R removeById(@RequestBody Long[] ids) {
|
public R removeById(@RequestBody Long[] ids) {
|
||||||
return R.ok(sysAuditLogService.removeBatchByIds(CollUtil.toList(ids)));
|
return R.ok(sysAuditLogService.removeBatchByIds(CollUtil.toList(ids)));
|
||||||
|
|||||||
Reference in new issue
Block a user