请教一个路由的问题,跪谢

浏览:315 发布日期:2018/01/06 分类:求助交流
\think\Route::rule('love/:id','index/index/love');

域名/love/2 可以访问 域名/index/index/love/id/2

想用
域名/love 直接访问 域名/index/index/love/id/2

这个规则怎么写呀
最佳答案
评论() 相关
后面还有条评论,点击查看>>