wesmiler 1 ngày trước cách đây
mục cha
commit
ab77270616
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
         }