34 lines
775 B
C#
34 lines
775 B
C#
![]() |
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using VOL.Model;
|
|||
|
|
|||
|
namespace VOL.Business.IServices
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 地址相关
|
|||
|
/// </summary>
|
|||
|
public interface ILocationService
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 获取省份
|
|||
|
/// </summary>
|
|||
|
/// <returns></returns>
|
|||
|
Task<List<ProvinceModel>> GetProvinceList();
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 获取城市
|
|||
|
/// </summary>
|
|||
|
/// <returns></returns>
|
|||
|
Task<List<CityModel>> GetCityList(string provinceCode);
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 获取区县
|
|||
|
/// </summary>
|
|||
|
/// <returns></returns>
|
|||
|
Task<List<DistrictModel>> GetDistrictList(string cityCode);
|
|||
|
}
|
|||
|
}
|