no message
This commit is contained in:
parent
c47fc79f6b
commit
70f2e78a9c
@ -94,11 +94,13 @@ final class HookController
|
|||||||
} else if (method_exists($sUClassPath, $sUFunc)) {
|
} else if (method_exists($sUClassPath, $sUFunc)) {
|
||||||
$oInstans = new $sUClassPath();
|
$oInstans = new $sUClassPath();
|
||||||
$r = $oInstans->$sUFunc($aParams, $aUpdate);
|
$r = $oInstans->$sUFunc($aParams, $aUpdate);
|
||||||
} else if ($sClass == "book" || $sClass == "Book") {
|
}
|
||||||
$sFunc = "main";
|
// else if ($sClass == "book" || $sClass == "Book") {
|
||||||
$oInstans = new $sUClassPath();
|
// $sFunc = "main";
|
||||||
$r = $oInstans->$sFunc($aParams, $aUpdate);
|
// $oInstans = new $sUClassPath();
|
||||||
} else {
|
// $r = $oInstans->$sFunc($aParams, $aUpdate);
|
||||||
|
// }
|
||||||
|
else {
|
||||||
throw new \Exception("没有这个方法:".$sClass.'#'.$sFunc);
|
throw new \Exception("没有这个方法:".$sClass.'#'.$sFunc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user