예제 #1
0
        public Result FILE01_Interface(Req_FILE01 req_FILE01, string counterId = "")
        {
            var be     = new CrossLineFastPaymentInterface(this.IsSpecialLine);
            var result = be.FILE01_Interface(req_FILE01.TradeSn, req_FILE01, counterId);

            return(CommUtils.ToResult(result));
        }
예제 #2
0
        /// <summary>
        /// 文件上传接口
        /// </summary>
        /// <param name="serialNumber">请求流水号</param>
        /// <param name="req_FILE01">请求参数</param>
        /// <param name="counterId">操作员</param>
        /// <returns></returns>
        public DataResult FILE01_Interface(string serialNumber, Req_FILE01 req_FILE01, string counterId = "")
        {
            //用于存放生成请求报文的参数
            ExHashTable parmaKeyDict = new ExHashTable();

            //请求流水号
            //string serialNumber = AssistantHelper.GetOrderId(6, "yyyyMMddHHmmss", "");
            //交易码
            parmaKeyDict.Add("TranFunc", "FILE01");
            //请求流水号
            parmaKeyDict.Add("ThirdLogNo", serialNumber);
            //操作员号
            parmaKeyDict.Add("CounterId", counterId);
            //传递对象
            parmaKeyDict.Add("Model", req_FILE01);
            //获取结果
            var retKeyDict = GetResult(parmaKeyDict);

            return(retKeyDict);
        }