コード例 #1
0
        public Result_1333 QuerySubAccountPayResultInterface(string serialNumber, Req_1333 req_1333, string counterId = "")
        {
            SpotTranInterface client = new SpotTranInterface();
            var result = client.QuerySubAccountPayResultInterface(serialNumber, req_1333, counterId);

            return(new Result_1333()
            {
                Data = result.Model,
                RspCode = result.RspCode,
                RspMsg = result.RspMsg
            });
        }
コード例 #2
0
        /// <summary>
        /// 查询子账户间支付的指令结果[1333] 用于查询【1332】接口提交的子账户间支付的指令处理结果
        /// </summary>
        /// <param name="serialNumber">请求流水号</param>
        /// <param name="req_1333">请求参数</param>
        /// <param name="counterId">操作员号 5位</param>
        /// <returns></returns>
        public DataResult QuerySubAccountPayResultInterface(string serialNumber, Req_1333 req_1333, string counterId = "")
        {
            //用于存放生成请求报文的参数
            ExHashTable parmaKeyDict = new ExHashTable();

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

            if (retKeyDict.RspCode.Equals("000000"))
            {
                retKeyDict.Model = retKeyDict.ToModel <Res_1333>();
            }
            return(retKeyDict);
        }