I discovered this when reading the manual. Some conflicts can be avoided. It is better to read the manual carefully.
You can add any route you want to set under this application/route.php, which is really convenient. I also put the verification code routing in this. return [<br>
'__pattern__' => [<br>
'name' => 'w+',<br>
],<br>
'[hello]' => [<br>
':id' => ['index/hello', ['method' => 'get'], ['id' => 'd+']],<br>
‘:name’ => ['index/hello', ['method' => 'post']],<br>
],<br>
'captcha/[:id]' => ['thinkcaptchaCaptchaController@index',['method'=>'get'], ['id' => 'd+']], /*Verification code routing*/ <br>
// 'Captcha/[: ID]' = & GT; 'ThinkCaptchaCACACONTROLLER@Index',/*Verification code route*/<br> <br>
'zxzx/index' => 'zxzx/zxzx/index',<br>
'admin/admin' => 'zxzx/admin/admin',<br>
'zxzx/add' => 'zxzx/zxzx/add',<br>
'zxzx/edit' => 'zxzx/zxzx/edit',<br>
'zxzx/del' => 'zxzx/zxzx/del',<br>
'admin/profile' => 'zxzx/admin/profile',<br>
'admin/logout' => 'zxzx/admin/logout',<br>
'user/login' => 'zxzx/user/login',<br>
'user/login_captcha' => 'zxzx/user/login_captcha',<br>
'user/index' => 'index/user/index',<br>
'user/create' => 'index/user/create',<br>
'user/add' => 'index/user/add',<br>
'user/add_list' => 'index/user/addList', <br>
'user/update/:id' => 'index/user/update',<br>
'user/delete/:id' => 'index/user/delete',<br>
'user/:id' => 'index/user/read',
];