/question/(:any)===/discuss/(:any)/
/topic/(:any)===/topic/(:any)/
/people/(:any)===/member/(:any)/
/people/list/===/members/
/home/explore/category-(:num)===/category/(:num)/
/home/explore/===/discover/
/account/login/===/login/
/account/logout/===/logout/
/account/setting/(:any)/===/setting/(:any)/
/people/(:any)===/member/(:any)/
/people/list/===/members/
这两句哪里不对?
我想要实现的效果:
1,用户列表页面 http://wecenter.com/members/
2,用户个人页面 http://wecenter.com/member/某某/
我按照以上规则设定好以后,实际效果是:
1,wecenter.com/member/list// [此处比设定时多了斜杠/]
翻页失败,地址如下:http://wecenter.com/member/list/sort_key-/page-2
不知道为什么多了个
LIST跑出来了。
其实我想吧个人页面做成:http://wecenter.com/某某/这种形式的,也不行。。。哪里错了?
阅读全文
收起全文