Exemplo n.º 1
0
        /// <summary>
        /// 根据日期下载数据
        /// </summary>
        /// <param name="billDate"></param>
        /// <returns></returns>
        public static FXStmtLine[] GetOrderTime(string billDate)
        {
            InitConfiguration();
            FenXiangService             service = new FenXiangService();
            Dictionary <string, string> para    = new Dictionary <string, string>
            {
                { FenXiangService.STMT_QRY_URL, downLoad },
                { FenXiangService.PAY_KEY, paykey }, //"b2f752964f904e6a9ad9397c3ded2e28"
                { FenXiangService.PAY_SECRET, realsec }//c37ae8ec310b4a68881ec49473d571a4
            };

            service.Init(para);
            FXStmtQryReq req = new FXStmtQryReq
            {
                billDate = billDate
            };
            FXStmtQryRsp rsp = service.QryStatement(req);

            FXStmtLine[] data = rsp.data;
            return(data);
        }
Exemplo n.º 2
0
        // 对账

        public FXStmtQryRsp QryStatement(FXStmtQryReq req)
        {
            return(DoTran <FXStmtQryReq, FXStmtQryRsp>(_urlStmtQry, req, false));
        }