From 4b04b5369e24e4326164706515bccd725d8ff3ea Mon Sep 17 00:00:00 2001 From: 王智 <wz@bronet.cn> Date: Fri, 12 Mar 2021 21:56:54 +0800 Subject: [PATCH] 文档修改 --- application/api/controller/Shop.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/api/controller/Shop.php b/application/api/controller/Shop.php index 5e81b2f..35a00ac 100644 --- a/application/api/controller/Shop.php +++ b/application/api/controller/Shop.php @@ -203,9 +203,9 @@ class Shop extends Api $GoodsArray[$k]['Sales'] = $IfEmptyGoodsArray['sales']; $GoodsArray[$k]['Type'] = $IfEmptyGoodsArray['type']; if ($IfEmptyGoodsArray['type'] == 1) { - $GoodsArray[$k]['KeZhuan'] = round($IfEmptyGoodsArray['price'] * $Jing, 2); + $GoodsArray[$k]['KeZhuan'] = round($IfEmptyGoodsArray['price'] * $Jing, 1); } else { - $GoodsArray[$k]['KeZhuan'] = round($IfEmptyGoodsArray['price'] * $Tong, 2); + $GoodsArray[$k]['KeZhuan'] = round($IfEmptyGoodsArray['price'] * $Tong, 1); } } } -- libgit2 0.24.0