From 9034da66411c0f40c2890d22e9c98a75696f5789 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 27 Feb 2021 12:55:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=20API=20=E8=AE=BF=E9=97=AE?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/api/infra/apiAccessLog.js | 35 ----------- .../src/views/infra/apiAccessLog/index.vue | 63 +++++++++++++------ .../src/views/system/operatelog/index.vue | 11 +--- .../logger/InfApiAccessLogController.java | 9 --- .../apiaccesslog/InfApiAccessLogBaseVO.java | 2 +- .../apiaccesslog/InfApiAccessLogExcelVO.java | 2 +- .../logger/InfApiAccessLogService.java | 8 --- .../impl/InfApiAccessLogServiceImpl.java | 5 -- 8 files changed, 50 insertions(+), 85 deletions(-) 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 @@ - - +