mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-08 02:30:52 +08:00
perf: 优化全部模块程序集
This commit is contained in:
@@ -6,6 +6,7 @@ using Yi.Framework.Auth.JwtBearer;
|
||||
using Yi.Framework.Core;
|
||||
using Yi.Framework.Core.Attributes;
|
||||
using Yi.Framework.Core.Autofac;
|
||||
using Yi.Framework.Core.Module;
|
||||
using Yi.Framework.Data.Json;
|
||||
using Yi.Framework.OperLogManager;
|
||||
using Yi.RBAC.Application;
|
||||
@@ -31,11 +32,10 @@ namespace Yi.RBAC.Web
|
||||
});
|
||||
|
||||
|
||||
|
||||
services.AddAutoApiService(opt =>
|
||||
{
|
||||
opt.CreateConventional(AssemblyHelper.GetAllLoadAssembly(), option => option.RootPath = string.Empty);
|
||||
|
||||
//NETServiceTest所在程序集添加进动态api配置
|
||||
opt.CreateConventional(ModuleAssembly.Assemblies, option => option.RootPath = string.Empty);
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user