import request from './fetcher/request'

export default {
  getCityList () {
    return request.get('region/allCity')
  },
  getCityListByProv (province) {
    return request.get('region/cityList',{province})
  },
  getProvinceList () {
    return request.get('region/provinceList')
  },
  getSubList (parent_id) {
    return request.get('region/list',{parent_id})
  },
}