|
@@ -41,7 +41,7 @@ class ClassifyController extends Controller
|
41
|
41
|
*/
|
42
|
42
|
public function home(Request $request)
|
43
|
43
|
{
|
44
|
|
- $top = Classify::where("location", "top")->orderBy("updated_at", "desc")->limit(3)->get()->toArray();
|
|
44
|
+ $top = Classify::where("location", "top")->orderBy("updated_at", "desc")->limit(5)->get()->toArray();
|
45
|
45
|
//$bottom = Classify::where("location", "bottom")->orderBy("updated_at", "desc")->first();
|
46
|
46
|
$homePage = HomePage::find(1);
|
47
|
47
|
$tops = array_map(function ($t) {
|