运费模板区域改成多选

This commit is contained in:
jason committed 2023-05-27 11:32:16 +08:00
1 parent b12aefe46e
commit 70c5082776
4 files changed
+40 -31

No files matched your search

+3 -3
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 对应的地区名