-
Notifications
You must be signed in to change notification settings - Fork 490
微信支付企业付款
borball edited this page Dec 29, 2016
·
2 revisions
TransferRequest transferRequest = new TransferRequest();
transferRequest.setAmount(100);
transferRequest.setCheckName("NO_CHECK");
transferRequest.setClientIp("127.0.0.1");
transferRequest.setDesc("测试企业付款");
transferRequest.setOpenId(user);
transferRequest.setPartnerTradeNo("129206390120161203000010001" + i);
Transfers.defaultTransfers().transfer(transferRequest);
//或者
Transfers.with(paySetting).transfer(transferRequest);
TransferResult transferResult = Transfers.defaultTransfers().query("1292063901201512030000000001");
//或者
TransferResult transferResult = Transfers.with(paySetting).query("1292063901201512030000000001");