1
0
mirror of synced 2025-12-27 13:37:59 +08:00

🆕 #3023 【微信支付】增加根据账户类型查询二级商户实时余额的接口,同时修复批量转账订单相关接口的问题

This commit is contained in:
wincham
2023-05-31 16:28:18 +08:00
committed by GitHub
parent 1583aaf014
commit 0640c10671
4 changed files with 43 additions and 12 deletions

View File

@@ -7,6 +7,7 @@ import com.github.binarywang.wxpay.bean.ecommerce.ProfitSharingReceiverRequest;
import com.github.binarywang.wxpay.bean.ecommerce.ProfitSharingReceiverResult;
import com.github.binarywang.wxpay.bean.ecommerce.SignatureHeader;
import com.github.binarywang.wxpay.bean.ecommerce.TransactionsResult;
import com.github.binarywang.wxpay.bean.ecommerce.enums.SpAccountTypeEnum;
import com.github.binarywang.wxpay.bean.ecommerce.enums.TradeTypeEnum;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.github.binarywang.wxpay.service.WxPayService;
@@ -125,6 +126,12 @@ public class EcommerceServiceImplTest {
wxPayService.getEcommerceService().subNowBalance(subMchid);
}
@Test
public void testSubNowBalanceWithAccountType() throws WxPayException {
String subMchid = "";
wxPayService.getEcommerceService().subNowBalance(subMchid, SpAccountTypeEnum.BASIC);
}
@Test
public void testAddReceivers() throws WxPayException {
ProfitSharingReceiverRequest request = new ProfitSharingReceiverRequest();