|
|
|
@ -41,7 +41,7 @@ const DELETE = 'DELETE';
|
|
|
|
|
// url: "/pages/auth/auth",
|
|
|
|
|
// })
|
|
|
|
|
// // setTimeout(() => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// // }, 1500)
|
|
|
|
|
// } else {
|
|
|
|
|
// resolve(res.data);
|
|
|
|
@ -57,14 +57,14 @@ const DELETE = 'DELETE';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const API = { |
|
|
|
|
getLandListing: (data) => request(GET, `getLandListing`, data), //已出让
|
|
|
|
|
getLandList: (data) => request(GET, `getLandList`, data), //挂牌中
|
|
|
|
|
getRegionByLocation: (data) => request(GET, `getRegionByLocation`, data), //行政区
|
|
|
|
|
getLandToList: (data) => request(GET, `getLandToList`, data), //待挂牌
|
|
|
|
|
getFacilitiesByLocation: (data) => request(GET, `getFacilitiesByLocation`, data), //配套
|
|
|
|
|
getLoopLine: (data) => request(GET, `getLoopLine`, data), //环线
|
|
|
|
|
getTypeRegionByLocation: (data) => request(GET, `getTypeRegionByLocation`, data), //大组团或者小组团
|
|
|
|
|
AJAX: (GET, url, data, is_token) => request(GET, url, data, is_token), |
|
|
|
|
getLandListing: (data) => request(GET, `applets/map/getLandListing`, data), //已出让
|
|
|
|
|
getLandList: (data) => request(GET, `applets/map/getLandList`, data), //挂牌中
|
|
|
|
|
getRegionByLocation: (data) => request(GET, `applets/map/getRegionByLocation`, data), //行政区
|
|
|
|
|
getLandToList: (data) => request(GET, `applets/map/getLandToList`, data), //待挂牌
|
|
|
|
|
getFacilitiesByLocation: (data) => request(GET, `applets/map/getFacilitiesByLocation`, data), //配套
|
|
|
|
|
getLoopLine: (data) => request(GET, `applets/map/getLoopLine`, data), //环线
|
|
|
|
|
getTypeRegionByLocation: (data) => request(GET, `applets/map/getTypeRegionByLocation`, data), //大组团或者小组团
|
|
|
|
|
AJAX: (GET, url, data, is_token) => request(GET, 'applets/map/' + url, data, is_token), |
|
|
|
|
}; |
|
|
|
|
module.exports = { |
|
|
|
|
API: API |
|
|
|
|