feat: 完成bbs头像功能

This commit is contained in:
陈淳
2023-12-28 20:24:49 +08:00
parent 470c908453
commit 469ec71074
15 changed files with 26 additions and 5 deletions

View File

@@ -21,13 +21,11 @@ namespace Yi.Framework.Rbac.Application.Services
public class FileService : ApplicationService, IFileService
{
private readonly IRepository<FileAggregateRoot> _repository;
private readonly HttpContext _httpContext;
private IGuidGenerator _guidGenerator;
public FileService(IRepository<FileAggregateRoot> repository, IHttpContextAccessor httpContextAccessor, IGuidGenerator guidGenerator)
public FileService(IRepository<FileAggregateRoot> repository, IGuidGenerator guidGenerator)
{
_guidGenerator = guidGenerator;
_repository = repository;
_httpContext = httpContextAccessor.HttpContext;
}
/// <summary>