完善优化调试企业付款接口

This commit is contained in:
Binary Wang
2017-07-27 17:19:19 +08:00
committed by Binary Wang
parent ab5f573ca0
commit bceabfb77e
2 changed files with 200 additions and 68 deletions

View File

@ -170,7 +170,15 @@ public class WxPayServiceAbstractImplTest {
*/
@Test
public void testEntPay() throws WxPayException {
WxEntPayRequest request = new WxEntPayRequest();
WxEntPayRequest request = WxEntPayRequest.newBuilder()
.partnerTradeNo("Eb6Aep7uVTdbkJqrP4")
.openid("ojOQA0y9o-Eb6Aep7uVTdbkJqrP4")
.amount(1)
.spbillCreateIp("10.10.10.10")
.checkName("NO_CHECK")
.description("描述信息")
.build();
this.logger.info(this.payService.entPay(request).toString());
}