From b9d707dc8ff6a5d4acecaceae2aa715bda93be3f Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Sun, 15 Jun 2025 20:10:54 +0800 Subject: [PATCH] =?UTF-8?q?refactor(gateway):=20=E9=80=82=E9=85=8Dai=20web?= =?UTF-8?q?=E7=9A=84=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lanyuanxiaoyao/service/gateway/GatewayApplication.java | 3 +-- service-web/client/src/util/amis.tsx | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/service-gateway/src/main/java/com/lanyuanxiaoyao/service/gateway/GatewayApplication.java b/service-gateway/src/main/java/com/lanyuanxiaoyao/service/gateway/GatewayApplication.java index 7e41432..ff8bcde 100644 --- a/service-gateway/src/main/java/com/lanyuanxiaoyao/service/gateway/GatewayApplication.java +++ b/service-gateway/src/main/java/com/lanyuanxiaoyao/service/gateway/GatewayApplication.java @@ -51,8 +51,7 @@ public class GatewayApplication { .route("web", createRoute("/hudi_services/service_web", "lb://service-web")) .route("services", createRoute("/hudi_services/service_cloud_query", "lb://service-cloud-query")) .route("exporter", createRoute("/hudi_services/service_exporter", "lb://service-exporter")) - .route("ai-chat", createRoute("/hudi_services/ai_chat", "lb://service-ai-chat")) - .route("ai-knowledge", createRoute("/hudi_services/ai_knowledge", "lb://service-ai-knowledge")) + .route("ai-web", createRoute("/hudi_services/service_ai_web", "lb://service-ai-web")) .build(); } } diff --git a/service-web/client/src/util/amis.tsx b/service-web/client/src/util/amis.tsx index 13bc0a3..4b98e6e 100644 --- a/service-web/client/src/util/amis.tsx +++ b/service-web/client/src/util/amis.tsx @@ -10,9 +10,8 @@ import {isEqual} from 'licia' export const commonInfo = { debug: isEqual(import.meta.env.MODE, 'development'), baseUrl: 'http://132.126.207.130:35690/hudi_services/service_web', - // baseAiKnowledgeUrl: 'http://132.126.207.130:35690/hudi_services/ai_knowledge', - baseAiUrl: 'http://localhost:8080', - // baseUrl: '/hudi_services/service_web', + baseAiUrl: 'http://132.126.207.130:35690/hudi_services/service_ai_web', + // baseAiUrl: 'http://localhost:8080', authorizationHeaders: { 'Authorization': 'Basic QXhoRWJzY3dzSkRiWU1IMjpjWXhnM2I0UHRXb1ZENVNqRmF5V3h0blNWc2p6UnNnNA==', 'Content-Type': 'application/json',