using System.Collections.Generic; namespace Senparc.Weixin.MP.AdvancedAPIs.Wxa.MerchantJson { public class DistrictResultJson { public int status { get; set; } public string message { get; set; } public string data_version { get; set; } /// /// result[0]是省 result[1]是市 result[2]是区 /// public IEnumerable[] result { get; set; } } /// /// 地区信息 /// public class District { /// /// 地区id /// public int id { get; set; } /// /// 简称 只有该地区名字 /// public string name { get; set; } /// /// 全称 省市区的名字 /// public string fullname { get; set; } /// /// 拼音 /// public IEnumerable pinyin { get; set; } /// /// 经纬度 /// public Location location { get; set; } /// /// 下级的地区id /// public IEnumerable cidx { get; set; } } public class Location { /// /// 经度 /// public double lat { get; set; } /// /// 纬度 /// public double lng { get; set; } } }