作者 景龙
1 个管道 的构建 通过 耗费 22 秒

修改个人中心查询领导uid

... ... @@ -441,7 +441,7 @@ class PersonController extends RestBaseController
}
}else if($identity == 1){
//领导
$where = ['u_l_id' => ['like',','.$this->userId.',']];
$where = ['u_l_id' => ['like','%,'.$this->userId.',%']];
$field = 'id c_id,company_name,pid';
$res = $this->getCompany($where,$field);
$result['company_name'] = $res['company_name'];
... ...