wesmiler hace 1 día
padre
commit
ab77270616
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
         }