Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

阿里云短信相关流程 #28

Open
Pluuuto opened this issue Jul 30, 2018 · 3 comments
Open

阿里云短信相关流程 #28

Pluuuto opened this issue Jul 30, 2018 · 3 comments

Comments

@Pluuuto
Copy link

Pluuuto commented Jul 30, 2018

关于代码通过阿里云短信接收验证码的流程没有完整理解,目前看到
passcloud-provider-uac中SmsServiceImpl.sendSmsCode()方法,其中生成了MqMessageData,然后调用UserManager.sendSmsCode(mqMessageData),将RocketMessage对象放入生产队列(@MqProducerStore)。
请问,此类消息的消费流程是什么呢?想找到关键的“调用阿里云短信HTTP接口获取验证码”的相关代码,目前没有找到。谢谢

@paascloud
Copy link
Owner

请参考消费的自定义注解的实现

@paascloud
Copy link
Owner

手机回复哈,不贴代码了,短信和邮件有几个人问了和你相同的问题,这里统一回答一下,异步消息使用了可靠消息落地方案,是使用了自定义注解把消息发给了opc对接中心,再由对接中心调用阿里云短信服务最终发送短信,如果还有问题可以看一下我博客上的可靠消息落地,希望我的回答可以帮助到你

@nextdoor-store
Copy link

钉钉机器人是如何实现的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants