...
|
...
|
@@ -48,15 +48,10 @@ class UserController extends AdminBaseController |
|
|
/**搜索条件**/
|
|
|
$user_login = $this->request->param('user_login');
|
|
|
$user_email = trim($this->request->param('user_email'));
|
|
|
echo $uid = $this->request->param('uid');exit();
|
|
|
if ($user_login) {
|
|
|
$where['user_login'] = ['like', "%$user_login%"];
|
|
|
}
|
|
|
|
|
|
//下级人员
|
|
|
if($uid) {
|
|
|
$where['parent_id'] = ['eq', $uid];
|
|
|
}
|
|
|
|
|
|
$users = Db::name('user')
|
|
|
->where($where)
|
...
|
...
|
|