import {request} from '@/untils/AxiosUtils.js';
/*逆地址解析*/
export const getcoder = (location, key, get_poi) => {
  return request({
    url: '/qq/map/ws/geocoder/v1',
    method: 'get',
    params: {
      location,
      key,
      get_poi
    }
  })
}

/*关键词输入提示*/
export const querySearch = (keyword, key) => {
  return request({
    url: '/qq/map/ws/place/v1/suggestion',
    method: 'get',
    params: {
      keyword,
      key
    }
  })
}
