feat 优化权限完成

This commit is contained in:
2024-12-10 17:30:39 +08:00
parent 2d1191e125
commit 297aa63eb9
36 changed files with 473 additions and 999 deletions

View File

@@ -15,7 +15,7 @@ public class SqlSugarPack : BaseAppPack
{
public override void ConfigureServices(IServiceCollection services)
{
services.AddSqlSugar(sp =>
services.AddSqlSugar(DbType.MySqlConnector, sp =>
{
var configuration = sp.GetService<IConfiguration>();
@@ -80,7 +80,7 @@ public class SqlSugarPack : BaseAppPack
};
});
}
public override void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
var isGenerate = Configuration.GetSection("SqlSugarOptions").GetValue<bool>("Generate");