Beispiel #1
0
        /// <summary>
        /// 获取 微信JSAPI 配置
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        private string GetJsApiConfig(HttpContext context)
        {
            try
            {
                var cardId = context.Request["cardId"];

                return(bllWeixin.GetJSAPIConfig(context.Request["url"], cardId));
            }
            catch (Exception ex)
            {
                return(ex.ToString());
            }
        }