update src/api/infra/apiAccessLog/index.ts.

Signed-off-by: yanchangshan <5333290+yanchangshan@user.noreply.gitee.com>
pull/1/head
yanchangshan 2023-03-23 02:03:08 +00:00 committed by Gitee
parent a87ace731e
commit 4115d7f7ba
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 10 additions and 0 deletions

View File

@ -39,6 +39,16 @@ export interface ApiAccessLogExportReqVO {
resultCode?: number
}
// 新增列表API 访问日志
export const createApiAccessLogApi = (data: ApiAccessLogVO) => {
return defHttp.post({ url: '/infra/api-access-log/create', data })
}
//getApiAccessLogApi
// 查询API 访问日志
export const getApiAccessLogApi = (id: number) => {
return defHttp.get({ url: '/infra/api-access-log/get?id=' + id })
}
// 查询列表API 访问日志
export const getApiAccessLogPageApi = (params: ApiAccessLogPageReqVO) => {
return defHttp.get({ url: '/infra/api-access-log/page', params })