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.
25 lines
621 B
25 lines
621 B
import type { PagedResultDto } from "#/abp-core";
|
|
|
|
import type { LogDto, LogGetListInput } from "#/management/auditing";
|
|
|
|
import requestClient from "../../request";
|
|
|
|
/**
|
|
* 获取系统日志
|
|
* @param id 日志id
|
|
*/
|
|
export function getApi(id: string): Promise<LogDto> {
|
|
return requestClient.get<LogDto>(`/api/auditing/logging/${id}`, {
|
|
method: "GET",
|
|
});
|
|
}
|
|
|
|
/**
|
|
* 获取系统日志分页列表
|
|
* @param input 参数
|
|
*/
|
|
export function getPagedListApi(input: LogGetListInput): Promise<PagedResultDto<LogDto>> {
|
|
return requestClient.get<PagedResultDto<LogDto>>("/api/auditing/logging", {
|
|
params: input,
|
|
});
|
|
}
|
|
|