This commit is contained in:
18500206848
2024-02-02 14:44:30 +08:00
parent 6647042acb
commit 91172a730c
255 changed files with 24805 additions and 0 deletions

25
api/map.js Normal file
View File

@@ -0,0 +1,25 @@
import {request} from '@/untils/AxiosUtils.js';
/*逆地址解析*/
export const getcoder = (location, key, get_poi) => {
return request({
url: '/api/map/ws/geocoder/v1',
method: 'get',
params: {
location,
key,
get_poi
}
})
}
/*关键词输入提示*/
export const querySearch = (keyword, key) => {
return request({
url: '/api/map/ws/place/v1/suggestion',
method: 'get',
params: {
keyword,
key
}
})
}