From f9f80893f6b29f0aaa8d5f7c1291f91b8f477fe4 Mon Sep 17 00:00:00 2001
From: ChenZeping02609 <chenzeping02609@163.com>
Date: 星期三, 12 五月 2021 18:21:01 +0800
Subject: [PATCH] 污染源修改

---
 src/api/mapUrl.js |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/api/mapUrl.js b/src/api/mapUrl.js
index b9cb528..b29d8aa 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,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 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'
+
+// 姹℃煋婧�
+export const getSourcesPoll = 'http://localhost:8080/static/SourcesPoll.json'

--
Gitblit v1.8.0