protected bool VerifyParam(string param)
 {
     if (Request["sign"] != WeChatCommonService.GetSignature(param, Request.Params))
     {
         return(false);
     }
     else
     {
         return(true);
     }
 }
        /// <summary>
        /// 参数检查
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        protected bool VerifyParam(string param)
        {
            var sign = WeChatCommonService.GetSignature(param + ",appId,timestamp,nonce", Request);

            if (Request["sign"].ToLower() != sign)
            {
                log.Error("sign error!" + sign);

                return(false);
            }
            else
            {
                log.Debug("sign success!");
                return(true);
            }
        }