public IHttpActionResult GetNotify(int organizationID) { if (ModelState.IsValid) { try { var result = NotifyManager.GetNotifyByTime(organizationID); return(this.SendData(result)); } catch (Exception ex) { return(this.ErrorData(ex.Message)); } } else { return(this.ErrorData("请求错误")); } }