| | |
| | | /// 验证码命令处理器 |
| | | /// </summary> |
| | | public class VerifyCodeCommandHandler |
| | | : IRequestHandler<SendVerifyCodeCommand> |
| | | : IRequestHandler<SendVerifyCodeCommand, Guid> |
| | | { |
| | | /// <summary> |
| | | /// 发送验证码 |
| | |
| | | /// <param name="request"></param> |
| | | /// <param name="cancellationToken"></param> |
| | | /// <returns></returns> |
| | | public Task Handle(SendVerifyCodeCommand request, CancellationToken cancellationToken) |
| | | public Task<Guid> Handle(SendVerifyCodeCommand request, CancellationToken cancellationToken) |
| | | { |
| | | throw new Exception(); |
| | | //var callback = new FriendlyEmptyCallback(); |