0.88
This commit is contained in:
parent
47e0ae0889
commit
81beb5c69f
@ -71,7 +71,7 @@ class GoodsLogic extends Logic
|
||||
->where($onSaleWhere)
|
||||
->where('id', $goodsId)
|
||||
->findOrEmpty();
|
||||
$goodsDetail['min_price'] = round(0.88*$goodsDetail['min_price'],2);
|
||||
// $goodsDetail['min_price'] = round(0.88*$goodsDetail['min_price'],2);
|
||||
if ($goodsDetail->isEmpty()) {
|
||||
self::$error = '商品已下架';
|
||||
return false;
|
||||
|
||||
@ -1105,7 +1105,7 @@ class IndexLogic extends Logic
|
||||
}
|
||||
$result = array_merge($hot_list, $order_goods);
|
||||
foreach ($result as &$v) {
|
||||
// $v['min_price'] = round(0.88*$v['min_price'],2);
|
||||
$v['min_price'] = round(0.88*$v['min_price'],2);
|
||||
if (isset($v['image'])) {
|
||||
$v['image'] = UrlServer::getFileUrl($v['image']);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user