trade:优化运费模版的实现

(cherry picked from commit a9bbbc7b0a)
This commit is contained in:
YunaiV
2023-10-02 18:30:22 +08:00
committed by shizhong
parent de47866f49
commit 7d44b98116
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 })