tp5里路由页面有这几行代码是干什么的

浏览:275 发布日期:2017/05/15 分类:求助交流 关键字: 路由页面 路由
return [
'__pattern__' => [
'name' => '\w+',
],
'[hello]' => [
':id' => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
':name' => ['index/hello', ['method' => 'post']],
],


];
最佳答案
评论( 相关
后面还有条评论,点击查看>>