feat: 增加缓存服务
This commit is contained in:
parent
0df75c019f
commit
b25d6df9a7
|
@ -44,7 +44,8 @@ public static class ServicesExtensions
|
|||
{
|
||||
// 增加数据服务
|
||||
services.AddSingleton(typeof(IDataService<>), typeof(DefaultDataService<>));
|
||||
|
||||
// 增加缓存服务
|
||||
services.AddCacheManager();
|
||||
services.AddSingleton<INavigation, NavigationService>();
|
||||
services.AddSingleton<IDict, DictService>();
|
||||
services.AddSingleton<IUser, UserService>();
|
||||
|
@ -52,5 +53,6 @@ public static class ServicesExtensions
|
|||
services.AddSingleton<IGroup, GroupService>();
|
||||
services.AddSingleton<ILogin, LoginService>();
|
||||
return services;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue