update:
1. 确认收款之后不再给于用户积分
This commit is contained in:
@@ -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));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user