浏览代码

异常处理

彭俊 6 年之前
父节点
当前提交
7f7650a028
共有 1 个文件被更改,包括 1 次插入1 次删除
  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, []);