酷熊网 酷熊网

标签tags

用栏目标识来访问cms模块具体修改地方

1

酷熊网 发布于 2020-11-05

1.首先前台路由改下,需要在各文章列表增加subtitle字段属性跟title一样12Route::rule('lists/:catid/[:condition]','cms/index/lists')->pattern(['catid'=>'[\d|\w\/]+','condition'=>'[0-9_&=a-zA-Z]+']);Route::rule('shows...

赞 ( 4)