THINKPHP快速注册路由方式可以用
return[ ???"test"=>"index/index/demo", ???‘getid/:id‘=>‘index/User/getId‘, ???‘time/:year/[:month]‘=>‘index/User/myTime‘, ???‘:x/:y‘=>‘index/User/XAndY‘, ???‘comp$‘=>‘index/User/comp‘];
修改route.php文件对ThinkPHP快速注册路由
原文地址:https://www.cnblogs.com/vxianfeng/p/9742568.html