u
This commit is contained in:
@@ -149,7 +149,7 @@ module.exports = {
|
||||
)
|
||||
},
|
||||
|
||||
async sendSmsTencent ({ phone, config, msgTemplate, msgParam, appid, signName } = {}) {
|
||||
async sendSmsTencent ({ phone, config, msgParam, msgTemplate, appid, signName } = {}) {
|
||||
sender.smsClientTencent = sender.smsClientTencent || new (require('tencentcloud-sdk-nodejs').sms.v20210111.Client)(config) // https://cloud.tencent.com/document/product/382/43197
|
||||
|
||||
return await sender.smsClientTencent
|
||||
@@ -176,7 +176,8 @@ module.exports = {
|
||||
)
|
||||
},
|
||||
|
||||
async sendSmsUnicloud ({ phone, config, msgTemplate, msgParam, appid } = {}) {
|
||||
async sendSmsUnicloud ({ phone, config, msgParam, msgTemplate, appid } = {}) {
|
||||
// https://doc.dcloud.net.cn/uniCloud/sms/dev.html
|
||||
try {
|
||||
const result = await uniCloud.sendSms({
|
||||
appid: appid || config.smsAppid,
|
||||
|
||||
@@ -22,6 +22,12 @@
|
||||
*.nosf/
|
||||
*.nosf.*/
|
||||
|
||||
## everything 'git pull or fetch' will update `.git/FETCH_HEAD`, even if the content doesn't change. To avoid too many useless updates of this file in Seafile history:
|
||||
FETCH_HEAD
|
||||
*/FETCH_HEAD
|
||||
|
||||
.Trash/
|
||||
|
||||
.DS_Store
|
||||
*/.DS_Store
|
||||
|
||||
@@ -48,12 +54,18 @@ _desktop.ini
|
||||
node_modules/
|
||||
*/node_modules/
|
||||
package-lock.json
|
||||
*/package-lock.json
|
||||
|
||||
pages4loader.json5
|
||||
*/pages4loader.json5
|
||||
|
||||
.deploy_git/
|
||||
*/.deploy_git/
|
||||
|
||||
# next.js 项目
|
||||
.next/
|
||||
*/.next/
|
||||
|
||||
# HBuilder 目录
|
||||
unpackage/
|
||||
*/unpackage/
|
||||
|
||||
Reference in New Issue
Block a user