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:
wolfcode
2025-02-19 11:23:46 +08:00
parent 32d94bb3e0
commit 08fb6ef4d0
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
<div class="layuimini-main">
<table id="currentTable" class="layui-table layui-hide"
data-auth-record="{:auth('system.log/record')}"
data-auth-deleteMonthLog="{:auth('system.log/deleteMonthLog')}"
lay-filter="currentTable">
</table>
</div>