资源路由用url生成问题

浏览:602 发布日期:2018/07/25 分类:ThinkPHP5专区
Route::resource('contact', 'console/contact');

dump(url('console/contact/index'));
用url生成出来是 string(27) "/console/contact/index.html"

不应该是 /contact.html 吗?
最佳答案
评论() 相关
后面还有条评论,点击查看>>