违规操作
This commit is contained in:
@@ -237,7 +237,7 @@ public class PayServiceImpl implements PayService {
|
|||||||
}
|
}
|
||||||
payParam.getCheckOrderPay().setUserId(shopUser.getUserId());
|
payParam.getCheckOrderPay().setUserId(shopUser.getUserId());
|
||||||
OrderInfo orderInfo = checkPay(payParam.getCheckOrderPay());
|
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("违规操作,请确认店铺后重试");
|
return CzgResult.failure("违规操作,请确认店铺后重试");
|
||||||
}
|
}
|
||||||
if (shopUser.getAmount().compareTo(orderInfo.getOrderAmount()) < 0) {
|
if (shopUser.getAmount().compareTo(orderInfo.getOrderAmount()) < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user