修改导入接口地址
This commit is contained in:
2
.env
2
.env
@@ -1,3 +1,3 @@
|
|||||||
VUE_APP_VERSION=1.0.0
|
VUE_APP_VERSION=1.0.0
|
||||||
VUE_APP_NAME=生态环境监测数据综合分析平台
|
VUE_APP_NAME=生态环境监测数据综合分析平台
|
||||||
VUE_APP_API_BASE_URL=http://1.14.132.108:10002/api
|
VUE_APP_API_BASE_URL=http://101.132.173.65:10001/api
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
const baseUri = '/api/lakeLibrary/lakeLibraryImport'
|
const baseUri = '/lakeLibrary/lakeLibraryImport'
|
||||||
|
|
||||||
|
|
||||||
export const cityOther = `${baseUri}/cityOther`
|
export const cityOther = `${baseUri}/cityOther`
|
||||||
@@ -7,18 +7,18 @@ export const appointCity = `${baseUri}/appointCity`
|
|||||||
export const special = `${baseUri}/special`
|
export const special = `${baseUri}/special`
|
||||||
|
|
||||||
|
|
||||||
// 城市内湖-其他内湖:/api/lakeLibrary/lakeLibraryImport/
|
// 城市内湖-其他内湖:/lakeLibrary/lakeLibraryImport/
|
||||||
export const importCityOther = function (data) {
|
export const importCityOther = function (data) {
|
||||||
return axios.post(cityOther,data)
|
return axios.post(cityOther,data)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 城市内湖-五象湖:/api/lakeLibrary/lakeLibraryImport/appointCity
|
// 城市内湖-五象湖:/lakeLibrary/lakeLibraryImport/appointCity
|
||||||
export const importCppointCity = function (data) {
|
export const importCppointCity = function (data) {
|
||||||
console.log('data',data)
|
console.log('data',data)
|
||||||
return axios.post(appointCity,data)
|
return axios.post(appointCity,data)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 专项湖库:/api/lakeLibrary/lakeLibraryImport/special
|
// 专项湖库:/lakeLibrary/lakeLibraryImport/special
|
||||||
export const importSpecial = function (data) {
|
export const importSpecial = function (data) {
|
||||||
return axios.post(special,data)
|
return axios.post(special,data)
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user