fix typo of 'tentent' to 'tencent'

This commit is contained in:
陆柯 2023-03-20 07:52:53 +08:00
parent af116ef4d5
commit 953eba3fe2

View File

@ -132,7 +132,7 @@ module.exports = {
} }
}, },
async sendSmsTencent ({ phone, msgTemplate, msgParam, tentent = my.envar?.SMS?.TENCENT || wo?.envar?.SMS?.TENCENT } = {}) { async sendSmsTencent ({ phone, msgTemplate, msgParam, tencent = my.envar?.SMS?.TENCENT || wo?.envar?.SMS?.TENCENT } = {}) {
sender.smsClientTencent = sender.smsClientTencent || new (require('tencentcloud-sdk-nodejs').sms.v20210111.Client)(tencent) // https://cloud.tencent.com/document/product/382/43197 sender.smsClientTencent = sender.smsClientTencent || new (require('tencentcloud-sdk-nodejs').sms.v20210111.Client)(tencent) // https://cloud.tencent.com/document/product/382/43197
return await sender.smsClientTencent return await sender.smsClientTencent