brand
This commit is contained in:
parent
e8a40deb44
commit
88ad9c6e67
|
|
@ -85,7 +85,7 @@ class Vendors extends V1Controller
|
|||
public function vendor($seller_id){
|
||||
$vendor = $this->vendorRepository->select('marketplace_sellers.id','url','logo','banner','shop_title','ship_time','ship_price','slogan')
|
||||
->where('id',$seller_id)
|
||||
->with(['categories:seller_id,type,categories'])
|
||||
->with(['categories:seller_id,categories'])
|
||||
->first();
|
||||
|
||||
if($vendor->categories && $mainCats = $vendor->categories()->first()){
|
||||
|
|
|
|||
Loading…
Reference in New Issue