geographic.js 239 Bytes
Newer Older
sorrycc's avatar
sorrycc committed
1
import request from '../../../../utils/request';
2 3 4 5 6 7 8 9

export async function queryProvince() {
  return request('/api/geographic/province');
}

export async function queryCity(province) {
  return request(`/api/geographic/city/${province}`);
}