店铺街 东龙汇超时价格 *88折
This commit is contained in:
parent
1bfb63f859
commit
e84bd29868
@ -234,13 +234,15 @@ class LocalStoreLogic extends Logic
|
||||
->order($order)
|
||||
->page($data['page_no'], $data['page_size'])
|
||||
->group('ls.lstore_id')
|
||||
->select();
|
||||
->select()->toArray();
|
||||
|
||||
foreach ($lists as $key => &$value) {
|
||||
// 东龙汇超时价格 *88折
|
||||
if ($value['lstore_id'] == 138) {
|
||||
$lists[$key]['original_price'] = $value['price'];
|
||||
$lists[$key]['price'] = round($value['price'] * LocalStoreGoodsLogic::$sale, 2);
|
||||
foreach ($value['street_goods'] as $k1 => &$v1) {
|
||||
$value['street_goods'][$k1]['original_price'] = $v1['price'];
|
||||
$v1['price'] = round($v1['price'] * LocalStoreGoodsLogic::$sale, 2);
|
||||
}
|
||||
}
|
||||
|
||||
// 店铺下面的商品数量
|
||||
|
||||
Loading…
Reference in New Issue
Block a user