Преглед на файлове

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 = [];
         $where = [];
         $whereDept = [];
         $whereDept = [];
         $whereTopDept = [];
         $whereTopDept = [];
-        $deptIds = TeamService::getIdsByUser(1);
+        $deptIds = TeamService::getIdsByUser();
         if (false === $deptIds) {
         if (false === $deptIds) {
             //无权限
             //无权限
             $where[] = ['dept_id', '=', 0];
             $where[] = ['dept_id', '=', 0];