design231 2013-06-30 02:46:19 3306次浏览 2条回复 0 0 0

比如我想加一个页面,要他显示时间 我在Controller里加了一个

public function actionTime()
{
    $this->render('time');
}

我用/index.php?r=user/time的格式访问时会出现以下错误:

Error 403
You are not authorized to perform this action.
您需要登录后才可以回复。登录 | 立即注册