Home > Article > Backend Development > Modify routing configuration yii
My current routing configuration is
<code> array('default/detail', 'pattern'=>'detail/onlineId=<onlineId>', 'verb'=>'GET')</code>
The url is http:xxxx/detail/onlineId=1234
If I want to change the url to http:xxxx/detail?onlineId=1234
How to modify the routing configuration. I don’t see how to change it on the official website.
My current routing configuration is
<code> array('default/detail', 'pattern'=>'detail/onlineId=<onlineId>', 'verb'=>'GET')</code>
The url is http:xxxx/detail/onlineId=1234
If I want to change the url to http:xxxx/detail?onlineId=1234
How to modify the routing configuration. I don’t see how to change it on the official website.
array('default/detail', 'pattern'=>'detail?onlineId=