在配置中添加了以下规则:

当我访问http://localhost/area/country?countryId=106&countryName=thailand,url应该是http://localhost/thailand-106, 这个是没问题的。
但是,在这个页面中有分页的按钮,现在分页的url就成了这样(下图第一个):

现在我想改成上图的第二个的形式,应该怎么做呢?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
pattern里把page也加进去
再加多一条规则即可。当第一条不匹配的时候,会继续匹配下一条。