/// <summary> /// [结束会话] /// </summary> public static CommunicationObject EndKfMeeting(Guid sendUserId) { HttpRequests httpRequests = new HttpRequests(); string url = string.Format("{0}{1}", CommunicationPostUrl, "EndKfMeeting"); string strPostData = httpRequests.Analysis(new string[] { "SendUserId", "token" }, new string[] { sendUserId.ToString(), token }); string jsonText = httpRequests.DownloadHtml(url, strPostData); //反序列化JSON字符串 return(JsonConvert.DeserializeObject <CommunicationObject>(jsonText)); }