完成门店管理后端接口与任务

This commit is contained in:
2026-01-01 07:26:14 +08:00
parent dc9f6136d6
commit fc55003d3d
131 changed files with 15333 additions and 201 deletions

View File

@@ -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();