You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
828 B
34 lines
828 B
import request from '@/utils/request'
|
|
|
|
// 获取省/portal/v1/regions/getProvince
|
|
export function getProvince(data) {
|
|
return request({
|
|
url: '/portal/v1/regions/getProvince',data,
|
|
method: 'get',
|
|
params:data,
|
|
})
|
|
}
|
|
// 根据省sid获取该省的所有市
|
|
export function getCity(data) {
|
|
return request({
|
|
url: '/portal/v1/regions/getCity',
|
|
params:data,
|
|
method: 'get',
|
|
})
|
|
}
|
|
// 根据市sid获取该市的所有县区
|
|
export function getCounty(data) {
|
|
return request({
|
|
url: '/portal/v1/regions/getCounty',
|
|
method: 'get',
|
|
params:data,
|
|
})
|
|
}
|
|
// // 区域列表(省市县均可用)
|
|
// export function selectsList(data) {
|
|
// return request({
|
|
// url: '/portal/v1/regions/selectsList', data,
|
|
// method: 'post',
|
|
// headers: { 'Content-Type': 'application/json' }
|
|
// })
|
|
// }
|
|
|