vali hace 6 años
padre
commit
b58eb37184
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Logic/UnSettmatchLogic.php

+ 1 - 1
app/Logic/UnSettmatchLogic.php

@@ -151,7 +151,7 @@ class UnSettmatchLogic
             $mModel->trade_type = 3;
             $mModel->trade_desc = '赛事取消返款--matchid=' . $this->match_id;
 
-            if ($gain_money <= 0.01) {
+            if ($gain_money * 100 <= 1) {
                 $return_money = $item->money * (1 - $this->fanshui);
                 $mModel->money_type = 1;
                 $mModel->money = $return_money;