dataease/frontend/src/api/map/map.js

18 lines
318 B
JavaScript
Raw Normal View History

2021-07-21 17:12:40 +08:00
import request from '@/utils/request'
export const areaMapping = () => {
return request({
url: '/api/map/areaEntitys/0',
method: 'get',
loading: true
})
}
export function geoJson(areaCode) {
return request({
url: '/api/map/resourceFull/' + areaCode,
method: 'get',
loading: true
})
}