public string Execute(Hashtable params_ht) { Hashtable res = params_ht; if (res["UID"] == null || res["AddressKeyword"] == null || res["Region"] == null || res["Location"] == null || res["UID"].ToString().Trim().Length <= 0 || res["AddressKeyword"].ToString().Trim().Length <= 0 || res["Region"].ToString().Trim().Length <= 0 || res["Location"].ToString().Trim().Length <= 0) { return(SiteHelper.GetJsonFromHashTable(null, "faild", "参数不完整")); } else { uid = res["UID"].ToString().Trim(); addresskeyword = res["AddressKeyword"].ToString().Trim(); region = res["Region"].ToString().Trim(); location = res["Location"].ToString().Trim(); return(SiteHelper.GetAddressSuggestion(addresskeyword, region, location)); } }