提交 6fad773c 编写于 作者: C chenruilong

docs: update uni-cloud-s2s.md

上级 cfc21270
......@@ -213,7 +213,7 @@ try {
body: 'a=1&b=2&c=3'
})
} catch (e) {
if(e.subject === 'uni-cloud-s2s' && e.errCode === 51000) {
if(e.errSubject === 'uni-cloud-s2s' && e.errCode === 51000) {
throw new Error('非法请求') // 判断为验证未通过,返回自定义的错误
}
throw e
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册