import request from '@/utils/request'

// 获取路由
export const getMapCoder = (address) => {
  return request({
    url: `/ws/geocoder/v1/?address=${address}&key=${import.meta.env.VITE_TX_MAP_KEY}`,
    method: 'get'
  })
}