コード例 #1
0
 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("请求错误"));
     }
 }