vali 6 лет назад
Родитель
Сommit
3deea3c4c0
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      datainf/logic/HttpServerOnlySet.php

+ 3 - 0
datainf/logic/HttpServerOnlySet.php

@@ -359,6 +359,7 @@ class HttpServerOnlySet
             $oddsResult[0]['odds'] = $v->odds;
             $getReturnMoney = $settlementBase->stringOdds($oddsResult);
 
+            $pv = 0;
             if ($v->result == 2) {
                 //返水钱扣掉
                 $pv = $this->gethuishuilv();
@@ -366,6 +367,8 @@ class HttpServerOnlySet
             }
             $returnMoney += $getReturnMoney['returnMoney'] * $v->bet_money;
 
+            print_r(['debug', 'getReturnMoney' => $getReturnMoney, 'pv' => $pv, 'bet_money' => $v->bet_money]);
+
         }
 
         $returnMoney = sprintf("%.2f", substr(sprintf("%.3f", $returnMoney), 0, -1));