运费模板区域改成多选

(cherry picked from commit 70c5082776)
This commit is contained in:
jason
2023-05-27 11:32:16 +08:00
committed by shizhong
parent 6e7ee28079
commit 88439669c0
4 changed files with 40 additions and 31 deletions

View File

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