1. 确认收款之后不再给于用户积分
This commit is contained in:
2026-03-14 10:52:15 +08:00
parent 16533f3e44
commit 59782c4ba7

View File

@@ -191,7 +191,7 @@ public class CommonUserOrderServiceImpl extends ServiceImpl<CommonUserOrderMappe
if (order == null) { if (order == null) {
throw new IllegalStateException("订单更新成功但查询不到,id=" + id); throw new IllegalStateException("订单更新成功但查询不到,id=" + id);
} }
userPointService.grantPointsByUserOrder(order); // userPointService.grantPointsByUserOrder(order);
eventPublisher.publishEvent(new PaymentSuccessEvent(id, order.getUserId(), BusinessModule.SELF_OPERATED_MALL)); eventPublisher.publishEvent(new PaymentSuccessEvent(id, order.getUserId(), BusinessModule.SELF_OPERATED_MALL));