This commit is contained in:
dzc committed 2025-06-06 21:39:53 +08:00
1 parent 23a4740480
commit 4ed7fe3136
1 file changed
-11
@@ -51,17 +51,6 @@ public class WechatPayTest {
@Test
public void rerfund() throws Exception {
String currentOrderId = "4200002648202506062041165177";
WechatRefundDto dto = new WechatRefundDto();
dto.setWechantOrderId(currentOrderId);
dto.setRefundId("refund_" + currentOrderId);
dto.setOrderPrice(1L);
dto.setRefundPrice(1L);
WechatRefundVo micropay = wechatPayService.refund(dto);
if (micropay.isAllSuccess()) {
log.info("退款成功json:{}", JSONUtil.toJsonStr(micropay));
}
}
}