0.88
This commit is contained in:
parent
c7bf98f3d1
commit
16ad1e6c64
@ -71,7 +71,7 @@ class GoodsLogic extends Logic
|
||||
->where($onSaleWhere)
|
||||
->where('id', $goodsId)
|
||||
->findOrEmpty();
|
||||
|
||||
$goodsDetail['min_price'] = round(0.88*$goodsDetail['min_price'],2);
|
||||
if ($goodsDetail->isEmpty()) {
|
||||
self::$error = '商品已下架';
|
||||
return false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user