定义前:
http://doamin/index.index/index
http://doamin/admin.index/index
Route::rule(':version/:controller/:action',':version.:controller/:action');
定义后:
http://doamin/index/index/index
http://doamin/admin/index/index
雁南天
一个很懒的人
2011 - 2023 雁南天. All Rights Reserved.
Powered by Typecho