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

增加了一个  删除APIACCESSLOG

Signed-off-by: yanchangshan <5333290+yanchangshan@user.noreply.gitee.com>
pull/1/MERGE^2
yanchangshan 2023-03-22 11:40:49 +00:00 committed by Gitee
parent 6d1a518bb5
commit 5831ca39bb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 5 additions and 0 deletions

View File

@ -44,6 +44,11 @@ export const getApiAccessLogPageApi = (params: ApiAccessLogPageReqVO) => {
return defHttp.get({ url: '/infra/api-access-log/page', params })
}
// 删除APIACCESSLOG
export const deleteApiAccessLogApi = (id: number) => {
return defHttp.delete({ url: '/infra/api-access-log/delete?id=' + id })
}
// 导出API 访问日志
export const exportApiAccessLogApi = (params: ApiAccessLogExportReqVO) => {
return defHttp.download({ url: '/infra/api-access-log/export-excel', params }, '访问日志.xls')