获取指定类目下的商品
This commit is contained in:
parent
8ed6952c07
commit
9ad0362c41
@ -77,7 +77,7 @@ class IndexLogic extends Logic
|
||||
$hots = self::getHots($where);
|
||||
|
||||
// 年货超值购
|
||||
$year_shop = self::getYearShop();
|
||||
$year_goods = self::getYearGoods();
|
||||
|
||||
$set_price_type = 0;
|
||||
if ($set != null&&$settpye!=1) {
|
||||
@ -283,7 +283,7 @@ class IndexLogic extends Logic
|
||||
// 'mall_news' => [],
|
||||
'mall_news' => $mall_news,
|
||||
'hot_list' => $hot_list,
|
||||
'year_shop' => $year_shop,
|
||||
'year_goods' => $year_goods,
|
||||
];
|
||||
}
|
||||
|
||||
@ -1123,7 +1123,7 @@ class IndexLogic extends Logic
|
||||
return $hot_list;
|
||||
}
|
||||
|
||||
public static function getYearShop($get = [])
|
||||
public static function getYearGoods($get = [])
|
||||
{
|
||||
$page_no = $get['page_no'] ?? 1;
|
||||
$page_size = $get['page_size'] ?? 10;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user