public static bool CheckSign(Dictionary <string, string> dic, string sign)
        {
            string signdata = TdsPayUtil.GetSignData(dic);


            string _sign = TdsPayUtil.GetShaSign(signdata + signkey);

            if (_sign == sign)
            {
                return(true);
            }

            return(false);
        }
        public T  DoPost <T>(IMinShunPayApiPostRequest <T> request) where T : MinShunPayApiBaseResult
        {
            string   realServerUrl = GetServerUrl(this._serverUrl, request.ApiName);
            WebUtils webUtils      = new WebUtils();


            string signdata = TdsPayUtil.GetSignData(request.UrlParameters);


            string sign = TdsPayUtil.GetShaSign(signdata + _signkey);

            request.UrlParameters.Add("sign", sign);

            string postData = null;



            string body = webUtils.DoPost(realServerUrl, request.UrlParameters, postData, null);
            T      rsp  = JsonConvert.DeserializeObject <T>(body);

            return(rsp);
        }