微信文档:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/safety-control-capability/riskControl.getUserRiskRank.html
根据提交的用户信息数据获取用户的安全等级 risk_rank,无需用户授权。
risk_rank
<?php $miniProgram->riskControl->getUserRiskRank([ 'appid' => 'wx311232323', 'openid' => 'oahdg535ON6vtkUXLdaLVKvzJdmM', 'scene' => 1, 'client_ip' => '12.234.134.2', ]);