Thinkphp6 hello() 方法的问题
thinkphp吧
全部回复
仅看楼主
level 1
茫无边 楼主
刚安装thinkphp6 时,系统会有两个默认的方法,一个是index()方法,这个是欢迎页面没什么疑问。还有一个方法是hello(),这个hello方法访问时会报错,不知道是什么原因?求解?
2019年09月29日 10点09分 1
level 3
加群免费解答455018252
2019年10月18日 22点10分 3
level 5
路由吧
2019年10月31日 10点10分 4
路由为什么要设置hello()这个方法呢,不明白为什么要这样做?
2019年10月31日 13点10分
level 1
Route::get('hello/:name', 'index/hello');
localhostxxx/index.php/Index/hello/内容
2021年10月02日 14点10分 5
1