大区树

This commit is contained in:
hh
2020-11-18 13:44:34 +08:00
parent 6a12be88ae
commit 1750b25e3b
3 changed files with 130 additions and 7 deletions

View File

@ -7,4 +7,22 @@ export function list() {
method: 'get',
})
}
export function areaSelect() {
return request({
url: '/system/area/select',
method: 'get',
})
}
export function getProvinceByArea(id) {
return request({
url: '/system/province/getProvinceByArea?areaId=' + id,
method: 'get',
})
}
export function getProvinceByParent(id) {
return request({
url: '/system/province/getProvinceByParent?parent=' + id,
method: 'get',
})
}