diff --git a/messenger.js b/messenger.js index 3cbac20..424257b 100644 --- a/messenger.js +++ b/messenger.js @@ -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 return await sender.smsClientTencent