小程序
小游戏
企业微信
微信支付
扫描小程序码分享
{"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}}
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
$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;
}
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
不是吧
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
$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;
}
不是吧