You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
529 B
27 lines
529 B
// 引入基础包 |
|
import { Page, R } from '/@/api/model'; |
|
|
|
// 定义查询参数 |
|
export type LogParams = Page & { |
|
title?: string; |
|
traceId?: string; |
|
}; |
|
|
|
// 定义日志对象 |
|
export interface LogListItem { |
|
type: string; |
|
traceId: string; |
|
title: string; |
|
operation: string; |
|
method: string; |
|
url: string; |
|
params: string; |
|
ip: string; |
|
executeTime: string; |
|
location: string; |
|
createTime: string; |
|
exception: string; |
|
} |
|
|
|
// 根据日志对象生成响应模型 |
|
export type LogListGetResultModel = R<LogListItem>;
|
|
|