cqpCow 1 год назад
Родитель
Сommit
767ea0319f
1 измененных файлов с 13 добавлено и 0 удалено
  1. 13 0
      app/Http/Controllers/Api/ProductInventoryController.php

+ 13 - 0
app/Http/Controllers/Api/ProductInventoryController.php

@@ -21,4 +21,17 @@ class ProductInventoryController extends BaseController
             return $this->json_return(201,$data);
         }
     }
+
+    public function productInventoryStockList(Request $request)
+    {
+        $service = new ProductInventoryService();
+        $user = $request->userData->toArray();
+        list($status,$data) = $service->productInventoryStockList($request->all(),$user);
+
+        if($status){
+            return $this->json_return(200,'',$data);
+        }else{
+            return $this->json_return(201,$data);
+        }
+    }
 }