From 1c3919f11f5eb5b3c2ba74d95ca6fcdf11ce9bf9 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 25 一月 2024 10:17:35 +0800 Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs --- Source/UBCS-WEB/src/api/logs.js | 45 +++++++++++++++++++++++++++++++++++++++------ 1 files changed, 39 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/api/logs.js b/Source/UBCS-WEB/src/api/logs.js index 287ace9..82b1b69 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,36 @@ }) } +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 + }) +} + +export const listLogOperate = (page,limit,params) => { + return request({ + url: '/api/ubcs-log/operateLog/listLogOperate', + method: 'get', + params: { + page, + limit, + ...params, + } + }) +} \ No newline at end of file -- Gitblit v1.9.3