feat:添加数据权限搭建,准备完成数据权限过滤
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Furion;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Yi.Framework.Infrastructure.Sqlsugar;
|
||||
|
||||
namespace Yi.Furion.Sqlsugar.Core;
|
||||
|
||||
@@ -7,10 +8,6 @@ public class Startup : AppStartup
|
||||
{
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
//services.AddDatabaseAccessor(options =>
|
||||
//{
|
||||
// options.AddDbPool<DefaultDbContext>();
|
||||
//}, "Yi.Furion.Rbac.Database.Migrations");
|
||||
System.Console.WriteLine();
|
||||
services.AddDbSqlsugarContextServer<YiDbContext>();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user