回调 赠送积分 状态问题
This commit is contained in:
@@ -714,7 +714,8 @@ public class OrderInfoServiceImpl extends ServiceImpl<OrderInfoMapper, OrderInfo
|
|||||||
couponService.use(coupons, shopUser.getId(), orderInfo.getId());
|
couponService.use(coupons, shopUser.getId(), orderInfo.getId());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!payType.equals(PayEnums.VIP_PAY)) {
|
if ((orderInfo.getPayType() != null && orderInfo.getPayType().equals(PayEnums.VIP_PAY.getValue()))
|
||||||
|
|| (payType != null && !payType.equals(PayEnums.VIP_PAY))) {
|
||||||
//下单赠送积分
|
//下单赠送积分
|
||||||
pointsService.consumeAwardPoints(shopUser.getId(), orderInfo);
|
pointsService.consumeAwardPoints(shopUser.getId(), orderInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user