收藏
回答

微信内容安全2.0 security.msgSecCheck接口,输入敏感关键词都返回成功?

检测返回的label是100,场景枚举值全试了。。。。

trace_id: 6353e9fe-338f494b-7fb23cca

返回内容

{

"message": {

"errno": -1,

"message": "\u4e0a\u4f20\u5931\u8d25, \u8bf7\u9009\u62e9\u8981\u4e0a\u4f20\u7684\u6587\u4ef6\uff01"

},

"redirect": "",

"type": "ajax"

} {

"time": "2022-10-22 21:02:55.3357",

"ip": "2222222",

"data": {

"content": "填写违法的内容",

"ret": {

"errcode": 0,

"errmsg": "ok",

"detail": [{

"strategy": "keyword",

"errcode": 0

}, {

"strategy": "content_model",

"errcode": 0,

"suggest": "pass",

"label": 100,

"prob": 90

}],

"trace_id": "6353e9fe-338f494b-7fb23cca",

"result": {

"suggest": "pass",

"label": 100

}

}

}

}

}


最后一次编辑于  2022-10-23
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容