Add marketplace seller to search repository
This commit is contained in:
parent
2cfabfc735
commit
a7dd03173d
|
|
@ -178,7 +178,7 @@ class Products extends ProductController
|
|||
public function searchProducts()
|
||||
{
|
||||
// return $this->productRepository->searchProductByAttribute(request('key'));
|
||||
return ProductResource::collection($this->productRepository->searchProductByAttributeDagdan(request('key')));
|
||||
return ProductResource::collection($this->productRepository->searchProductByAttributeDagdan(request('key'),16));
|
||||
}
|
||||
|
||||
public function discountedProducts()
|
||||
|
|
|
|||
Loading…
Reference in New Issue