Commit 24ad3055 authored by shiyu's avatar shiyu

测试类

parent f9a9280e
......@@ -89,12 +89,12 @@ public class WxPayServiceTest {
@Test
public void refund() {
List<String> list = Arrays.asList("DA2408061745277070223");
List<String> list = Arrays.asList("DA2408041940485642547");
list.forEach(orderId ->{
DistributionOrderRequestDto dto = new DistributionOrderRequestDto();
dto.setDistributionOrderId(orderId);
dto.setAmount("0.1");
dto.setRefundPrice("0.1");
dto.setAmount("260");
dto.setRefundPrice("260");
Result result = wxPayServiceApi.refund(dto);
logger.info("申请微信支付退款:{}", result);
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment