Browse Source

调整用户地址配置

tengmingxue 2 năm trước cách đây
mục cha
commit
c780ac6ab2
3 tập tin đã thay đổi với 8 bổ sung8 xóa
  1. 6 6
      public/config.js
  2. 0 0
      public/web.config
  3. 2 2
      src/utils/request.js

+ 6 - 6
public/config.js

@@ -55,35 +55,35 @@ export const appconfig = {
       'groupname': '天地图离线标注图服务',
       'type': 'tiled',
       'config': [
-        { 'name': '标注地图', 'url': 'http://192.168.2.61:6080/arcgis/rest/services/xrty/tysw_imgano/MapServer' }
+        { 'name': '标注地图', 'url': 'http://36.138.232.112:6080/arcgis/rest/services/xrty/tysw_imgano/MapServer' }
       ]
     },
     'tian_offline_vector_label': {
       'groupname': '天地图离线标注图服务',
       'type': 'tiled',
       'config': [
-        { 'name': '标注地图', 'url': 'http://192.168.2.61:6080/arcgis/rest/services/xrty/tysw_vecano/MapServer' }
+        { 'name': '标注地图', 'url': 'http://36.138.232.112:6080/arcgis/rest/services/xrty/tysw_vecano/MapServer' }
       ]
     },
     'tian_offline_raster': {
       'groupname': '天地图离线影像图服务',
       'type': 'tiled',
       'config': [
-        { 'name': '影像地图', 'url': 'http://192.168.2.61:6080/arcgis/rest/services/xrty/tysw_img/MapServer' }
+        { 'name': '影像地图', 'url': 'http://36.138.232.112:6080/arcgis/rest/services/xrty/tysw_img/MapServer' }
       ]
     },
     'tian_offline_vector': {
       'groupname': '天地图离线矢量服务',
       'type': 'tiled',
       'config': [
-        { 'name': '矢量地图', 'url': 'https://192.168.2.61:6080/arcgis/rest/services/xrty/tysw_vec/MapServer' }
+        { 'name': '矢量地图', 'url': 'https://36.138.232.112:6080/arcgis/rest/services/xrty/tysw_vec/MapServer' }
       ]
     },
     'river_thema': {
       'groupname': '水系专题图服务',
       'type': 'dynamic',
       'config': [
-        { 'name': '水系专题图', 'url': 'http://183.255.30.6:6080/arcgis/rest/services/xrty/pipe_river/MapServer' }
+        { 'name': '水系专题图', 'url': 'http://36.138.232.112:6080/arcgis/rest/services/xrty/pipe_river/MapServer' }
       ]
     },
 
@@ -176,7 +176,7 @@ export const appconfig = {
     'trace_downStream_analyze': {
       'groupname': '下游追踪分析',
       'config': [
-        { 'name': '下游追踪分析', 'url': 'http://183.255.30.6:6080/arcgis/rest/services/hnls/lsswgp/GPServer/TraceDownstreamAnalyze' }
+        { 'name': '下游追踪分析', 'url': 'http://36.138.232.112:6080/arcgis/rest/services/hnls/lsswgp/GPServer/TraceDownstreamAnalyze' }
       ]
     }
   }

web.config → public/web.config


+ 2 - 2
src/utils/request.js

@@ -6,8 +6,8 @@ import qs from 'qs'
 import router from '@/router'
 
 // 创建axios实例
-// export const IP = 'http://36.138.232.124:10085/'
-export const IP = 'http://221.182.8.141:10085'
+export const IP = 'http://36.138.232.124:10085/'
+//export const IP = 'http://221.182.8.141:10085'
 export const NewIp = 'http://58.17.241.6:1212'
 const service = axios.create({
   baseURL: IP,