shopInfo调整
This commit is contained in:
parent
0adb5333ee
commit
39984116d0
|
|
@ -74,10 +74,7 @@ public class DistributionPayServiceImpl implements DistributionPayService {
|
|||
orderPaymentService.save(orderPayment);
|
||||
|
||||
InitInfo initInfo = new InitInfo().setConfig(detail);
|
||||
if (isRecharge) {
|
||||
ShopInfo shopInfo = shopInfoService.getById(payParam.getShopId());
|
||||
initInfo.setOpenId(shopInfo.getWechatOpenId());
|
||||
} else {
|
||||
if (!isRecharge) {
|
||||
ShopUser shopUserInfo = shopUserService.getShopUserInfo(payParam.getShopId(), userId);
|
||||
UserInfo userInfo = userInfoService.getById(userId);
|
||||
initInfo.setPayment(orderPayment).setShopUser(shopUserInfo)
|
||||
|
|
|
|||
Loading…
Reference in New Issue