1
0
mirror of synced 2025-12-23 18:48:00 +08:00

🆕 #1532 微信支付模块增加汇率查询的接口

This commit is contained in:
Binary Wang
2020-05-23 21:42:37 +08:00
parent 4eb1d1d71a
commit 06c8ae81d2
6 changed files with 172 additions and 8 deletions

View File

@@ -626,7 +626,8 @@ public class BaseWxPayServiceImplTest {
}
@Test
public void testFacepay() {
public void testFacepay() throws WxPayException {
final WxPayFacepayResult result = this.payService.facepay(WxPayFacepayRequest.newBuilder().build());
}
@Test
@@ -673,4 +674,16 @@ public class BaseWxPayServiceImplTest {
@Test
public void testTestQueryRedpack() {
}
@Test
public void testGetPayScoreService() {
// no need to test
}
@Test
public void testQueryExchangeRate() throws WxPayException {
final WxPayQueryExchangeRateResult result = this.payService.queryExchangeRate("USD", "20200425");
assertThat(result).isNotNull();
System.out.println(result);
}
}