Przeglądaj źródła

[智价云] 导出展示更新

tangyuanwang 9 godzin temu
rodzic
commit
06ec4e7e6f

+ 2 - 1
app/Http/Controllers/Manager/Other/DownloadTask.php

@@ -30,10 +30,11 @@ class DownloadTask extends Controller
         $user_id = request('access_token.uid', 0);
         // 查询条件
         $limit = request('limit', config('page_num', 10));
-        $map[]              = ['operator_userid', '=', $user_id];
+        
         // 权限判断
         if ($is_admin != 1 && $company_id != 0) {
             $map['company_id'] = $company_id;
+            $map['operator_userid'] = $user_id;
         } else {
             $map['company_id']  = $admin_company_id;
         }