正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -203,9 +203,9 @@ class Shop extends Api | @@ -203,9 +203,9 @@ class Shop extends Api | ||
203 | $GoodsArray[$k]['Sales'] = $IfEmptyGoodsArray['sales']; | 203 | $GoodsArray[$k]['Sales'] = $IfEmptyGoodsArray['sales']; |
204 | $GoodsArray[$k]['Type'] = $IfEmptyGoodsArray['type']; | 204 | $GoodsArray[$k]['Type'] = $IfEmptyGoodsArray['type']; |
205 | if ($IfEmptyGoodsArray['type'] == 1) { | 205 | if ($IfEmptyGoodsArray['type'] == 1) { |
206 | - $GoodsArray[$k]['KeZhuan'] = $IfEmptyGoodsArray['price'] * $Jing; | 206 | + $GoodsArray[$k]['KeZhuan'] = round($IfEmptyGoodsArray['price'] * $Jing, 2); |
207 | } else { | 207 | } else { |
208 | - $GoodsArray[$k]['KeZhuan'] = $IfEmptyGoodsArray['price'] * $Tong; | 208 | + $GoodsArray[$k]['KeZhuan'] = round($IfEmptyGoodsArray['price'] * $Tong, 2); |
209 | } | 209 | } |
210 | } | 210 | } |
211 | } | 211 | } |
-
请 注册 或 登录 后发表评论