trade:优化运费模版的实现

This commit is contained in:
YunaiV
2023-10-02 18:30:22 +08:00
parent bb08f6f54f
commit a9bbbc7b0a
5 changed files with 58 additions and 179 deletions

View File

@ -5,14 +5,6 @@ export const getAreaTree = async () => {
return await request.get({ url: '/system/area/tree' })
}
export const getChildrenArea = async (id: number) => {
return await request.get({ url: '/system/area/get-children?id=' + id })
}
export const getAreaListByIds = async (ids) => {
return await request.get({ url: '/system/area/get-by-ids?ids=' + ids })
}
// 获得 IP 对应的地区名
export const getAreaByIp = async (ip: string) => {
return await request.get({ url: '/system/area/get-by-ip?ip=' + ip })