/// <summary> /// 显示详情 /// </summary> /// <param name="model"></param> /// <returns></returns> public ActionResult AppLogDetail(string id) { AppLog appLog = AppLogApp.GetLogById(id); ViewBag.Message = appLog == null ? "" : appLog.log_message; return(View()); }
/// <summary> /// 清除开奖结果 /// </summary> /// <param name="days">清除多少天之前的开奖结果</param> /// <returns></returns> public static int Clear(int days = 30) { DateTime time = DateTime.Now.AddDays(-30).Date; return(AppLogApp.Delete(time.ToTimestamp())); }