前置操作不存在时抛出异常

This commit is contained in:
yunwuxin
2016-09-06 17:15:43 +08:00
parent 6b8e9419b1
commit 3bfa4a19f0

View File

@@ -91,10 +91,8 @@ class Controller
}
}
if (method_exists($this, $method)) {
call_user_func([$this, $method]);
}
}
/**
* 加载模板输出