thinkphp5.0l路由冲突原因及解决方法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hj960511/article/details/74614477

错误描述:路由失效
错误原因:没有开启完整匹配

在配置文件中配置

     // 是否开启路由
    'url_route_on'           => true,
    // 路由使用完整匹配
    'route_complete_match'   => true,

猜你喜欢

转载自blog.csdn.net/hj960511/article/details/74614477