From 9b4433fddf5b401edb0aace8a404ac733b122702 Mon Sep 17 00:00:00 2001 From: 田源 <tianyuan@vci-tech.com> Date: 星期四, 03 四月 2025 14:35:02 +0800 Subject: [PATCH] 添加非密字段显示 --- Source/UBCS-WEB/src/api/logs.js | 55 +++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 49 insertions(+), 6 deletions(-) diff --git a/Source/UBCS-WEB/src/api/logs.js b/Source/UBCS-WEB/src/api/logs.js index 287ace9..e56358f 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,46 @@ }) } +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, + } + }) +} + +export const detailByOid = (params) => { + return request({ + url: '/api/ubcs-log/operateLog/detailByOid', + method: 'get', + params: { + ...params, + } + }) +} -- Gitblit v1.9.3