3.2.1 怎么让分页也路由

浏览:558 发布日期:2014/07/01 分类:求助交流 关键字: 路由 分页
路由规则 为:
'/^(\d+)\/psearch-(.*)-(\d+)$/' => 'Product/index?cid=:1&terms=:2&p=:3',

用page 类生成分页后 分页处的 URL 地址为:
Show/Product/index/cid/10004/terms/搜索词/p/2.html

我想要的是/show/10004/psearch-搜索词-2.html

怎么做到?

是TP 3.2 不支持 路由分页吗?
最佳答案
评论( 相关
后面还有条评论,点击查看>>