Compare commits
1 Commits
d27531ea00
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
440e8be2e7 |
@@ -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
|
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
|
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 {
|
try {
|
||||||
const result = await uniCloud.sendSms({
|
const result = await uniCloud.sendSms({
|
||||||
appid: appid || config.smsAppid,
|
appid: appid || config.smsAppid,
|
||||||
|
|||||||
@@ -22,6 +22,12 @@
|
|||||||
*.nosf/
|
*.nosf/
|
||||||
*.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
|
||||||
*/.DS_Store
|
*/.DS_Store
|
||||||
|
|
||||||
@@ -48,12 +54,18 @@ _desktop.ini
|
|||||||
node_modules/
|
node_modules/
|
||||||
*/node_modules/
|
*/node_modules/
|
||||||
package-lock.json
|
package-lock.json
|
||||||
|
*/package-lock.json
|
||||||
|
|
||||||
pages4loader.json5
|
pages4loader.json5
|
||||||
|
*/pages4loader.json5
|
||||||
|
|
||||||
.deploy_git/
|
.deploy_git/
|
||||||
*/.deploy_git/
|
*/.deploy_git/
|
||||||
|
|
||||||
|
# next.js 项目
|
||||||
|
.next/
|
||||||
|
*/.next/
|
||||||
|
|
||||||
# HBuilder 目录
|
# HBuilder 目录
|
||||||
unpackage/
|
unpackage/
|
||||||
*/unpackage/
|
*/unpackage/
|
||||||
|
|||||||
Reference in New Issue
Block a user