完成门店管理后端接口与任务
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using TakeoutSaaS.Application.App.Stores.Services;
|
||||
using TakeoutSaaS.Domain.Deliveries.Repositories;
|
||||
using TakeoutSaaS.Domain.Inventory.Repositories;
|
||||
using TakeoutSaaS.Domain.Merchants.Repositories;
|
||||
@@ -66,6 +67,13 @@ public static class AppServiceCollectionExtensions
|
||||
services.AddScoped<IBillingExportService, BillingExportService>();
|
||||
services.AddScoped<IMerchantExportService, MerchantExportService>();
|
||||
|
||||
// 2. (空行后) 门店配置服务
|
||||
services.AddScoped<IGeoJsonValidationService, GeoJsonValidationService>();
|
||||
services.AddScoped<IDeliveryZoneService, DeliveryZoneService>();
|
||||
services.AddScoped<IStoreFeeCalculationService, StoreFeeCalculationService>();
|
||||
services.AddScoped<IStoreSchedulerService, StoreSchedulerService>();
|
||||
|
||||
// 3. (空行后) 初始化配置与种子
|
||||
services.AddOptions<AppSeedOptions>()
|
||||
.Bind(configuration.GetSection(AppSeedOptions.SectionName))
|
||||
.ValidateDataAnnotations();
|
||||
|
||||
Reference in New Issue
Block a user