12
07/17
c#/ASP.NET向百度站长平台主动推送URL
public static bool PushToBaiduZZ(string url) { try { using (var db = new Db.DataContext()) { var m = db.Configs.FirstOrDefault(f => f.Key == "BaiduPushUrl"); if (m == null) { return false; } string BaiduPushUrl = m.Value; //string.Format(BaiduPushUrl, url) ...