修改大小写问题
This commit is contained in:
@@ -2,6 +2,7 @@ using AspNetCore.Microsoft.AspNetCore.Hosting;
|
||||
using Yi.Framework.Core.Autofac.Extensions;
|
||||
using Yi.Framework.Core.Autofac.Modules;
|
||||
using Yi.Framework.Core.Extensions;
|
||||
using Yi.RBAC.Application;
|
||||
using Yi.RBAC.Web;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
@@ -14,9 +15,8 @@ builder.UseYiModules(typeof(YiRBACWebModule));
|
||||
//添加autofac模块,需要添加模块
|
||||
builder.Host.ConfigureAutoFacContainer(container =>
|
||||
{
|
||||
container.RegisterYiModule(AutoFacModuleEnum.PropertiesAutowiredModule, typeof(YiRBACWebModule).Assembly);
|
||||
container.RegisterYiModule(AutoFacModuleEnum.PropertiesAutowiredModule, typeof(YiRBACApplicationModule).Assembly);
|
||||
});
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
//全局错误中间件,需要放在最早
|
||||
|
||||
@@ -3,12 +3,14 @@ using StartupModules;
|
||||
using Yi.Framework.Auth.JwtBearer;
|
||||
using Yi.Framework.Core;
|
||||
using Yi.Framework.Core.Attributes;
|
||||
using Yi.Framework.Core.Autofac;
|
||||
using Yi.RBAC.Application;
|
||||
using Yi.RBAC.Sqlsugar;
|
||||
|
||||
namespace Yi.RBAC.Web
|
||||
{
|
||||
[DependsOn(
|
||||
typeof(YiFrameworkCoreAutofacModule),
|
||||
typeof(YiRBACSqlsugarModule),
|
||||
typeof(YiRBACApplicationModule)
|
||||
)]
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user