添加分账
This commit is contained in:
parent
708bafa24c
commit
079f0c4268
@ -130,6 +130,9 @@ public class WxPayServiceImpl implements WxPayService {
|
|||||||
Payer payer = new Payer();
|
Payer payer = new Payer();
|
||||||
payer.setOpenid(req.getOpenId());
|
payer.setOpenid(req.getOpenId());
|
||||||
request.setPayer(payer);
|
request.setPayer(payer);
|
||||||
|
SettleInfo settleInfo = new SettleInfo();
|
||||||
|
settleInfo.setProfitSharing(true);
|
||||||
|
request.setSettleInfo(settleInfo);
|
||||||
|
|
||||||
// 调用下单方法,得到应答
|
// 调用下单方法,得到应答
|
||||||
PrepayResponse response = service.prepay(request);
|
PrepayResponse response = service.prepay(request);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user