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

./server/common/sdk-phone #15

Open
Coder-Li opened this issue Aug 13, 2017 · 4 comments
Open

./server/common/sdk-phone #15

Coder-Li opened this issue Aug 13, 2017 · 4 comments

Comments

@Coder-Li
Copy link

最近在拜读大神代码,代码规范、注释风格、�模块化方式都对我很有帮助,
不过 ./server/common/sdk-phone这个目录是做什么工作的?我看引入了淘宝的api,不过看不懂是实现的什么业务

@lensh
Copy link
Owner

lensh commented Aug 13, 2017

你好,这是 阿里大于 发送手机验证码的sdk包,在/server/controller/register/sendMessage.js里会用到sdk包里的topClient.js文件,从而发送验证码。但目前还发不了短信,因为调用阿里大于api的前提是域名需要备案,我的域名还没备案,就发不了了(备案要等很久,就没备案了,以后有时间再弄弄)。

@Coder-Li
Copy link
Author

嗯嗯,了解了,感谢🙏

@Coder-Li Coder-Li reopened this Aug 13, 2017
@Coder-Li
Copy link
Author

大佬,顺便问一句,你的注释使用sublime生成的吗,如果用webstrom有没有生成这种风格注释的插件,或者如何配置。

@lensh
Copy link
Owner

lensh commented Aug 14, 2017

你好,生成注释只需要按 /** enter 就行了,不需要用插件

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

2 participants