-
Notifications
You must be signed in to change notification settings - Fork 18
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
支持Async / Await、Promise #4
Comments
使用sync-request替换https.request可以解决。
我有同样的困惑,后来使用sync-request替换https.request解决了 |
|
mark |
.... 嗯 升个大版本号就行了。 |
可以直接用 promisify |
没有安全风险的话,估计是没有人再维护这个库了。现在腾讯有新库了:tencentcloud-sdk-nodejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
框架可不可以支持es6/7比较新的语法?使用callback现在已经不是很标准的吧。
希望语法可以是这样:
const res = await ssender.sendWithParam(countryCode, phoneNumber, templateId, params, "", "")
The text was updated successfully, but these errors were encountered: