Merge branch 'master' of https://gitea.nxsir.cn/nanxun/IM_NEW
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
using FileService.Domain.IReposities;
|
||||
using FileService.Infrastructure.Reposites;
|
||||
using FileService.Infrastructure.Storage;
|
||||
using IM.Application.Abstractions;
|
||||
using IM.Commons;
|
||||
using IM.Infrastructure.Efcore;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace FileService.Infrastructure
|
||||
@@ -17,6 +19,8 @@ namespace FileService.Infrastructure
|
||||
services.AddScoped<IRedisService, RedisCacheService>();
|
||||
services.AddScoped<IObjectStorageRouter, ObjectStorageRouter>();
|
||||
services.AddScoped<IStorageRedisCache,StorageCacheService>();
|
||||
services.AddScoped<ILocalChunkStorage, LocalStorageAdapter>();
|
||||
services.AddScoped<IUnitOfWork, EfUnitOfWork<FileDbContext>>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user