|
|
@@ -623,11 +623,11 @@ public class OrderGoodsServiceImpl extends ServiceImpl<OrderGoodsMapper, OrderGo
|
|
|
throw new CustomException("商品信息获取失败!");
|
|
|
}
|
|
|
if (goods.getGoodsStatus() == 0){
|
|
|
- throw new CustomException("存在未上架商品,请检查!");
|
|
|
+ throw new CustomException("存在未上架商品,请联系客服。!");
|
|
|
}
|
|
|
Long nowTime = DateUtils.getNowTime();
|
|
|
if (nowTime < goods.getValidityStartTime() || nowTime > goods.getValidityEndTime()){
|
|
|
- throw new CustomException("存在过期商品,请检查!");
|
|
|
+ throw new CustomException("存在过期商品,请联系客服!");
|
|
|
}
|
|
|
if (ObjectUtils.isNotNull(bo.getIsCart()) && bo.getIsCart() == 1){
|
|
|
//购物车校验
|