违规操作
This commit is contained in:
parent
089c30982c
commit
4d37f79650
|
|
@ -237,7 +237,7 @@ public class PayServiceImpl implements PayService {
|
|||
}
|
||||
payParam.getCheckOrderPay().setUserId(shopUser.getUserId());
|
||||
OrderInfo orderInfo = checkPay(payParam.getCheckOrderPay());
|
||||
if (!shopUser.getSourceShopId().equals(orderInfo.getShopId())) {
|
||||
if (!shopUser.getSourceShopId().equals(orderInfo.getShopId()) && !shopUser.getMainShopId().equals(orderInfo.getShopId())) {
|
||||
return CzgResult.failure("违规操作,请确认店铺后重试");
|
||||
}
|
||||
if (shopUser.getAmount().compareTo(orderInfo.getOrderAmount()) < 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue