|
|
- $defaultField = ['id', 'user_type', 'realname', 'mobile','is_auth', 'nickname','company','position','department','parent_id', 'balance', 'code', 'openid','create_time', 'status', 'avatar'];
|
|
|
|
|
|
|
+ $defaultField = ['id', 'user_type', 'realname', 'mobile','is_auth','idcard', 'nickname','company','position','department','parent_id', 'balance', 'code', 'openid','create_time', 'status', 'avatar'];
|
|
|
$info = $this->model->with(['account','parent'])->where(['mark' => 1])->where($where)->select($field)->first();
|
|
$info = $this->model->with(['account','parent'])->where(['mark' => 1])->where($where)->select($field)->first();
|