|
|
|
@ -53,7 +53,8 @@ class CategoryController extends BaseController |
|
|
|
$type_banners = [$banners[$r]]; |
|
|
|
} |
|
|
|
|
|
|
|
$item['hot_category'] = ['title'=>$hot_titles[$rand_index],'goods_types'=>$hot_types,'banners'=>$type_banners]; |
|
|
|
$item['hot_category'] = ['title'=>$hot_titles[$rand_index],'goods_types'=>$hot_types]; |
|
|
|
$item['banners']=$type_banners; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|