wesmiler 1 天之前
父节点
当前提交
ab77270616
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Services/Api/GoodsService.php

+ 1 - 1
app/Services/Api/GoodsService.php

@@ -386,7 +386,7 @@ class GoodsService extends BaseService
                 $result['coupon_total'] = floatval($couponTotal);
             }
 
-            $result['pay_total'] = moneyFormat($result['order_total'] + $result['delivery_fee'],2);
+            $result['pay_total'] = floatval(moneyFormat($result['order_total'] + $result['delivery_fee'],2));
             return $result;
         }