From f7b244103e748e051537cf4b46e875acaf56c450 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期三, 19 五月 2021 16:03:22 +0800 Subject: [PATCH] 重封装定位js --- src/api/request.js | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/api/request.js b/src/api/request.js index 9f9091d..acdca70 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -2,23 +2,24 @@ import Qs from 'qs' export const QueryStoragePlaceListByCompanyAndName = (data = {}) => { - return $http.post('/EPInterface/DataService/EPMapService.asmx/QueryStoragePlaceListByCompanyAndName', Qs.stringify(data), { + return $http.post('http://10.246.162.140:8080/EPInterface/DataService/EPMapService.asmx/QueryStoragePlaceListByCompanyAndName', Qs.stringify(data), { headers: { 'Content-Type': 'application/json' } }) } export const FlueGas = (data = {}) => { - return $http.post('/EPInterface/DataService/EPMapService.asmx/ObtainningConInfo', Qs.stringify(data), { + return $http.post('http://10.246.162.140:8080/EPInterface/DataService/EPMapService.asmx/ObtainningConInfo', Qs.stringify(data), { headers: { 'Content-Type': 'application/json' } }) } + export function requestWasteWater (data = {}) { return $http.post('EPInterface/DataService/EPMapService.asmx/ObtainningConInfo', Qs.stringify(data), { headers: { 'Content-Type': 'application/json' } }) -} \ No newline at end of file +} -- Gitblit v1.8.0