TP5路由定義

建立路由規則的方法 Route::rule('路由表達式','路由地址','請求類型','路由參數(數組)','變量規則(數組)') 例如: Route::rule(‘demo/[:name]/[:course]’,‘index/index/demo’,‘GET’,[‘ext’=>‘html’],[‘name’=>’[a-zA-Z]+’,‘course’=>’\w+’]);php 路由表達式 路由
相關文章
相關標籤/搜索