mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-29 23:44:41 +00:00
refactor(backend): 重构任务模块并优化菜单权限
- 移除系统模块中的任务相关代码 - 新增批量设置字典类型和数据状态的功能 - 更新菜单权限获取逻辑,增加对链接类型菜单的支持 - 调整任务模块到 monitor 监控模块下
This commit is contained in:
@@ -9,11 +9,11 @@ const LogAPI = {
|
||||
});
|
||||
},
|
||||
|
||||
getLogDetail(id: number) {
|
||||
getLogDetail(query: DetailType) {
|
||||
return request<ApiResponse<LogTable>>({
|
||||
url: `/system/log/detail`,
|
||||
method: "get",
|
||||
params: id,
|
||||
params: query,
|
||||
});
|
||||
},
|
||||
|
||||
@@ -21,11 +21,11 @@ const LogAPI = {
|
||||
return request<ApiResponse>({
|
||||
url: `/system/log/delete`,
|
||||
method: "delete",
|
||||
params: query,
|
||||
data: query,
|
||||
});
|
||||
},
|
||||
|
||||
exportLog(query: any[]) {
|
||||
exportLog(query: LogPageQuery) {
|
||||
return request<ApiResponse>({
|
||||
url: `/system/log/export`,
|
||||
method: "post",
|
||||
|
||||
Reference in New Issue
Block a user