From ad1554c502a7d74438ea72249b1c3e7eaab7c5e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Mon, 29 May 2023 14:36:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E9=87=8CBASE=5FCONFIG=E6=8A=A5=E7=BA=A2=E7=BA=BF=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/api.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/api.js b/src/utils/api.js index f1bf2236..c1be51aa 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -35,9 +35,9 @@ export const api = { // galaxyProxy galaxyProxy: '/galaxy/setting', // 知识库 - knowledgeBase: BASE_CONFIG.apiVersion + '/knowledgeBase', - knowledgeBaseList: BASE_CONFIG.apiVersion + '/knowledgeBase/list', - knowledgeBaseEnable: BASE_CONFIG.apiVersion + '/knowledgeBase/status', + knowledgeBase: window.BASE_CONFIG.apiVersion + '/knowledgeBase', + knowledgeBaseList: window.BASE_CONFIG.apiVersion + '/knowledgeBase/list', + knowledgeBaseEnable: window.BASE_CONFIG.apiVersion + '/knowledgeBase/status', // 报告相关 reportJob: '/report/job',