| | |
| | | WxmpUtils utils, |
| | | IHttpContextAccessor httpContextAccessor |
| | | ) : |
| | | IRequestHandler<WxmpSendSubscribMessageCommand, Guid>, |
| | | IRequestHandler<SendWxmpSubscribMessageCommand, Guid>, |
| | | IRequestHandler<WxmpSubscribMessageNotifyCommand, bool> |
| | | { |
| | | private readonly ILogger<WxmpSubscribMessageCommandHandler> logger = logger; |
| | |
| | | /// <param name="request"></param> |
| | | /// <param name="cancellationToken"></param> |
| | | /// <returns></returns> |
| | | public async Task<Guid> Handle(WxmpSendSubscribMessageCommand request, CancellationToken cancellationToken) |
| | | public async Task<Guid> Handle(SendWxmpSubscribMessageCommand request, CancellationToken cancellationToken) |
| | | { |
| | | await utils.WxmpSendSubscribMessage(new WxmpSendSubscribMessageRequest |
| | | { |