使用如下代码发送短信验证码失败:
const result = await uniID.sendSmsCode({
mobile: event["phone"],
templateId: "uni_sms_test",
type: "login"
})
console.log(result)
提示这个
{"code":50301,"errCode":"uni-id-send-sms-code-failed","errMsg":"验证码发送失败","msg":"验证码发送失败","message":"验证码发送失败"}
config.json已经填写了,secret和key都正确,账户有余额
h***@protonmail.com (作者)
就是这个原因,十分感谢
2022-04-06 16:05