cqp 1 ماه پیش
والد
کامیت
15b920a7fa
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      app/Service/ExportFileService.php

+ 1 - 2
app/Service/ExportFileService.php

@@ -147,8 +147,7 @@ class ExportFileService extends Service
         $header = array_column($header_default,'value');
 
         $service = new RDService();
-        list($status, $model) = $service->rdCommon($ergs, $user);
-        if(! $status) return [false, $model];
+        $model = $service->rdCommon($ergs, $user);
 
         $model->chunk(500,function ($data) use(&$return, $column, $service){
             $data = $data->toArray();