wesmiler 1 year ago
parent
commit
940194fc45
1 changed files with 0 additions and 6 deletions
  1. 0 6
      app/Services/Api/OrderService.php

+ 0 - 6
app/Services/Api/OrderService.php

@@ -300,19 +300,13 @@ class OrderService extends BaseService
             $this->error = GoodsService::make()->getError()?? 2905;
             return false;
         }
-
         $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;
         }
 
-        return false;
-
         // 星豆余额支付验证
         if($payType == 10 && $userXd < $payTotal){
             $this->error = 2304;