security.msgSecCheck全部返还通过

发布于 4 年前作者 dumin13836 次浏览最后编辑 4 年前来自 issues

https://api.weixin.qq.com/wxa/msg_sec_check?access_token=52__OM693xdK_3AaTVbINRrywNFf1rtpGt1ZF9reE4DJjpxWdIsSIdrPhohfS9DI0gMRQdY6WlwH7oLFYj-70Q9bjskvuwzNVjFDkW81PeqNU5eBqAdaTQ0O2K_vD3IOdByqfMwofySmPYV5qdIWTLfAHAHEW

参数

array ( ‘version’ => 2, ‘openid’ => ‘o3M_25GQD9seFJVfRnFT1JVLI-Tk’, ‘scene’ => 2, ‘content’ => ‘操你妈’, )

返还

{“errcode”:0,“errmsg”:“ok”,“detail”:[{“strategy”:“content_model”,“errcode”:0,“suggest”:“pass”,“label”:100,“prob”:90},{“strategy”:“keyword”,“errcode”:0}],“trace_id”:“61d8f538-5aed921e-5d71c937”,“result”:{“suggest”:“pass”,“label”:100}}

测试不管输入什么都是返还通过,求解

2 回复
osong
osong1 楼4 年前

内容安全2.0API需要参考返回内容中的detail:suggest

pshen
pshen2 楼1 个月前