update src/api/infra/apiAccessLog/index.ts.
增加了一个 删除APIACCESSLOG Signed-off-by: yanchangshan <5333290+yanchangshan@user.noreply.gitee.com>pull/1/MERGE^2
parent
6d1a518bb5
commit
5831ca39bb
|
@ -44,6 +44,11 @@ export const getApiAccessLogPageApi = (params: ApiAccessLogPageReqVO) => {
|
||||||
return defHttp.get({ url: '/infra/api-access-log/page', params })
|
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 访问日志
|
// 导出API 访问日志
|
||||||
export const exportApiAccessLogApi = (params: ApiAccessLogExportReqVO) => {
|
export const exportApiAccessLogApi = (params: ApiAccessLogExportReqVO) => {
|
||||||
return defHttp.download({ url: '/infra/api-access-log/export-excel', params }, '访问日志.xls')
|
return defHttp.download({ url: '/infra/api-access-log/export-excel', params }, '访问日志.xls')
|
||||||
|
|
Loading…
Reference in New Issue