mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-07 19:46:15 +08:00
代码整理
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<artifactId>pay-java-parent</artifactId>
|
||||
<groupId>com.egzosn</groupId>
|
||||
<version>2.14.4-fix</version>
|
||||
<version>2.14.5</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>pay-java-baidu</artifactId>
|
||||
|
||||
@@ -542,6 +542,7 @@ public class BaiduPayService extends BasePayService<BaiduPayConfigStorage> {
|
||||
* @param accessToken 用户token
|
||||
* @return 对账单
|
||||
*/
|
||||
@Override
|
||||
public Map<String, Object> downloadBill(Date billDate, String accessToken) {
|
||||
return downloadBill(billDate, new BaiduBillType(accessToken, BaiduTransactionType.DOWNLOAD_ORDER_BILL.name()));
|
||||
}
|
||||
@@ -553,6 +554,7 @@ public class BaiduPayService extends BasePayService<BaiduPayConfigStorage> {
|
||||
* @param billType 账单类型 {@link BaiduBillType}
|
||||
* @return 返回支付方下载对账单的结果
|
||||
*/
|
||||
@Override
|
||||
public Map<String, Object> downloadBill(Date billDate, BillType billType) {
|
||||
Map<String, Object> parameters = new HashMap<>();
|
||||
parameters.put("access_token", billType.getCustom());
|
||||
|
||||
Reference in New Issue
Block a user