From c4d687aacfb4e7b6ee5ce67df93cf2f8d8df80c1 Mon Sep 17 00:00:00 2001 From: xiejun <xj@2023> Date: 星期日, 26 十一月 2023 14:05:48 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/src/api/logs.js | 34 ++++++++++++++++++++++++++++------ 1 files changed, 28 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/api/logs.js b/Source/UBCS-WEB/src/api/logs.js index 287ace9..6655657 100644 --- a/Source/UBCS-WEB/src/api/logs.js +++ b/Source/UBCS-WEB/src/api/logs.js @@ -2,7 +2,7 @@ export const getUsualList = (current, size) => { return request({ - url: '/api/blade-log/usual/list', + url: '/api/ubcs-log/usual/list', method: 'get', params: { current, @@ -13,7 +13,7 @@ export const getApiList = (current, size) => { return request({ - url: '/api/blade-log/api/list', + url: '/api/ubcs-log/api/list', method: 'get', params: { current, @@ -24,7 +24,7 @@ export const getErrorList = (current, size) => { return request({ - url: '/api/blade-log/error/list', + url: '/api/ubcs-log/error/list', method: 'get', params: { current, @@ -36,7 +36,7 @@ export const getUsualLogs = (id) => { return request({ - url: '/api/blade-log/usual/detail', + url: '/api/ubcs-log/usual/detail', method: 'get', params: { id, @@ -45,7 +45,7 @@ } export const getApiLogs = (id) => { return request({ - url: '/api/blade-log/api/detail', + url: '/api/ubcs-log/api/detail', method: 'get', params: { id, @@ -54,7 +54,7 @@ } export const getErrorLogs = (id) => { return request({ - url: '/api/blade-log/error/detail', + url: '/api/ubcs-log/error/detail', method: 'get', params: { id, @@ -62,3 +62,25 @@ }) } +export const getLazyList = (data) => { + return request({ + url: '/api/ubcs-log/localLog/lazy-list', + method: 'post', + data: data, + }) +} +export const downLoadLog = (data) => { + return request({ + url: '/api/ubcs-log/localLog/downLoadLog', + method: 'post', + data:data, + }) +} +export const deleteLocalLog = (data) => { + return request({ + url: '/api/ubcs-log/localLog/deleteLogFile', + method: 'delete', + data: data + }) +} + -- Gitblit v1.9.3