小程序后台内容风控添加自定义关键词
调用文本内容安全识别接口关键词内容不生效
请求相关内容
https://api.weixin.qq.com/wxa/msg_sec_check?access_token=
请求参数参数
{"openid": "隐藏","scene": 2,"version": 2,"content": "哆啦B梦","title": "哆啦B梦"}
响应:
{"errcode":0,"trace_id":"66cff3e4-56a8b55d-14008323","errmsg":"ok","result":{"suggest":"pass","label":100},"detail":[{"errcode":0,"strategy":"keyword"},{"errcode":0,"prob":90,"suggest":"pass","label":100,"strategy":"content_model"}]}
文本已使用UTF-8编码
String input = "哆啦B梦";
byte[] utf8Bytes = input.getBytes(StandardCharsets.UTF_8);
String output = new String(utf8Bytes, StandardCharsets.UTF_8);
你好,核实关键词并未成功添加,请核实所添加关键词的小程序后台对应appid是否和所调用的appid一致。
【潭·州·教·育】多次转达您了,之前这边學习的款都返给您了,没有收到款的及时请相关的人补,QQ:122363344 超期视放 弃