修改route.php文件对ThinkPHP快速注册路由
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' ];
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' ];