更改热销榜单获取商品数量
This commit is contained in:
parent
a193ec02c1
commit
05a8639308
@ -325,7 +325,7 @@ class IndexLogic extends Logic
|
||||
->where($where)
|
||||
->where($onSaleWhere)
|
||||
->order($order)
|
||||
->limit(4)
|
||||
->limit(9)
|
||||
->select()
|
||||
->toArray();
|
||||
foreach ($hots as &$v) {
|
||||
@ -1073,7 +1073,7 @@ class IndexLogic extends Logic
|
||||
->where('delete_time', 0)
|
||||
->field('hl.*, g.id as gid, g.name, g.image, g.issuing_price, g.market_price, g.min_price, g.purchase_price, g.wholesale_price, g.subsidy_id')
|
||||
->order('sort desc')
|
||||
->limit(6)
|
||||
->limit(4)
|
||||
->select()
|
||||
->toArray();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user