回退vxe版本

This commit is contained in:
gexinzhineng/gxzn27
2023-04-03 15:26:56 +08:00
parent 87a5ddfd2c
commit 0e578f8d0a
178 changed files with 12350 additions and 8340 deletions

View File

@ -1,11 +1,15 @@
import request from '@/config/axios'
import request from '@/config/axios/request'
// 获得地区树
export const getAreaTree = async () => {
return await request.get({ url: '/system/area/tree' })
export const getAreaTree = async (content?: any) => {
return await request.get({
url: '/system/area/tree',
params: content
})
}
// 获得 IP 对应的地区名
export const getAreaByIp = async (ip: string) => {
return await request.get({ url: '/system/area/get-by-ip?ip=' + ip })
export const getAreaByIp = async (ip) => {
return await request.get({
url: '/system/area/get-by-ip?ip=' + ip
})
}