Authored by Rock Zhang

使用有货币数目添加.00后缀

Code Review By Rock Zhang
... ... @@ -511,6 +511,8 @@ class CartModel
$compute = CartData::orderCompute($uid, $cartType, $deliveryWay, $paymentType, $couponCode, $yohoCoin);
if ($compute && isset($compute['code']) && $compute['code'] === 200) {
// 有货币添加.00后缀
$compute['data']['use_yoho_coin'] = Helpers::transPrice($compute['data']['use_yoho_coin']);
$result = $compute['data'];
}
... ...