We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2ed07a commit cb24e26Copy full SHA for cb24e26
13.3.md
@@ -28,7 +28,8 @@ MVC设计模式是目前Web应用开发中最常见的一种架构模式,通
28
Head() //method=HEAD的处理
29
Patch() //method=PATCH的处理
30
Options() //method=OPTIONS的处理
31
- Finish() //执行完成之后的处理 Render() error //执行完method对应的方法之后渲染页面
+ Finish() //执行完成之后的处理
32
+ Render() error //执行完method对应的方法之后渲染页面
33
}
34
35
那么前面介绍的路由add的时候是定义了ControllerInterface类型,因此,只要我们实现这个接口就可以,所以我们的基类Controller实现如下的方法:
0 commit comments