From ab8f3297f7c8243d486c9da0900e4f813b2ea2df Mon Sep 17 00:00:00 2001 From: suerprisePlus <15810472099@163.com> Date: 星期三, 27 十一月 2024 17:16:46 +0800 Subject: [PATCH] 功能更新 --- public/config/config.js | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/public/config/config.js b/public/config/config.js index be1270a..c076d31 100644 --- a/public/config/config.js +++ b/public/config/config.js @@ -15,11 +15,13 @@ // 鏁版嵁鍒嗘瀽绔彛 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"; //閰嶇疆 const config = { + + images: host + "/imgs/", // server鏈嶅姟 apiServices: "http://" + apiHost + "/server/", // 鐭ヨ瘑鍥捐氨鏈嶅姟 @@ -29,18 +31,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, @@ -54,5 +60,6 @@ url: pwythHost + "/modles/TY/tileset.json", cnName:"baseModel", id:"baseModel", + flag:false, }, }; -- Gitblit v1.9.3