コード例 #1
0
        public void getCountyByCityId(string cityId)
        {
            if (string.IsNullOrEmpty(cityId))
            {
                Response.Write("{\"success\":false,\"error\":\"参数错误!\"}");
            }
            List <COUNTY> lst = RegionDal.getCountyByCityId(cityId);

            Response.Write("{\"success\":true,\"data\":" + JsonHelper.ObjectToJson(lst) + "}");
        }