会员支付

This commit is contained in:
wangw 2025-03-01 15:36:05 +08:00
parent 3f823919bf
commit dfb5fa9b70
1 changed files with 1 additions and 1 deletions

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())) {