Browse Source

fixbug:修复查不到员工问题

yb 6 tháng trước cách đây
mục cha
commit
3b22c673fe
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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];