diff --git a/ruoyi-ui/src/api/infra/apiAccessLog.js b/ruoyi-ui/src/api/infra/apiAccessLog.js index 5d1249a1e..6456a5085 100644 --- a/ruoyi-ui/src/api/infra/apiAccessLog.js +++ b/ruoyi-ui/src/api/infra/apiAccessLog.js @@ -1,40 +1,5 @@ import request from '@/utils/request' -// 创建API 访问日志 -export function createApiAccessLog(data) { - return request({ - url: '/infra/api-access-log/create', - method: 'post', - data: data - }) -} - -// 更新API 访问日志 -export function updateApiAccessLog(data) { - return request({ - url: '/infra/api-access-log/update', - method: 'put', - data: data - }) -} - - -// 删除API 访问日志 -export function deleteApiAccessLog(id) { - return request({ - url: '/infra/api-access-log/delete?id=' + id, - method: 'delete' - }) -} - -// 获得API 访问日志 -export function getApiAccessLog(id) { - return request({ - url: '/infra/api-access-log/get?id=' + id, - method: 'get' - }) -} - // 获得API 访问日志分页 export function getApiAccessLogPage(query) { return request({ diff --git a/ruoyi-ui/src/views/infra/apiAccessLog/index.vue b/ruoyi-ui/src/views/infra/apiAccessLog/index.vue index ee7819f3c..04c61fe86 100644 --- a/ruoyi-ui/src/views/infra/apiAccessLog/index.vue +++ b/ruoyi-ui/src/views/infra/apiAccessLog/index.vue @@ -18,7 +18,7 @@ - + @@ -45,8 +45,7 @@ - - +