import service from './service'
|
|
// 获取地区api
|
export class AddressResourcesApi {
|
/**
|
*查询限购区域
|
* @param {*} showLoading
|
* @returns
|
*/
|
getLimitArea = (showLoading = true) => {
|
return service.get('wly-customization-service/forbidAreaInfo/findForbidAreaInfomation', { showLoading })
|
}
|
|
/**
|
*新增限制区域
|
* @param {*} showLoading
|
* @returns
|
*/
|
saveLimitArea= (showLoading = true) => {
|
return service.post('wly-customization-service/forbidAreaInfo/saveForbidAreaInfo', showLoading)
|
}
|
|
/**
|
*删除限制区域
|
* @param {*} showLoading
|
* @returns
|
*/
|
deleteLimitArea= (params, showLoading = true) => {
|
return service.post('wly-customization-service/forbidAreaInfo/deleteForbidAreaInfomation', params, showLoading)
|
}
|
}
|
export default new AddressResourcesApi()
|