|
@@ -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);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|