
这样路由传参要怎么弄
return [
'__pattern__' => [
'name' => '\w+',
],
'[hello]' => [
':id' => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
':name' => ['index/hello', ['method' => 'post']],
],
'/' => 'index',
'/:i' => 'News/eee',
'url_html_suffix' => 'html'
];