8000 fix 微信收付通查询退款状态地址错误 by f00lish · Pull Request #1856 · binarywang/WxJava · GitHub
[go: up one dir, main page]

Skip to content

fix 微信收付通查询退款状态地址错误 #1856

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

Merged
merged 14 commits into from
Nov 6, 2020
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix 收付通提现状态查询时接口地址错误
  • Loading branch information
f00lish committed Oct 30, 2020
commit ed1c7c4757058efd8927758cfa23878482b283ab
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,14 @@ public SpWithdrawResult spWithdraw(SpWithdrawRequest request) throws WxPayExcept

@Override
public SubWithdrawStatusResult querySubWithdrawByOutRequestNo(String subMchid, String outRequestNo) throws WxPayException {
String url = String.format("%s/v3/ecommerce/fund/withdraw/out-request-no/%s?sub_mcid=%s", this.payService.getPayBaseUrl(), subMchid, outRequestNo);
String url = String.format("%s/v3/ecommerce/fund/withdraw/out-request-no/%s?sub_mchid=%s", this.payService.getPayBaseUrl(), outRequestNo, subMchid);
String response = this.payService.getV3(URI.create(url));
return GSON.fromJson(response, SubWithdrawStatusResult.class);
}

@Override
public SpWithdrawStatusResult querySpWithdrawByOutRequestNo(String outRequestNo) throws WxPayException {
String url = String.format("%s/v3/merchant/fund/withdraw/out-request-no%s", this.payService.getPayBaseUrl(), outRequestNo);
String url = String.format("%s/v3/merchant/fund/withdraw/out-request-no/%s", this.payService.getPayBaseUrl(), outRequestNo);
String response = this.payService.getV3(URI.create(url));
return GSON.fromJson(response, SpWithdrawStatusResult.class);
}
Expand Down
0