/// <summary> /// 连接通知服务器 /// </summary> public string ConnectServerFree() { WebPost post = new WebPost(); IDictionary <string, string> param = new Dictionary <string, string>(); string result = post.PostFree(Url, AppKey, Secret, "", Session, param); return(""); }
public string CommonTopApiXml(string method, IDictionary <string, string> param, string session) { string result = WebPost.CommonPostXml(Url, AppKey, Secret, method, session, param); if (result.IndexOf("Missing session") != -1) { //错误记录 LogData dbLog = new LogData(); dbLog.InsertErrorLog("system", "MissingSession", "", result.ToString(), ""); } return(result); }