|
@@ -371,7 +371,7 @@ class ProductController extends Controller
|
|
$limit = $request->get('limit',10);
|
|
$limit = $request->get('limit',10);
|
|
$go = $request->get('go',6);
|
|
$go = $request->get('go',6);
|
|
$list = UserCollect::query()
|
|
$list = UserCollect::query()
|
|
- ->with('product:id,name,image')
|
|
|
|
|
|
+ ->with('product:id,name,image,url')
|
|
->whereHas('product',function ($query){
|
|
->whereHas('product',function ($query){
|
|
$query->where('id','>',0);
|
|
$query->where('id','>',0);
|
|
})
|
|
})
|