Commit 76a7b711 by huluobin

update

parent 27fc644d
......@@ -276,8 +276,12 @@ public class ChargeOrderServiceImpl extends ServiceImpl<ChargeOrderMapper, Charg
.build();
customerBalanceRecordMapper.insert(customerBalanceRecord);
if (discountConfig.getCouponId() != null && discountConfig.getCouponId() != 0) {
couponService.sendCoupon(discountConfig.getCouponId(), customer.getId());
try {
if (discountConfig.getCouponId() != null && discountConfig.getCouponId() != 0) {
couponService.sendCoupon(discountConfig.getCouponId(), customer.getId());
}
} catch (Exception e) {
log.error("美甲师充值送券失败 msg:{}", e.getMessage());
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment