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 | 34 ++++++++++++++++++++++++++++++---- 1 files changed, 30 insertions(+), 4 deletions(-) diff --git a/public/config/config.js b/public/config/config.js index 0abac97..c076d31 100644 --- a/public/config/config.js +++ b/public/config/config.js @@ -14,9 +14,14 @@ const kgHost = isWeb ? isUrl + ":9036" : isUrl + ":8080"; // 鏁版嵁鍒嗘瀽绔彛 const pyHost = isWeb ? isUrl + ":9036" : isUrl + ":8000"; - +//rag绔彛 +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/", // 鐭ヨ瘑鍥捐氨鏈嶅姟 @@ -25,15 +30,36 @@ peiWangServices: "http://" + peiWangHost + "/peiwang/", //鏁版嵁鍒嗘瀽鎺ュ彛 pyServices: "http://" + pyHost + "/py", + //rag鏈嶅姟鍦板潃 + // 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, + isUrl: pwythHost + "/terrain/" + }, + domTilesets: { + url: pwythHost + "/qingxie/tileset.json" + }, + baseModel:{ + serveType: 'Tileset', + url: pwythHost + "/modles/TY/tileset.json", + cnName:"baseModel", + id:"baseModel", + flag:false, + }, }; -- Gitblit v1.9.3