|
|
|
@ -1,5 +1,8 @@ |
|
|
|
using EasyAbp.BookingService; |
|
|
|
using EasyAbp.EShop.Orders.Booking.Authorization; |
|
|
|
using EasyAbp.EShop.Orders.Booking.ObjectExtending; |
|
|
|
using Microsoft.AspNetCore.Authorization; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
namespace EasyAbp.EShop.Orders.Booking |
|
|
|
@ -14,6 +17,7 @@ namespace EasyAbp.EShop.Orders.Booking |
|
|
|
public override void PreConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
EShopOrdersPluginsBookingObjectExtensions.Configure(); |
|
|
|
context.Services.AddSingleton<IAuthorizationHandler, BookingOrderCreationAuthorizationHandler>(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|