const webUrl = location.href.indexOf("/GeoAgent") > -1 ? "/GeoAgent/" : ""; const webHost = location.origin + webUrl; const config = { StaticFileBaseUrl: webUrl + "/CimSDK/", //初始化后多长时间开 loadTime: 2000, //间隔多久回消息 retTime: 2000, // apiUrl: "/api/", // apiUrl: "http://192.168.11.95:7777/api/", // wsHost: "ws://192.168.11.194/ws/asset", wsHost: "ws://103.135.160.14:7800/ws/asset", // wsHost: "ws://103.135.160.14:7777/ws/asset", localUrl: "http://192.168.112.13:12315", // apiUrl: "http://192.168.11.125:7777", // apiUrl: "http://103.135.160.14:5381/",0 // apiUrl: location.origin, // apiUrl: "http://192.168.11.194", // apiUrl:"http://103.135.160.14:7800", apiUrl:"/dev-api", imgUrl: webHost + "/image/", reportMd: "/Data/Report.md", reportDocx: "/Data/Report.docx", modelLayer:"军事设施",//"FW21", modelBase: { url: "http://106.120.22.26:8013", account: "/account-service", geo: "/geo-service", password: "LIHAIJING", userId: "LIHAIJING", modelLayer: "军事" } };