1
0
mirror of synced 2025-12-28 22:31:14 +08:00

实现刷卡支付提交API #101

This commit is contained in:
Binary Wang
2017-03-23 18:18:22 +08:00
parent f63e934945
commit 6945e7e0f9
6 changed files with 761 additions and 9 deletions

View File

@@ -195,4 +195,19 @@ public class WxPayServiceImplTest {
assertEquals(QrcodeUtils.decodeQrcode(qrcodeFilePath.toFile()), qrcodeContent);
}
@Test
public void testGetOrderNotifyResult() throws Exception {
}
@Test
public void testMicropay() throws Exception {
WxPayMicropayResult result = this.payService.micropay(WxPayMicropayRequest.newBuilder()
.body("body")
.outTradeNo("aaaaa")
.totalFee(123)
.spbillCreateIp("127.0.0.1")
.authCode("aaa")
.build());
this.logger.info(result.toString());
}
}