shopInfo调整

This commit is contained in:
张松
2025-10-27 14:35:06 +08:00
parent 0adb5333ee
commit 39984116d0

View File

@@ -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)