public IHttpActionResult GetCoursesTop() { var res = new ResponseBase(); try { var service = new WxService(); var data = service.GetCourses(4); res.resData = data; } catch (Exception ex) { res.code = "100"; res.msg = ex.Message; } return(Ok(res)); }
public IHttpActionResult GetCoursesTop() { var res = new ResponseBase(); try { var service = new WxService(); var data = service.GetCourses(4); res.resData = data; } catch (Exception ex) { res.code = "100"; res.msg = ex.Message; } return(Ok(res)); }