feat(log): 新增支持删除部分日志 add function to delete logs older than specified months
- Add deleteMonthLog functionality to log system - Create new route and controller method for handling log deletion - Implement frontend UI and logic for selecting and confirming log deletion-Add necessary database queries to safely delete logs
This commit is contained in:
@@ -28,7 +28,7 @@ define(["jquery", "easy-admin"], function ($, ea) {
|
||||
text: '删除部分日志',
|
||||
url: 'system.log/deleteMonthLog',
|
||||
method: 'open',
|
||||
auth: 'record',
|
||||
auth: 'deleteMonthLog',
|
||||
class: 'layui-btn layui-btn-sm layui-btn-danger',
|
||||
icon: 'fa fa-remove',
|
||||
extend: 'data-width="35%" data-height="42%"'
|
||||
|
||||
Reference in New Issue
Block a user