fix: 修复依赖注入问题
This commit is contained in:
@@ -30,12 +30,13 @@ public class WeChatMiniProgramAccountService : ApplicationService
|
|||||||
private readonly IDistributedCache<WeChatNoticeCacheItem> _noticeCache;
|
private readonly IDistributedCache<WeChatNoticeCacheItem> _noticeCache;
|
||||||
|
|
||||||
public WeChatMiniProgramAccountService(IWeChatMiniProgramManager weChatMiniProgramManager, IAuthService authService,
|
public WeChatMiniProgramAccountService(IWeChatMiniProgramManager weChatMiniProgramManager, IAuthService authService,
|
||||||
IAccountService accountService, ILocalEventBus localEventBus)
|
IAccountService accountService, ILocalEventBus localEventBus, IDistributedCache<WeChatNoticeCacheItem> noticeCache)
|
||||||
{
|
{
|
||||||
_weChatMiniProgramManager = weChatMiniProgramManager;
|
_weChatMiniProgramManager = weChatMiniProgramManager;
|
||||||
_authService = authService;
|
_authService = authService;
|
||||||
_accountService = accountService;
|
_accountService = accountService;
|
||||||
_localEventBus = localEventBus;
|
_localEventBus = localEventBus;
|
||||||
|
_noticeCache = noticeCache;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user