Exemplo n.º 1
0
        private static Dictionary <string, string> BuildRequestPara(SortedDictionary <string, string> sParaTemp, string _key, string _input_charset)
        {
            Dictionary <string, string> strs = new Dictionary <string, string>();

            strs = OutPayHelp.FilterPara(sParaTemp);
            strs.Add("sign", OutPayHelp.BuildRequestMysign(strs, _key, _input_charset));
            strs.Add("sign_type", "MD5");
            return(strs);
        }
Exemplo n.º 2
0
        private static Dictionary <string, string> BuildRequestPara(SortedDictionary <string, string> sParaTemp, string _key, string _input_charset)
        {
            Dictionary <string, string> dictionary = new Dictionary <string, string>();

            dictionary = OutPayHelp.FilterPara(sParaTemp);
            string value = OutPayHelp.BuildRequestMysign(dictionary, _key, _input_charset);

            dictionary.Add("sign", value);
            dictionary.Add("sign_type", "MD5");
            return(dictionary);
        }