adapayService添加批量查询分账信息方法

This commit is contained in:
Guoqs
2025-10-10 11:40:56 +08:00
parent f5a58a70ea
commit 67d95d0571
3 changed files with 97 additions and 463 deletions

View File

@@ -76,6 +76,13 @@ public class PaymentTestController {
@Autowired
private OrderBasicInfoService orderBasicInfoService;
@Test
public void queryCreateConfirmReverseNew() throws BaseAdaPayException {
List<String> paymentIdList = getPaymentIdList(); // 查询分账信息
List<String> splitInfoByPaymentIdList = adapayService.getSplitInfoByPaymentIdList(paymentIdList);
System.out.println("未分账paymentId:" + splitInfoByPaymentIdList);
}
/**
* 从payment_ids文件中获取支付id, 并批量查询分账信息
* 如需撤销分账, 请使用 {@link PaymentTestController#testCreateConfirmReverse()} 可以本地运行