我是routes.php
I have the following routing to redirect to url:
$route['AccountTest/test'] = "Account/test";
$route['SalaryTest/test'] = salary/test";
我如何实现_remap()codeigniter函数而不是使用route.php来实现相同功能
答案 0 :(得分:2)
您可以为此使用route.php文件。
$route['test1] = 'test1/contact;
$route['test2'] = 'test1/contact;
请参见https://www.codeigniter.com/userguide3/general/routing.html