wesmiler 1 year ago
parent
commit
2bb460d682
1 changed files with 3 additions and 2 deletions
  1. 3 2
      app/Services/Api/OrderService.php

+ 3 - 2
app/Services/Api/OrderService.php

@@ -297,12 +297,13 @@ class OrderService extends BaseService
         $freight = isset($freightData['freight'])? floatval($freightData['freight']) : 0;
         $payTotal = moneyFormat($orderXdTotal+$freight,2);
         //var_dump($payTotal, $amount);
+        var_dump($payTotal);
+        var_dump($goods);
         if(intval($amount) != intval($payTotal)){
             $this->error = 2906;
             return false;
         }
-        var_dump($payTotal);
-        var_dump($goods);
+
         return false;
 
         // 星豆余额支付验证