laravel匹配路由的模式是domain.com/parameter/something/another_parameter/something,这样可以指定匹配controller的一个方法。那么domain.com/index?parameter=somgthing匹配一个方法,domain.com/index?another_parameter=something匹配另一个方法,有办法可以办到吗?
laravel匹配路由的模式是domain.com/parameter/something/another_parameter/something,这样可以指定匹配controller的一个方法。那么domain.com/index?parameter=somgthing匹配一个方法,domain.com/index?another_parameter=something匹配另一个方法,有办法可以办到吗?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号