public string ApplyMenu_post(HttpContext context) { try { String msg = WeixinHelper.PostApplyMenu(); if (msg != "ok") { throw new Exception(msg); } } catch (Exception exc) { return("{result:false,message:'" + exc.Message + "'}"); } return("{result:true,message:'操作成功'}"); }