彭俊 6 жил өмнө
parent
commit
7f7650a028

+ 1 - 1
app/Lib/Settlement/SettlementWinFail.php

@@ -188,7 +188,7 @@ class SettlementWinFail
                 throw  new \Exception('非冠军比赛结果数据不能为空');
             }
 
-            if ($this->RefClass->hasMethod($fun2)) {
+            if ($this->RefClass->hasMethod($fun)) {
                 $winorfalse = $this->AdapterObj->$fun($sval, $this->resultModel, []);
             } elseif ($this->RefClass->hasMethod($fun2)) {
                 $winorfalse = $this->AdapterObj->$fun2($sval, $this->resultModel, []);