Browse Source

异常处理

彭俊 6 năm trước cách đây
mục cha
commit
7f7650a028
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Lib/Settlement/SettlementWinFail.php

+ 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, []);