feat 优化权限完成
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user