From 99ef2c53e2b64b8ba342eb2abebfab28ccc31b9d Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期三, 12 七月 2023 14:19:22 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/dist/src/api/logs.js | 64 ++++++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 0 deletions(-) diff --git a/Source/UBCS-WEB/dist/src/api/logs.js b/Source/UBCS-WEB/dist/src/api/logs.js new file mode 100644 index 0000000..7538730 --- /dev/null +++ b/Source/UBCS-WEB/dist/src/api/logs.js @@ -0,0 +1,64 @@ +import request from '@/router/axios'; + +export const getUsualList = (current, size) => { + return request({ + url: '/api/ubcs-log/usual/list', + method: 'get', + params: { + current, + size + } + }) +} + +export const getApiList = (current, size) => { + return request({ + url: '/api/ubcs-log/api/list', + method: 'get', + params: { + current, + size + } + }) +} + +export const getErrorList = (current, size) => { + return request({ + url: '/api/ubcs-log/error/list', + method: 'get', + params: { + current, + size + } + }) +} + + +export const getUsualLogs = (id) => { + return request({ + url: '/api/ubcs-log/usual/detail', + method: 'get', + params: { + id, + } + }) +} +export const getApiLogs = (id) => { + return request({ + url: '/api/ubcs-log/api/detail', + method: 'get', + params: { + id, + } + }) +} +export const getErrorLogs = (id) => { + return request({ + url: '/api/ubcs-log/error/detail', + method: 'get', + params: { + id, + } + }) +} + -- Gitblit v1.9.3