会员支付

This commit is contained in:
2025-03-01 15:36:05 +08:00
parent 3f823919bf
commit dfb5fa9b70

View File

@@ -123,7 +123,7 @@ public class PayServiceImpl implements PayService {
} else {
ShopInfo shopInfo = shopInfoService.getById(payParam.getShopId());
AssertUtil.isNull(shopInfo, "店铺不存在");
if ("userPay".equals(payParam.getPayType()) && shopInfo.getIsMemberInPwd() == 1) {
if ("userPay".equals(payParam.getPayType())) {
AssertUtil.isNull(payParam.getShopUserId(), "请选择付款人后重试");
shopUser = shopUserService.getById(payParam.getShopUserId());
} else if ("accountPay".equals(payParam.getPayType())) {