修复结算页使用的有货币数目没有.00后缀的bug
Code Review By Rock Zhang
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -447,7 +447,7 @@ class CartModel | @@ -447,7 +447,7 @@ class CartModel | ||
447 | } | 447 | } |
448 | 448 | ||
449 | // 有货币 | 449 | // 有货币 |
450 | - $result['yohoCoin'] = $payReturn['yoho_coin']; | 450 | + $result['yohoCoin'] = Helpers::transPrice($payReturn['yoho_coin']); |
451 | /* | 451 | /* |
452 | * 默认使用有货币 | 452 | * 默认使用有货币 |
453 | * $result['useYohoCoin'] = isset($orderCompute['use_yoho_coin']) ? $orderCompute['use_yoho_coin'] : $payReturn['use_yoho_coin']; | 453 | * $result['useYohoCoin'] = isset($orderCompute['use_yoho_coin']) ? $orderCompute['use_yoho_coin'] : $payReturn['use_yoho_coin']; |
-
Please register or login to post a comment