配置本地生活东龙汇超时价格88打折,不进行四舍五入
This commit is contained in:
parent
5f3947ce5f
commit
1c4e0243fc
@ -259,7 +259,7 @@ class LocalStoreGoodsLogic extends Logic
|
||||
|
||||
// 东龙汇超时价格 *88折
|
||||
if ($get['lstore_id'] == 138) {
|
||||
$data['price'] = round($data['price'] * self::$sale, 2);
|
||||
$data['price'] = number_format($data['price'] * self::$sale, 2, '.', '');
|
||||
}
|
||||
|
||||
if ($get['lstore_id'] != 138) {
|
||||
@ -280,7 +280,7 @@ class LocalStoreGoodsLogic extends Logic
|
||||
|
||||
// 东龙汇超时价格 *88折
|
||||
if ($get['lstore_id'] == 138) {
|
||||
$v['price'] = round($v['price'] * self::$sale, 2);
|
||||
$v['price'] = number_format($v['price'] * self::$sale, 2, '.', '');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -343,7 +343,7 @@ class LocalStoreLogic extends Logic
|
||||
}
|
||||
|
||||
if ($post['lstore_id'] == 138) {
|
||||
$data['goods_total_price'] = round($data['goods_total_price'] * LocalStoreGoodsLogic::$sale, 2);
|
||||
$data['goods_total_price'] = number_format($data['goods_total_price'] * LocalStoreGoodsLogic::$sale, 2, '.', '');
|
||||
}
|
||||
|
||||
$data['order_no'] = createSn('local_goods_order', 'order_no');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user