mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update
This commit is contained in:
@@ -575,19 +575,23 @@ public class SpringBootTestController {
|
||||
|
||||
@Test
|
||||
public void testCreateConfirmReverse() throws BaseAdaPayException {
|
||||
String wechatAppId = "wxbb3e0d474569481d";
|
||||
List<String> list = Lists.newArrayList();
|
||||
list.add("0022120230803181514990533118848148987904");
|
||||
list.add("0022120230803181514990533118849771606016");
|
||||
list.add("0022120230803181514990533118851194695680");
|
||||
list.add("0022120230803181515990533118852380536832");
|
||||
list.add("0022120230803181515990533118853825003520");
|
||||
list.add("0022120230803181515990533118855098966016");
|
||||
list.add("0022120230803181516990533118856510251008");
|
||||
list.add("0022120230803181516990533118858177568768");
|
||||
list.add("0022120230803181517990533118859674951680");
|
||||
list.add("0022120230803181517990533118861063364608");
|
||||
list.add("002212023081819322010538574069880745984");
|
||||
// list.add("002212023082723085610541890070281175040");
|
||||
|
||||
for (String s : list) {
|
||||
adapayService.createConfirmReverse(s);
|
||||
// 查询支付确认id
|
||||
QueryPaymentConfirmDTO dto = new QueryPaymentConfirmDTO();
|
||||
dto.setPaymentId(s);
|
||||
dto.setWechatAppId(wechatAppId);
|
||||
QueryPaymentConfirmDetailResponse response = adapayService.queryPaymentConfirmList(dto);
|
||||
if (response != null) {
|
||||
List<QueryPaymentConfirmDetailResponse.PaymentConfirmInfo> confirms = response.getPaymentConfirms();
|
||||
for (QueryPaymentConfirmDetailResponse.PaymentConfirmInfo confirm : confirms) {
|
||||
adapayService.createConfirmReverse(confirm.getId(), wechatAppId);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user