diff --git a/app/api/controller/UserPersonal.php b/app/api/controller/UserPersonal.php index d27ee54..6761f8f 100644 --- a/app/api/controller/UserPersonal.php +++ b/app/api/controller/UserPersonal.php @@ -98,7 +98,7 @@ class UserPersonal extends ApiController $where['p.status'] = array('eq', 1); $rows = empty($param['limit']) ? get_config('app.page_size') : $param['limit']; $list = PersonalQuit::where($where) - ->field('p.*,u.name as name,d.title as department,ps.title as position') + ->field('p.*,u.name as name,u.did,u.position_id,d.title as department,ps.title as position') ->alias('p') ->join('admin u', 'p.uid = u.id', 'LEFT') ->join('department d', 'u.did = d.id', 'LEFT')