$url = 'https://api.weixin.qq.com/wxa/msg_sec_check?access_token='.$this->getToken(); $json_data = ['version'=>2, 'openid'=>$openid, 'scene'=>3, 'content'=>$content]; $http = new Client(); $response = $http->request("POST",$url,[ 'json'=>$json_data ]); if($response->getStatusCode() == 200){ $body = $response->getBody(); $body = $body->getContents(); $body = json_decode($body,true); if($body['result']['suggest'] == 'pass'){ return true; }else{ return false; } }else{ return false; }
文本内容安全识别结果,怎么提交什么都是pass哦?{"errcode":0,"errmsg":"ok","detail":[{"strategy":"keyword","errcode":0},{"strategy":"content_model","errcode":0,"suggest":"pass","label":100,"prob":90}],"trace_id":"654201ca-31bc35db-0a5795b3","result":{"suggest":"pass","label":100}}
2023-11-01原来这么回事啊,谢谢了
小程序涉嫌违规,限制被搜索功能服务,如何解除?[图片] 看了一些帖子说发站内信,站内信发给谁啊? AppID(小程序ID) wxba7c8daaba266c21
2023-10-30