update src/api/infra/apiAccessLog/index.ts.
Signed-off-by: yanchangshan <5333290+yanchangshan@user.noreply.gitee.com>pull/1/head
parent
a87ace731e
commit
4115d7f7ba
|
@ -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 })
|
||||
|
|
Loading…
Reference in New Issue