会员支付
This commit is contained in:
@@ -123,7 +123,7 @@ public class PayServiceImpl implements PayService {
|
|||||||
} else {
|
} else {
|
||||||
ShopInfo shopInfo = shopInfoService.getById(payParam.getShopId());
|
ShopInfo shopInfo = shopInfoService.getById(payParam.getShopId());
|
||||||
AssertUtil.isNull(shopInfo, "店铺不存在");
|
AssertUtil.isNull(shopInfo, "店铺不存在");
|
||||||
if ("userPay".equals(payParam.getPayType()) && shopInfo.getIsMemberInPwd() == 1) {
|
if ("userPay".equals(payParam.getPayType())) {
|
||||||
AssertUtil.isNull(payParam.getShopUserId(), "请选择付款人后重试");
|
AssertUtil.isNull(payParam.getShopUserId(), "请选择付款人后重试");
|
||||||
shopUser = shopUserService.getById(payParam.getShopUserId());
|
shopUser = shopUserService.getById(payParam.getShopUserId());
|
||||||
} else if ("accountPay".equals(payParam.getPayType())) {
|
} else if ("accountPay".equals(payParam.getPayType())) {
|
||||||
|
|||||||
Reference in New Issue
Block a user