Skip to content
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