public void getCityByProId(string proId) { if (string.IsNullOrEmpty(proId)) { Response.Write("{\"success\":false,\"error\":\"参数错误!\"}"); } List <CITY> lst = RegionDal.getCityByProId(proId); Response.Write("{\"success\":true,\"data\":" + JsonHelper.ObjectToJson(lst) + "}"); }