mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-08 12:06:07 +08:00
1.对账下载参数错误问题
This commit is contained in:
@@ -617,7 +617,7 @@ public class UnionPayService extends BasePayService {
|
||||
Map<String ,Object > params = this.getCommonParam();
|
||||
UnionTransactionType.FILE_TRANSFER.convertMap(params);
|
||||
DateFormat df = new SimpleDateFormat("MMDD");
|
||||
params.put(SDKConstants.param_settleDate,df.format(new Date()));
|
||||
params.put(SDKConstants.param_settleDate,df.format(billDate));
|
||||
params.put(SDKConstants.param_fileType,billType);
|
||||
this.setSign(params);
|
||||
String responseStr = getHttpRequestTemplate().postForObject(this.getFileTransUrl(),params,String.class);
|
||||
|
||||
@@ -7,6 +7,7 @@ import com.egzosn.pay.union.bean.UnionTransactionType;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.math.BigDecimal;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
@@ -83,7 +84,7 @@ public class PayTest {
|
||||
|
||||
|
||||
/*-----------文件传输类接口:后台获取对账文件交易,只有同步应答 ------------------------------*/
|
||||
String fileConten = service.downloadbill(null,"文件类型,一般商户填写00即可"); /*-----------退货交易:后台资金类交易,有同步应答和后台通知应答------------------------------*/
|
||||
String fileConten = service.downloadbill(new Date(),"文件类型,一般商户填写00即可"); /*-----------退货交易:后台资金类交易,有同步应答和后台通知应答------------------------------*/
|
||||
|
||||
|
||||
/*-----------回调处理-------------------*/
|
||||
|
||||
Reference in New Issue
Block a user