珊瑚安全
310726445@qq.com 这个邮箱,检测返回: {"errMsg":"invokeService:ok","data":{"Response":{"EvilTokens":[{"EvilFlag":2,"EvilType":7,"EvilKeywords":[]}],"RequestId":"56d5d00c-3797-4fca-b79e-a05dcc9f0ca6"}},"requestId":"MLwvRvk1gdaKD2IxpROkbmWw3lIrxiA_WqTzPtsTNTVGM5meq-shuAsXZwNIqnQABWI"} 无法通过,也无法判断那里有问题
求例子
无论什么词都可以通过验证,是不是接口出现问题了;微信官方给的词,自己输入的词,都可以通过审核
我的图片是放在第三方的服务器,请问可以用网络图片吗
看到官方发的珊瑚安全马上不在提供付费套餐,那后续除了有限制的msgSecCheck免费套餐,没有其他别的安全接口了?
不能看到内容安全审核的用量及剩余量,已经导致过未能及时充值而是所有内容无法检测,造成严重bug。 AppID:wx7a7fb7f8422b75e7 [图片]
请问微信小程序这两个内容安全的接口如果每日次数用完之后,后面输入违规内容就检测不到了吗?[图片]
个人主体小程序,用户上传的图片和文本仅用户自己可见,整个小程序不涉及与其他用户的任何交互,请问这种需要做内容安全鉴定吗?
doImgSecCheck: function (imgurl) { // var d = Date.now() console.log("imgurl:", imgurl) wx.serviceMarket.invokeService({ service: 'wxee446d7507c68b11', api: 'imgSecCheck', data: { "Action": "ImageModeration", "Scenes": ["PORN", "POLITICS", "TERRORISM"], "ImageUrl": imgurl, "ImageBase64": "", "Config": "", "Extra": "" }, }).then(res => { console.log((res)) }) }, ================================================================================ imgurl是正常变量,值正常 但是带入到wx.serviceMarket.invokeService 就会显示文件下载失败,如果填入固定地址则没有问题 报错内容 [图片]
加不了小助手微信
什么意思
api: wx.serviceMarket.invokeService({ service: 'wxee446d7507c68b11', api: 'imgSecCheck', data: { "Action": "ImageModeration", "Scenes": ["PORN", "POLITICS", "TERRORISM", "TEXT"], "ImageUrl": '', "ImageBase64": wx.getFileSystemManager().readFileSync(tempFilePath, "base64"), "Config": "", "Extra": "" } }) 错误信息:Error: errCode: 104 | errMsg: invokeService:fail timeout for retry, cannot retry fetching the result anymore (callId: 0.300845639719832_1595334956377) (trace: 20:35:56 start->20:35:56 app show->20:36:16 timeout, exceed max retry gap); at invokeService api; 在开发工具中可以正常识别,但是在真机中出现104错误,请问解决办法是什么?
[图片] (技术需要....我不是在发黄图...原图是露点的,我手动打码了.) 个人觉得还挺黄的....要不敏感检测接口给个等级的返回结果?现在是直接返回的是:是否合规,有点一刀切了..没法调整尺度要求..
珊瑚安全接口支持云函数内云调用吗? https://developers.weixin.qq.com/community/servicemarket/detail/000a246b6fca70b76a896e6a25ec15 [图片] [图片]
珊瑚安全图片内容安全不稳定,今天出现大量误判 严重影响线上环境 该怎么处理
rt [图片] [图片]
{"errcode":9301008,"errmsg":"invalid api info rid: 5f810ac3-270518ad-6be70357"} 请问是否有人遇到过
我的程序没问题,一直用的好好的。看到论坛上其他小程序主们也是同时间同样地问题,急急急!!!!!!1 =====上班时间到,问题已解决=====
将通过wx.chooseimage得到的图片链接传参到珊瑚图片内容安全去识别,结果返回是{参数值错误}??? 返回的参数为:[图片] 相关复现代码: wx.chooseImage({ count: 1, sizeType: ['original'], sourceType: ['camera'], success: res => { wx.serviceMarket.invokeService({ service: 'wxee446d7507c68b11', api: 'imgSecCheck', data: { "Action": "ImageModeration", "Scenes": ["PORN", "POLITICS", "TERRORISM", "TEXT"], "ImageUrl": res.tempFilePaths[0], "ImageBase64": "", "Config": "", "Extra": "" }, }).then(res => { console.log(res) if (res.data.Response.Suggestion!="PASS"){ wx.showModal({ title: '警告', content: '图片内容不健康,创建失败!' }) } }) } })
https://api.weixin.qq.com/wxa/msg_sec_check?access_token=ACCESS_TOKEN 不管什么内容结果都是errcode为0
// 调用微信文本安全审核api function wxTextCheck(text){ console.log('in wxTextCheck:') return new Promise((resolve, reject)=>{ wx.serviceMarket.invokeService({ service: 'wxee446d7507c68b11', api: 'msgSecCheck', data: { "Action": "TextApproval", "Text": text }, }).then(res => { console.log('微信内容审查返回:') console.log(res) console.log(JSON.stringify(res)) if(res.errMsg=='invokeService:ok'){ console.log('in invokeService:ok:') let res_text = res.data.Response.EvilTokens console.log('res_text:', res_text) for (let i = 0; i < res_text.length; i++) { let evilFlag = res_text[i].EvilFlag let evilType = res_text[i].EvilType let evilKeywords = String(res_text[i].EvilKeywords) console.log('in res_text for :',evilFlag, evilType, evilKeywords) if(evilFlag!=0){ console.log('in vilFlag==1:') if(evilType==1 || evilType==2 ||evilType==3 ||evilType==4 ||evilType==6 ||evilType==7){ wx.showModal({ title: '填写内容不符合国家法律', content: '请修改:' + evilKeywords, }) reject(false) } } } console.log('微信内容审查通过') resolve(true) }else{ wx.showModal({ title: '内容审核错误', content: '内容审核功能出错,请联系客服,谢谢!', }) reject(false) } }) }) }