'URL_ROUTE_ON'=>true,
'URL_ROUTE_RULES'=>array(
'cate/:cid\d'=>'Index/Home/category',
),
原来地址栏访问地址:http://localhost/index.php/Index/Home/category/cid/1
Index 是前台分组名称 Home前台的某个控制器 category前台Home控制器中的方法 cid 栏目id 后面1数字为传参
配置路由后
打开http://localhost/index.php/cate/1 提示cate模块不存在
路由不能使用了
求解
以确定不是缓存问题
最佳答案
