From 3a0e7882f71c7736bb9ce5dc090dce0551e60e16 Mon Sep 17 00:00:00 2001 From: "boxu.zheng" Date: Tue, 3 Dec 2024 14:38:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LocationDeliverys/LocationDeliveryAppService.cs | 2 +- .../PostionLocations/PostionLocationAppService.cs | 4 ++-- .../BasedataEntityFrameworkCoreModule.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/LocationDeliverys/LocationDeliveryAppService.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/LocationDeliverys/LocationDeliveryAppService.cs index 5c1066a6e..33e7cc87c 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/LocationDeliverys/LocationDeliveryAppService.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/LocationDeliverys/LocationDeliveryAppService.cs @@ -12,7 +12,7 @@ using Win_in.Sfs.Basedata.Domain.Shared; namespace Win_in.Sfs.Basedata.Application; [Authorize] -[Route($"{BasedataConsts.RootPath}location-group")] +[Route($"{BasedataConsts.RootPath}location-delivery")] public class LocationDeliveryAppService : SfsBaseDataAppServiceBase diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PostionLocations/PostionLocationAppService.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PostionLocations/PostionLocationAppService.cs index 5025d8900..da1721807 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PostionLocations/PostionLocationAppService.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PostionLocations/PostionLocationAppService.cs @@ -25,7 +25,7 @@ using System.Linq; namespace Win_in.Sfs.Basedata.Application; [AllowAnonymous] -[Route($"{BasedataConsts.RootPath}PostionLocation")] +[Route($"{BasedataConsts.RootPath}postion-location")] public class PostionLocationAppService : SfsBaseDataWithCodeAppServiceBase @@ -120,7 +120,7 @@ public class PostionLocationAppService } - + [HttpPost("")] public override async Task CreateAsync(PostionLocationEditInput input) { diff --git a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/BasedataEntityFrameworkCoreModule.cs b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/BasedataEntityFrameworkCoreModule.cs index 827cee3f7..a439a454b 100644 --- a/be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/BasedataEntityFrameworkCoreModule.cs +++ b/be/Modules/BaseData/src/Win_in.Sfs.Basedata.EntityFrameworkCore/BasedataEntityFrameworkCoreModule.cs @@ -78,7 +78,7 @@ public class BasedataEntityFrameworkCoreModule : AbpModule context.Services.AddTransient(); context.Services.AddTransient(); context.Services.AddTransient(); - context.Services.AddTransient(); + context.Services.AddTransient(); ConfigureEntity(); }