From 34bcd6e0f0d7415b6231af63bffba46e94138e65 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Sat, 19 Oct 2024 16:47:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=9C=AC=E5=9C=B0=E7=94=9F?= =?UTF-8?q?=E6=B4=BB=E4=B8=9C=E9=BE=99=E6=B1=87=E8=B6=85=E6=97=B6=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC88=E6=89=93=E6=8A=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/LocalStoreGoodsLogic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/logic/LocalStoreGoodsLogic.php b/app/api/logic/LocalStoreGoodsLogic.php index 55c509a8..a548f3ad 100644 --- a/app/api/logic/LocalStoreGoodsLogic.php +++ b/app/api/logic/LocalStoreGoodsLogic.php @@ -259,7 +259,7 @@ class LocalStoreGoodsLogic extends Logic // 东龙汇超时价格 *88折 if ($get['lstore_id'] == 138) { - $data['price'] = $data['price'] * self::$sale; + $data['price'] = round($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'] = $v['price'] * self::$sale; + $v['price'] = round($v['price'] * self::$sale, 2); } } }