public ActionResult SaveToWeixin() { var result = new JsonResultModel <bool>(); result.RunWithCatch(r => { var resp = _svc.PublishMenus(); r.flag = resp.Succee; r.msg = resp.ToString(); }); return(Json(result, JsonRequestBehavior.AllowGet)); }
public ActionResult SaveToWeixin() { var result = new JsonResultModel <bool>(); result.RunWithCatch(r => { var resp = _svc.PublishMenus(); r.flag = resp.Succee; r.msg = resp.ToString(); }); return(Json(result, JsonRequestBehavior.AllowGet)); }