作者 王智

文档修改

@@ -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 }