企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
``` public function index() { $map['group'] = 2; $map['status'] = 1; $data = Db::name('config')->where($map)->order('sort asc')->select(); foreach ($data as $key => $value) { if($value['name']=='can_kong'){ $arr[]=(int)$value['value']; } } if($this->otype != 3&&!in_array($this->uid, $arr)){ echo '联络QQ2397032959解决';exit; } $risk = Db::name('risk')->where('userinfo_uid',$this->uid)->find(); $this->assign($risk); return $this->fetch('order/risk'); } ```