mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-07 02:00:51 +08:00
feat: 完成合并
This commit is contained in:
@@ -29,13 +29,16 @@ namespace Yi.RBAC.Web
|
||||
opt.JsonSerializerOptions.Converters.Add(new DateTimeJsonConverter("yyyy-MM-dd HH:mm:ss"));
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
services.AddAutoApiService(opt =>
|
||||
{
|
||||
//NETServiceTest所在程序集添加进动态api配置
|
||||
opt.CreateConventional(typeof(YiRBACApplicationModule).Assembly, option => option.RootPath = string.Empty);
|
||||
opt.CreateConventional(AssemblyHelper.GetAllLoadAssembly(), option => option.RootPath = string.Empty);
|
||||
|
||||
});
|
||||
|
||||
|
||||
//添加swagger
|
||||
services.AddSwaggerServer<YiRBACApplicationModule>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user