mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
🎨 #3102 【微信支付】修复申请资金账单接口请求里的参数名称
This commit is contained in:
parent
0a1411a8fe
commit
0bfc9353d1
@ -175,17 +175,17 @@ public class WxPayConstants {
|
|||||||
*/
|
*/
|
||||||
public static class AccountType {
|
public static class AccountType {
|
||||||
/**
|
/**
|
||||||
* 基本账户
|
* BASIC:基本账户
|
||||||
*/
|
*/
|
||||||
public static final String BASIC = "Basic";
|
public static final String BASIC = "BASIC";
|
||||||
/**
|
/**
|
||||||
* 运营账户
|
* OPERATION:运营账户
|
||||||
*/
|
*/
|
||||||
public static final String OPERATION = "Operation";
|
public static final String OPERATION = "OPERATION";
|
||||||
/**
|
/**
|
||||||
* Fees
|
* FEES:手续费账户
|
||||||
*/
|
*/
|
||||||
public static final String FEES = "Fees";
|
public static final String FEES = "FEES";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1102,9 +1102,9 @@ public abstract class BaseWxPayServiceImpl implements WxPayService {
|
|||||||
public WxPayApplyBillV3Result applyFundFlowBill(WxPayApplyFundFlowBillV3Request request) throws WxPayException {
|
public WxPayApplyBillV3Result applyFundFlowBill(WxPayApplyFundFlowBillV3Request request) throws WxPayException {
|
||||||
String url;
|
String url;
|
||||||
if (StringUtils.isBlank(request.getTarType())) {
|
if (StringUtils.isBlank(request.getTarType())) {
|
||||||
url = String.format("%s/v3/bill/fundflowbill?bill_date=%s&bill_type=%s", this.getPayBaseUrl(), request.getBillDate(), request.getAccountType());
|
url = String.format("%s/v3/bill/fundflowbill?bill_date=%s&account_type=%s", this.getPayBaseUrl(), request.getBillDate(), request.getAccountType());
|
||||||
} else {
|
} else {
|
||||||
url = String.format("%s/v3/bill/fundflowbill?bill_date=%s&bill_type=%s&tar_type=%s", this.getPayBaseUrl(), request.getBillDate(), request.getAccountType(), request.getTarType());
|
url = String.format("%s/v3/bill/fundflowbill?bill_date=%s&account_type=%s&tar_type=%s", this.getPayBaseUrl(), request.getBillDate(), request.getAccountType(), request.getTarType());
|
||||||
}
|
}
|
||||||
String response = this.getV3(url);
|
String response = this.getV3(url);
|
||||||
return GSON.fromJson(response, WxPayApplyBillV3Result.class);
|
return GSON.fromJson(response, WxPayApplyBillV3Result.class);
|
||||||
|
Loading…
Reference in New Issue
Block a user