|
@@ -1609,7 +1609,7 @@ class NewsService implements NewsServiceInterface
|
|
->orWhereRaw("JSON_CONTAINS(good.city_arr_id, '\"". intval($data['city_id']). "\"') = 1");
|
|
->orWhereRaw("JSON_CONTAINS(good.city_arr_id, '\"". intval($data['city_id']). "\"') = 1");
|
|
});
|
|
});
|
|
})
|
|
})
|
|
- ->select('good.id', 'good.name', 'good.imgurl', 'good.description', 'good.updated_at',
|
|
|
|
|
|
+ ->select('good.id', 'good.name', 'good.imgurl', 'good.description', 'good.updated_at', 'good.com',
|
|
'good.catid','good.type_id','good.website_id','good.cat_arr_id','good.created_at','good.city_id')
|
|
'good.catid','good.type_id','good.website_id','good.cat_arr_id','good.created_at','good.city_id')
|
|
->latest('updated_at');
|
|
->latest('updated_at');
|
|
$result['type1_count'] = $query->clone()->where('type_id', 1)->count();
|
|
$result['type1_count'] = $query->clone()->where('type_id', 1)->count();
|