thinkphp用方法定义路由参数报错

浏览:391 发布日期:2020/05/12 分类:求助交流
// Route::get('hello/:id/:name','index/Index/hello');
上面这个方法运行可以
Route::get('hello/:id/:name','index/Index/hello')->ext('html');
下面这个运行报错Call to a member function ext() on null
有大佬知道啥情况吗
最佳答案
评论() 相关
后面还有条评论,点击查看>>