cqpCow 2 years ago
parent
commit
78f961a446
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Api/ProductionOrderController.php

+ 1 - 1
app/Http/Controllers/Api/ProductionOrderController.php

@@ -83,7 +83,7 @@ class ProductionOrderController extends BaseController
         list($status,$data) = $service->productionExport($request->all());
 
         if($status){
-            return $this->json_return(200,'',$data);
+            return $this->json_return(200,'',['file'=>$data]);
         }else{
             return $this->json_return(201,$data);
         }