商品列表添加上商品返比文字
This commit is contained in:
parent
0c256f54ee
commit
0b6db4d77b
@ -751,7 +751,7 @@ class IndexLogic extends Logic
|
||||
$where1[] = ['purchase_price|issuing_price|wholesale_price', '>', 0];
|
||||
}
|
||||
}
|
||||
$lists = Goods::field('id,name,image,min_price,market_price,wholesale_price,purchase_price,issuing_price,sales_actual,(sales_actual + sales_virtual) as sales_total')
|
||||
$lists = Goods::field('id,name,image,min_price,market_price,wholesale_price,purchase_price,issuing_price,sales_actual,(sales_actual + sales_virtual) as sales_total, subsidy_id')
|
||||
->where($where1)
|
||||
->where($where)
|
||||
->where($shopWhere)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user