From dd1f49d08fd83a900c08eb87c78a6d56b3ee3a50 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期二, 11 五月 2021 10:36:23 +0800 Subject: [PATCH] 图层控制联动效果。 --- src/api/mapUrl.js | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/api/mapUrl.js b/src/api/mapUrl.js index b9cb528..bb12e82 100644 --- a/src/api/mapUrl.js +++ b/src/api/mapUrl.js @@ -1,7 +1,7 @@ /** * 璇ユ枃浠堕厤缃帴鍙g殑URL鍦板潃 */ -import { $HOST } from './host' +import { $HOST, $HOSTANALYSE } from './host' export const GetUser = $HOST + '/user/getUser' @@ -30,10 +30,8 @@ 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 findConnectedPipelines = $HOST + '/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' -- Gitblit v1.8.0