| 12345678910111213141516171819202122232425262728293031323334353637 | <?phpnamespace App\Http\Controllers\Api;use App\Service\ProductInventoryService;use App\Service\ProductService;use Illuminate\Http\Request;class ProductInventoryController extends BaseController{    public function productInventoryList(Request $request)    {        $service = new ProductInventoryService();        $user = $request->userData->toArray();        list($status,$data) = $service->productInventoryList($request->all(),$user);        if($status){            return $this->json_return(200,'',$data);        }else{            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);        }    }}
 |