Skip to the content.

Controller

一般来说,Controller(控制器) 经常做“页面”与“数据库”的“中间人”
比如,有个页面需要展示用户信息:

下面的案例,是 userControllerbookController: