コード例 #1
0
ファイル: ManageHandle.cs プロジェクト: w1146869587/devfw
 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:'操作成功'}");
 }