如何解决目标类[StudentController]不存在 http:// localhost:8000 /学生
我使用Student文件夹内的routes.PHP
文件来编写与Student模块相关的路由。
当我只使用
Route::get('/main',function () { return view('welcome'); });
程序运行正常,没有错误。
但是当我使用
Route::get('/student','StudentController@student');
存在错误:Target class [StudentController] does not exist.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。