🆕 #1532 微信支付模块增加汇率查询的接口
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user