Esempio n. 1
0
        /// <summary>
        /// 微信零钱转账查询
        /// </summary>
        /// <param name="request">查询信息</param>
        /// <param name="config">配置</param>
        /// <returns>结果</returns>
        public static TransfersQueryResult TransfersQuery(TransfersQueryRequest request, Config config)
        {
            var requestStr = TenpayUtil.GetTransfersQueryRequestXml(request, config);
            var response   = HttpHelp.PostXmlToUrl(Config.TransferinfoUrl, requestStr, config.GetTransfersQueryCertPath(), config.GetPid());
            var result     = TenpayUtil.ConvertToTransfersQueryResult(response);

            return(result);
        }