mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-11-03 05:41:46 +08:00
完善优化调试企业付款接口
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user