From 15d14929dffba54af910ac68edff51d2d82e27a6 Mon Sep 17 00:00:00 2001 From: Binary Wang Date: Tue, 6 Jun 2023 22:00:49 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=8E=BB=E6=8E=89=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wxpay/service/impl/EcommerceServiceImpl.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/EcommerceServiceImpl.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/EcommerceServiceImpl.java index e4c347cc5..3d9a1af62 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/EcommerceServiceImpl.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/EcommerceServiceImpl.java @@ -194,16 +194,6 @@ public class EcommerceServiceImpl implements EcommerceService { return GSON.fromJson(response, FundBalanceResult.class); } - @Override - public FundBalanceResult subNowBalance(String subMchid, SpAccountTypeEnum accountType) throws WxPayException { - String url = String.format("%s/v3/ecommerce/fund/balance/%s", this.payService.getPayBaseUrl(), subMchid); - if (Objects.nonNull(accountType)) { - url += "?account_type=" + accountType.getValue(); - } - String response = this.payService.getV3(url); - return GSON.fromJson(response, FundBalanceResult.class); - } - @Override public FundBalanceResult subDayEndBalance(String subMchid, String date) throws WxPayException { String url = String.format("%s/v3/ecommerce/fund/enddaybalance/%s?date=%s", this.payService.getPayBaseUrl(), subMchid, date);