public function get_quyu_info($data)
{
// $uid=$data['uid'];
// if(!affair("role.Role")->isSuperManager($uid)){
// return $this->ErrorInf("抱歉,您无权操作!");
// }
// ChromePhp::log(1);
if($data['pid']){
$flag = $this->getorg($data['pid']);
if ($flag[0]['flag'] !=201){
return $this->get_quyu_info($flag[0]);
}
}
else{
// $uid =$data['uid'];
$uid = '2250741873492991';
$_model = $this->Model("user.User");
$pm = [
'condition' => "where uid = '$uid'"
];
$org_code = $_model -> search($pm);
$org_name = $org_code[0]['atorg'];
$flag=$this->getorg($org_name);
if($flag[0]['flag'] !=201){
return $this->get_quyu_info($flag[0]);
}
}
return $flag;
}