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