public Result_1028 SubAccountPayInterface(string serialNumber, Req_1028 req_1028, string counterId = "") { SpotTranInterface client = new SpotTranInterface(); var result = client.SubAccountPayInterface(serialNumber, req_1028, counterId); return(new Result_1028() { Data = result.Model, RspCode = result.RspCode, RspMsg = result.RspMsg }); }
/// <summary> /// 子账户间划转[1028] /// </summary> /// <param name="serialNumber">请求流水号</param> /// <param name="req_1028">请求信息</param> /// <param name="counterId">操作员号 5位</param> /// <returns></returns> public DataResult SubAccountPayInterface(string serialNumber, Req_1028 req_1028, string counterId = "") { //用于存放生成请求报文的参数 ExHashTable parmaKeyDict = new ExHashTable(); //请求流水号 //string serialNumber = AssistantHelper.GetOrderId(6, "yyyyMMddHHmmss", ""); //交易码 parmaKeyDict.Add("TranFunc", "1028"); //请求流水号 parmaKeyDict.Add("ThirdLogNo", serialNumber); //操作员号 parmaKeyDict.Add("CounterId", counterId); //传递对象 parmaKeyDict.Add("Model", req_1028); //获取结果 var retKeyDict = GetResult(parmaKeyDict); if (retKeyDict.RspCode.Equals("000000")) { retKeyDict.Model = retKeyDict.ToModel <Res_1028>(); } return(retKeyDict); }