Example #1
0
 public IHttpActionResult Get([FromUri] int cp_no)
 {
     try
     {
         var response = carePlansSvc.GetPlanGoalsLP(cp_no);
         return(Ok(response));
     }
     catch (Exception ex)
     {
         LogHelper.WriteError(ex.ToString());
         return(Ok(new BaseResponse <string> {
             ResultCode = (int)EnumResponseStatus.ExceptionHappened, ResultMessage = "操作异常"
         }));
     }
 }