派生自 wuyushui/SewerAndRainNetwork

seatonwan9
2021-05-10 1f0432b13dcb9e696a7751a965d249c92549c94e
管线分析host
2个文件已修改
18 ■■■■■ 已修改文件
src/api/host.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/mapUrl.js 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/host.js
@@ -4,3 +4,9 @@
import { getSchemeHost } from '../utils/tools'
export const $HOST = getSchemeHost()
// 管线分析-线上
export const $HOSTANALYSE = 'http://xearth.cn:6202'
// 管线分析-本地
// export const $HOSTANALYSE = 'http://10.238.105.124:8089'
src/api/mapUrl.js
@@ -1,7 +1,7 @@
/**
 * 该文件配置接口的URL地址
 */
import { $HOST } from './host'
import { $HOST, $HOSTANALYSE } from './host'
export const GetUser = $HOST + '/user/getUser'
@@ -30,8 +30,8 @@
export const getCompany = $HOST + '/company/getCompany'
// 管线分析
export const findPipelineByClickPoint = 'http://xearth.cn:6202' + '/findPipelineByClickPoint'
export const findConnectedPipelines = 'http://xearth.cn:6202' + '/findConnectedPipelines'
export const findFlowDirection = 'http://xearth.cn:6202' + '/findFlowDirection'
export const findLeakages = 'http://xearth.cn:6202' + '/findLeakages'
export const getCrossSection = 'http://xearth.cn:6202' + '/getCrossSection'
export const findPipelineByClickPoint = $HOSTANALYSE + '/findPipelineByClickPoint'
export const findConnectedPipelines = $HOSTANALYSE + '/findConnectedPipelines'
export const findFlowDirection = $HOSTANALYSE + '/findFlowDirection'
export const findLeakages = $HOSTANALYSE + '/findLeakages'
export const getCrossSection = $HOSTANALYSE + '/getCrossSection'