提交 96425f42 编写于 作者: DCloud_JSON's avatar DCloud_JSON

Update index.obj.js

上级 ab792e10
......@@ -84,7 +84,7 @@ module.exports = {
errMsg: '文字存在风险',
result: checkRes.result
});
throw "isSecCheck"
throw "uni-sec-check:illegalData"
} else if (checkRes.errCode) {
console.log(`其他原因导致此文件未完成自动审核(错误码:${checkRes.errCode},错误信息:${checkRes.errMsg}),需要人工审核`);
console.error({
......@@ -92,7 +92,7 @@ module.exports = {
errMsg: checkRes.errMsg,
result: checkRes.result
});
throw "isSecCheck"
throw "uni-sec-check:illegalData"
}
}
......@@ -109,7 +109,7 @@ module.exports = {
if(error.errCode && error.errMsg) {
// 符合响应体规范的错误,直接返回
return error
}else if(error == "isSecCheck" ) {
}else if(error == "uni-sec-check:illegalData" ) {
return {
"data": {
"reply": "内容涉及敏感",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册