From fd73e99196e00c82885c83ee2f1253c2fc343756 Mon Sep 17 00:00:00 2001
From: surprise <15810472099@163.com>
Date: 星期二, 19 十二月 2023 09:32:59 +0800
Subject: [PATCH] 页面修改

---
 public/config/config.js |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/public/config/config.js b/public/config/config.js
index fd7c25e..153d3d7 100644
--- a/public/config/config.js
+++ b/public/config/config.js
@@ -1,17 +1,18 @@
 //var isWeb = location.hostname.indexOf("103.85.165.") > -1;
 var isWeb = false;
 var is_production = false;//鍒ゆ柇鏄惁涓虹敓浜х幆澧� //192.168.21.194
+var isUrl = isWeb ? "103.85.165.99" : '192.168.20.53';
+var webHost = isWeb ? isUrl + ":8052" : isUrl + ":12316";
 
-var webHost = isWeb ? "103.85.165.99" + ":8052" : '192.168.20.205' + ":8088";
-// var webHost = isWeb ? "103.85.165.99" + ":8052" : '192.168.21.194' + ":12316";
+var geoHost = isWeb ? isUrl + ":8052" : isUrl + ":8888";
 
-var fmeHost = isWeb ? "103.85.165.99" + ":8051" : '192.168.20.205' + ":88";
+var fmeHost = isWeb ? isUrl + ":8051" : isUrl + ":88";
 
-var iisHost = isWeb ? "103.85.165.99" + ":8050" : '192.168.20.205' + ":80";
+var iisHost = isWeb ? isUrl + ":8050" : isUrl + ":80";
 
-var menuStartName = "绠¢亾鍩虹澶ф暟鎹钩鍙�";
+var menuStartName = "閰嶇綉涓�浣撳寲鏅烘収鎸囨尌鑸�";
 
-var LFData = "http://" + iisHost + "/LFData";
+var SXData = "http://" + iisHost + "/pwyth";
 
 var BASE_URL = 'http://' + webHost + '/server';
 
@@ -19,17 +20,17 @@
 var socketUrl = 'ws://' + webHost + '/server/ws/select';
 
 // GeoServerUrl
-var geoServerURl = 'http://' + webHost + '/geoserver/LF/wms';
+var geoServerURl = 'http://' + geoHost + '/geoserver/sxpw/wms';
 
-var geoserverWFS = '/geoserver/LF/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=LF%3Abs_project&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=projname=';
+var geoserverWFS = '/geoserver/sxpw/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=LF%3Abs_project&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=projname=';
 
-var geoserverWFSLine = '/geoserver/LF/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=LF%3Am_pipeline&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=projname=';
+var geoserverWFSLine = '/geoserver/sxpw/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=LF%3Am_pipeline&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=projname=';
 
 // 妯″瀷鍔犺浇鍦板潃
-var modelUrl = LFData;
+var modelUrl = SXData;
 
 // DEM
-var demLayer = LFData + '/dem';
+var demLayer = SXData + '/terrain';
 
 // 缁煎悎灞曠ず
 window.sceneConfig = {

--
Gitblit v1.9.3