1.3.9.2. 开发步骤

声明的方式有两种:

1.声明在Controller类上,表示该Controller的所有action都不需要验证用户是否登录 。

2.声明在Controller中的action方法上,表示该controller的当前action不需要验证用户是否登录。