suerprisePlus
2024-08-21 7d57b0fef0f220dfe7c868ce1113a7ce6eb6c468
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,15 +28,34 @@
  peiWangServices: "http://" + peiWangHost + "/peiwang/",
  //数据分析接口
  pyServices: "http://" + pyHost + "/py",
  //rag服务地址
  ragServices: "http://" + ragHost+ "/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",
 },
};