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