怎样把get的值添加到方法的参数中?
我在routes.php定义一个$route['welcome/index\?+=(.+)'] = "welcome/index/$1";
即http://localhost/www/codeigniter/index.php/welcome/index?keyword=bl
路由到http://localhost/www/codeigniter/index.php/welcome/show/bl
把bl参数传递到show方法
,但怎样都调用index方法... $route['welcome/index\?+=(.+)'] = "welcome/show/$1"; 路由还支持 query string???? 恩,看看。
页:
[1]