且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

CodeIgniter可选参数

更新时间:2023-08-24 11:40:40

最简单的表达方式可能是声明两条路径:

The clearest way to express this would probably be to declare both routes:

$route['signup'] = "user/signup";
$route['signup/(:num)'] = "user/signup/$1";