|
@@ -188,12 +188,12 @@ class SettlementWinFail
|
|
|
throw new \Exception('非冠军比赛结果数据不能为空');
|
|
throw new \Exception('非冠军比赛结果数据不能为空');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- if ($this->RefClass->hasMethod($fun)) {
|
|
|
|
|
|
|
+ if ($this->RefClass->hasMethod($fun2)) {
|
|
|
$winorfalse = $this->AdapterObj->$fun($sval, $this->resultModel, []);
|
|
$winorfalse = $this->AdapterObj->$fun($sval, $this->resultModel, []);
|
|
|
} elseif ($this->RefClass->hasMethod($fun2)) {
|
|
} elseif ($this->RefClass->hasMethod($fun2)) {
|
|
|
$winorfalse = $this->AdapterObj->$fun2($sval, $this->resultModel, []);
|
|
$winorfalse = $this->AdapterObj->$fun2($sval, $this->resultModel, []);
|
|
|
} else {
|
|
} else {
|
|
|
- throw new \Exception('没有找到玩法输赢判断规则-01', 40010);
|
|
|
|
|
|
|
+ throw new \Exception('没有找到玩法输赢判断规则-01-'.$sval->id, 40010);
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
$this->getGjDatas($sval);
|
|
$this->getGjDatas($sval);
|
|
@@ -203,7 +203,7 @@ class SettlementWinFail
|
|
|
} elseif ($this->RefClass->hasMethod($fun2)) {
|
|
} elseif ($this->RefClass->hasMethod($fun2)) {
|
|
|
$winorfalse = $this->AdapterObj->$fun2($sval, $this->gjModel, []);
|
|
$winorfalse = $this->AdapterObj->$fun2($sval, $this->gjModel, []);
|
|
|
} else {
|
|
} else {
|
|
|
- throw new \Exception('没有找到玩法输赢判断规则-02', 40010);
|
|
|
|
|
|
|
+ throw new \Exception('没有找到玩法输赢判断规则-02-'.$sval->id, 40010);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|