From f521ebc2551d468c4c478783a18d4b0714394d61 Mon Sep 17 00:00:00 2001 From: suerprisePlus <15810472099@163.com> Date: 星期一, 14 十月 2024 15:00:13 +0800 Subject: [PATCH] 配网大屏功能优化 --- public/config/config.js | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/public/config/config.js b/public/config/config.js index be1270a..4099b48 100644 --- a/public/config/config.js +++ b/public/config/config.js @@ -15,7 +15,7 @@ // 鏁版嵁鍒嗘瀽绔彛 const pyHost = isWeb ? isUrl + ":9036" : isUrl + ":8000"; //rag绔彛 -const ragHost = isWeb ? isUrl + ":9036" : "192.168.11.95:8080"; +const ragHost = isWeb ? isUrl + ":9036" : "192.168.11.24:8103"; // 鏈湴鏁版嵁鍦板潃 const pwythHost = "http://localhost/pwyth"; //閰嶇疆 @@ -29,18 +29,22 @@ //鏁版嵁鍒嗘瀽鎺ュ彛 pyServices: "http://" + pyHost + "/py", //rag鏈嶅姟鍦板潃 - ragServices: "http://" + ragHost+ "/api/vi", + // ragServices: "http://" + ragHost+ "/api/vi", + ragServices: "http://" + ragHost+ "/rag_sxdw/api/vi", imageUrl: "", // sdk鏄剧ず - sdkImg: host + "/visual/CimSDK/", + sdkImg: host + "/CimSDK/", // 澶╁湴鍥� tdToken: "94a34772eb88317fcbf8428e10448561", // geoServer鏈嶅姟 geoServer: { url: "http://" + geoHost + "/geoserver/sxpw", wms: "/wms", - wfs: "" + wfs: "", + layers:["sxpw:sxdwx","sxpw:tygdtif17"] + }, + pySocket:"ws://192.168.11.24:8101/peiwang/ws/asset", //鍦颁笅鏁版嵁 terrain: { isShow: false, -- Gitblit v1.9.3