示例#1
0
        /// <summary>
        /// 创建自定义菜单
        /// </summary>
        /// <param name="menu"></param>
        /// <returns></returns>
        public static string CreatMenu(string menu)
        {
            var access_token = wxArg.Access_Token;
            var url          = string.Format("https://api.weixin.qq.com/cgi-bin/menu/create?access_token={0}", access_token);

            return(MyHttpUtility.Post(url, menu));
        }