Beispiel #1
0
        /// <summary>
        /// 微信分享
        /// </summary>
        /// <param name="context"></param>
        private void Share(HttpContext context)
        {
            JsonHelper jsonHelper = new JsonHelper(context);

            string   url  = context.Request["page_url"];
            Encoding utf8 = Encoding.UTF8;

            url = HttpUtility.UrlDecode(url, utf8);

            WxConfig config = service.GetShareConfig(url);

            jsonHelper.Success("查询成功", config);
        }