Browse Source

Fix UOW of CancelPaymentEventHandler

pull/148/head
gdlcf88 5 years ago
parent
commit
dbe1ba54d9
  1. 2
      modules/EasyAbp.EShop.Orders/test/EasyAbp.EShop.Orders.Domain.Tests/Orders/CancelPaymentEventHandler.cs

2
modules/EasyAbp.EShop.Orders/test/EasyAbp.EShop.Orders.Domain.Tests/Orders/CancelPaymentEventHandler.cs

@ -25,7 +25,7 @@ namespace EasyAbp.EShop.Orders.Orders
_distributedEventBus = distributedEventBus; _distributedEventBus = distributedEventBus;
} }
public async Task HandleEventAsync(CancelPaymentEto eventData) public virtual async Task HandleEventAsync(CancelPaymentEto eventData)
{ {
await _distributedEventBus.PublishAsync(new EShopPaymentCanceledEto(new EShopPaymentEto await _distributedEventBus.PublishAsync(new EShopPaymentCanceledEto(new EShopPaymentEto
{ {

Loading…
Cancel
Save