派生自 wuyushui/SewerAndRainNetwork

ChenZeping02609
2021-05-12 f9f80893f6b29f0aaa8d5f7c1291f91b8f477fe4
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,9 +30,11 @@
export const getCompany = $HOST + '/company/getCompany'
// 管线分析
// export const findPipelineByClickPoint = $HOST + '/findPipelineByClickPoint'
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'
// 污染源
export const getSourcesPoll = 'http://localhost:8080/static/SourcesPoll.json'