From c1fd867fe6bfa76b548392e5841d32876ef1e723 Mon Sep 17 00:00:00 2001 From: maliming Date: Mon, 22 May 2023 17:01:45 +0800 Subject: [PATCH] Update AbpServiceConvention.cs --- .../Volo/Abp/AspNetCore/Mvc/Conventions/AbpServiceConvention.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/AbpServiceConvention.cs b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/AbpServiceConvention.cs index 255e517be2..933f325975 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/AbpServiceConvention.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Conventions/AbpServiceConvention.cs @@ -134,8 +134,8 @@ public class AbpServiceConvention : IAbpServiceConvention, ITransientDependency { controllerModelsToRemove.AddRange(exposedControllerModels); Logger.LogInformation($"Removing the controller{(exposedControllerModels.Length > 1 ? "s" : "")} {exposeServicesAttr.ServiceTypes.Select(c => c.AssemblyQualifiedName).JoinAsString(", ")} from the application model since {(exposedControllerModels.Length > 1 ? "they are" : "it is")} replaced by the controller: {controllerModel.ControllerType.AssemblyQualifiedName}"); - continue; } + continue; } var baseControllerTypes = controllerModel.ControllerType