|
@@ -182,7 +182,7 @@ class ProductController extends Controller
|
|
$query->whereJsonContains('type',$type);
|
|
$query->whereJsonContains('type',$type);
|
|
}
|
|
}
|
|
$list = $query->where('status',1)
|
|
$list = $query->where('status',1)
|
|
- ->paginate($limit);
|
|
|
|
|
|
+ ->paginate(intval($limit));
|
|
return $this->success(pages($list,$go));
|
|
return $this->success(pages($list,$go));
|
|
}
|
|
}
|
|
|
|
|