fix: 修复依赖注入问题

This commit is contained in:
橙子
2024-11-10 17:14:50 +08:00
parent 93dea4fa46
commit 7c13ed6497

View File

@@ -30,12 +30,13 @@ public class WeChatMiniProgramAccountService : ApplicationService
private readonly IDistributedCache<WeChatNoticeCacheItem> _noticeCache;
public WeChatMiniProgramAccountService(IWeChatMiniProgramManager weChatMiniProgramManager, IAuthService authService,
IAccountService accountService, ILocalEventBus localEventBus)
IAccountService accountService, ILocalEventBus localEventBus, IDistributedCache<WeChatNoticeCacheItem> noticeCache)
{
_weChatMiniProgramManager = weChatMiniProgramManager;
_authService = authService;
_accountService = accountService;
_localEventBus = localEventBus;
_noticeCache = noticeCache;
}
/// <summary>