获取是否是新品字段
This commit is contained in:
parent
08ff02ddd4
commit
64fc6eb1db
@ -1070,7 +1070,7 @@ class IndexLogic extends Logic
|
||||
->join('goods g', 'hl.goods_id = g.id')
|
||||
->where($onSaleWhere)
|
||||
->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')
|
||||
->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 g.presale')
|
||||
->order('sort desc')
|
||||
->limit(4)
|
||||
->select()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user