From cd80929f0ae8882a98cfe3936b2a96bded1c12d8 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期三, 07 四月 2021 18:59:47 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop --- src/api/request.js | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/api/request.js b/src/api/request.js index 445b185..acdca70 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -2,14 +2,22 @@ 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' } -- Gitblit v1.8.0