fix:导出加载条显示异常,下载参数

This commit is contained in:
秋帆
2024-04-10 23:05:09 +08:00
parent 7885e351a0
commit 5869c34abb
6 changed files with 11 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ import type * as System from './type'
const BASE_URL = '/system/log'
/** @desc 查询日志列表 */
export function listLog(query: System.LogQuery) {
export function listLog(query: System.PageLogQuery) {
return http.get<PageRes<System.LogResp[]>>(`${BASE_URL}`, query)
}

View File

@@ -44,7 +44,10 @@ export interface LogDetailResp extends LogResp {
responseHeaders: string
responseBody: string
}
export interface LogQuery extends PageQuery {
// 系统日志分页查询条件
export interface PageLogQuery extends PageQuery,LogQuery{}
// 系统日志查询条件
export interface LogQuery{
description?: string
module?: string
ip?: string