当我在Index控制器里面希望跳转至Login控制器里面,按照官方文档的说法是这样做:
$this->error(‘马上跳转!’,’Login/index’,1);
可事实并不是这样
URL会从
http://localhost/ThinkPHP_Test/index.php/Home/Index/index
跳转至
http://localhost/ThinkPHP_Test/index.php/Home/Index/Login/index
我在自己的博客里面完整记录了这个问题的trace过程,大家看看有没有问题!
http://blog.csdn.net/mika85489/article/details/50311339
最佳答案