suerprisePlus
2024-08-05 30e393df7b1d89c4172a7f4bec6e80e2dc00c373
public/config/config.js
@@ -14,7 +14,10 @@
const kgHost = isWeb ? isUrl + ":9036" : isUrl + ":8080";
// 数据分析端口
const pyHost = isWeb ? isUrl + ":9036" : isUrl + ":8000";
//rag端口
const ragHost = isWeb ? isUrl + ":9036" : "192.168.11.95:8080";
// 本地数据地址
const pwythHost = "http://localhost/pwyth";
//配置
const config = {
  // server服务
@@ -25,6 +28,8 @@
  peiWangServices: "http://" + peiWangHost + "/peiwang/",
  //数据分析接口
  pyServices: "http://" + pyHost + "/py",
  //rag服务地址
  ragServices: "http://" + ragHost+ "/api/vi",
  imageUrl: "",
  // sdk显示
  sdkImg: host + "/visual/CimSDK/",
@@ -35,5 +40,13 @@
    url: "http://" + geoHost + "/geoserver/sxpw",
    wms: "/wms",
    wfs: ""
  }
  },
  //地下数据
  terrain: {
    isShow: false,
    isUrl: pwythHost + "/terrain/"
  },
  domTilesets: {
    url: pwythHost + "/qingxie/tileset.json"
  },
};