flat:合并

This commit is contained in:
Apcallover
2024-04-15 15:12:48 +08:00

View File

@@ -4,7 +4,7 @@ import {
/*逆地址解析*/ /*逆地址解析*/
export const getcoder = (location, key, get_poi) => { export const getcoder = (location, key, get_poi) => {
return request({ return request({
url: '/qq/map/ws/geocoder/v1', url: 'https://apis.map.qq.com/ws/geocoder/v1',
method: 'get', method: 'get',
params: { params: {
location, location,
@@ -17,7 +17,7 @@ export const getcoder = (location, key, get_poi) => {
/*关键词输入提示*/ /*关键词输入提示*/
export const querySearch = (keyword, key) => { export const querySearch = (keyword, key) => {
return request({ return request({
url: '/qq/map/ws/place/v1/suggestion', url: 'https://apis.map.qq.com/ws/place/v1/suggestion',
method: 'get', method: 'get',
params: { params: {
keyword, keyword,