You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
298 B

import { defHttp } from '@/utils/http/axios'
// 获得地区树
export const getAreaTree = () => {
return defHttp.get({ url: '/system/area/tree' })
}
// 获得 IP 对应的地区名
export const getAreaByIp = (ip: string) => {
return defHttp.get({ url: '/system/area/get-by-ip?ip=' + ip })
}