public static bool IsSystemG(string url) { String getDataUrl = url + "/index.php/sports/Match/FootballPlaying?t=" + FormUtils.getCurrentTime(); JObject headJObject = new JObject(); headJObject["Host"] = url; headJObject["Origin"] = url; headJObject["Referer"] = url + "/index.php/sports/main?token=&uid="; String p = "p=1&oddpk=H&leg="; String rlt = HttpUtils.HttpPostHeader(getDataUrl, p, "application/x-www-form-urlencoded; charset=UTF-8", null, headJObject); if (String.IsNullOrEmpty(rlt) || !FormUtils.IsJsonObject(rlt)) { return(false); } else { return(true); } }
public static bool IsSystemB(string url) { String getDataUrl = url + "/show/ft_gunqiu_data.php?leaguename=&CurrPage=0&_=" + FormUtils.getCurrentTime(); String rlt = HttpUtils.httpGet(getDataUrl, "", null); if (String.IsNullOrEmpty(rlt) || !rlt.Contains("Match_Master")) { return(false); } else { return(true); } }