Agriculture-front-end/dist/config copyy.js

31 lines
2.1 KiB
JavaScript

window.serverAPI = {
// 标记 注释 线上二 启用本地
baseUrl: "http://192.168.1.19:6902", //本地
// baseUrl: "http://36.134.44.75:6901", //线上
// baseUrl: "http://zz.qxszsn.cn/prod-api/", //线上二
// baseUrl: "http://10.213.5.175:8080/prod-api/", //金宏网
// geoserver
// geoserverUrl: "http://36.134.44.75:8090/iserver/services",//外网
geoserverUrl: "http://27.223.102.23:9010/iserver/services", //外网
// geoserverUrl: "http://10.213.5.109:8090/iserver/services", //金宏网
// geoserverUrl2: "http://10.213.5.109:8090/iserver/services", //耕地资源模块
geoserverUrl2: "http://192.168.0.113:8090/iserver/services", //耕地资源模块
key: '921cd226bea05c8604531b8443b3cb13', //天地图key
// logHome: 'http://36.134.45.201:8000/index', //退出登录跳转门户网站
logHome:'http://oa.qxszsn.cn/index', //退出登录跳转门户网站
// logHome: 'http://10.213.5.175:80/index', //退出登录跳转门户网站
// 金宏网天地图
// tiandituLayers: 'http://59.206.203.34/tileservice/SdRasterPubMap?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=sdimg2017&STYLE=default&TILEMATRIXSET=img2017&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=application%2Fpng',
// //外网天地图
tiandituLayers: 'https://t0.tianditu.gov.cn/img_w/wmts?tk=921cd226bea05c8604531b8443b3cb13&layer=img&style=default&tilematrixset=w&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}',
//金宏网天地图注记
// tiandituzhuji:'http://59.206.203.34/tileservice/SDRasterPubMapDJ?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=sdcia&STYLE=default&TILEMATRIXSET=sdcia&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=application%2Fpng',
//外网天地图注记
tiandituzhuji:'http://t0.tianditu.com/DataServer?T=cia_w&tk=921cd226bea05c8604531b8443b3cb13&x={x}&y={y}&l={z}',
// api:'http://36.134.45.201:8000',//跳转获取用户信息接口
api:'http://oa.qxszsn.cn',//跳转获取用户信息接口
// api:'http://10.213.5.175:80',//跳转获取用户信息接口
}