From b53e9d9fd2cb320ca0f130c495c0b382dc16ac16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Thu, 18 Nov 2021 14:37:43 +0800 Subject: [PATCH] docs: update sms error code --- docs/uniCloud/send-sms.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/uniCloud/send-sms.md b/docs/uniCloud/send-sms.md index c82e35143..de4af4b4c 100644 --- a/docs/uniCloud/send-sms.md +++ b/docs/uniCloud/send-sms.md @@ -129,9 +129,13 @@ keyword: 短信,sms |错误码 |错误 | |:-: |:-: | -|10001 |参数校验未通过,errMsg内会给出详细信息| -|10002 |校验未通过,errMsg内会给出详细信息 | -|10003 |其他错误 | +|1001 |参数校验未通过,errMsg内会给出详细信息| +|4000 |参数错误 | +|4001 |apiKey 不存在 或 templateId 不正确 | +|4002 |请检查smsKey、smsSecret是否有误 | +|4003 |服务空间或IP地址不在白名单中 | +|5000 |服务错误,请联系DCloud进行排查 | +|5001 |服务器异常,请重试! | **调用示例** -- GitLab