소스 검색

异常处理

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