소스 검색

fixbug:修复查不到员工问题

yb 6 달 전
부모
커밋
3b22c673fe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/admin/service/consultant/ConsultantService.php

+ 1 - 1
app/admin/service/consultant/ConsultantService.php

@@ -23,7 +23,7 @@ class ConsultantService
         $where = [];
         $whereDept = [];
         $whereTopDept = [];
-        $deptIds = TeamService::getIdsByUser(1);
+        $deptIds = TeamService::getIdsByUser();
         if (false === $deptIds) {
             //无权限
             $where[] = ['dept_id', '=', 0];