这个路由设置了 不对啊。。

浏览:491 发布日期:2013/09/12 分类:求助交流
http://localhost/test/index.php/User/Index/useredit?editName=shineforce
这个是可以正常访问的地址
路由我是怎么设定的
'URL_ROUTE_RULES' =>array(
'/^User\/(\w+)$/' => 'User/Index/Index?uid=:1',
'/^User\/useredit\/(\W+)$/'=>'User/Index/useredit?editName=:1', //是这句
),

然后使用访问地址:
http://localhost/test/index.php/User/useredit/shineforce

页面报错是:
无法加载模块:useredit

我这个写法不对吗? 高手能给小弟指点一下嘛。谢谢了~
最佳答案
评论( 相关
后面还有条评论,点击查看>>