Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎨 修复[微信支付] 申请资金账单API 请求参数变量名称 #3102

Merged
merged 1 commit into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -175,17 +175,17 @@ public String getType() {
*/
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";
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1095,9 +1095,9 @@ public WxPayApplyBillV3Result applyTradeBill(WxPayApplyTradeBillV3Request reques
public WxPayApplyBillV3Result applyFundFlowBill(WxPayApplyFundFlowBillV3Request request) throws WxPayException {
String url;
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 {
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);
return GSON.fromJson(response, WxPayApplyBillV3Result.class);
Expand Down