云函数调用cloudbase.sendSms报错如何判断?
返回结果
{"errCode":-501007,"errMsg":"openapi.cloudbase.sendSms:fail TemplateId not exist TcbCode: [InvalidParameter] rid: 62d66910-27fb1c1b-7ad7a692"}
日志
START
REPORT RequestId:faed9107-ca4b-4f97-99ca-4ea691a23dd4 Duration:746ms Memory:256MB MemUsage:25.441406MB
END
参数 sendApplyNoticeSMS(){
wx.cloud.callFunction({
name:'sendSMS',
data:{
mobileList: ['+86186********', '+86139********'],
smsType: 'Notification',
//smsContent: '你好',
//useShortName: false,
templateParamList: ["66"],
templateId: '1478989'
}
})
},