[生成 url] 在 URL::action 方法中如何添加后缀
目前我的需求是,在模版生成的url中自动在?号前设置后缀
代码是这样的URL::action('UserController@advice',['s'=>0]) }}
生成的URL是http://localhost/user/advice?s=0
如何生成的是http://localhost/user/advice.html?s=0
这样的url呀?
推荐文章: