Exemplo n.º 1
0
        /// <summary>
        /// 获取二维码
        /// </summary>
        /// <param name="hashtable"></param>
        /// <returns></returns>
        public string getUrl(Hashtable hashtable)
        {
            try
            {
                NetPayClouldInterface mNetPayClouldInterface = new NetPayClouldInterface();
                //                List<string> mList = mNetPayClouldInterface.getPayJson(hashtable);

                LogService.GlobalInfoMessage("调用银医geturl有参方法");
                foreach (DictionaryEntry de in hashtable)
                {
                    Console.WriteLine("调用银医geturl有参方法入参" + string.Format("{0}-{1}", de.Key, de.Value));
                }

                //string url = mNetPayClouldInterface.getPayUrl(hashtable);

                string url = getPayUrl(hashtable);

                Log.Info(GetType().ToString(), "二维码:" + url);

                return(url);
            }
            catch (Exception e)
            {
                Log.Info(GetType().ToString(), "请求二维码异常:" + e.Message + e.Source + e.StackTrace);
                throw e;
            }
        }
Exemplo n.º 2
0
        public List <string> refundTrade(Hashtable hashtable)
        {
            NetPayClouldInterface mNetPayClouldInterface = new NetPayClouldInterface();

            return(mNetPayClouldInterface.revokedOrder(hashtable));
        }