执行 PHP artisan make:auth 后,通过 PHP artisan route:list 查看不到 email 相关路由

执行php artisan make:auth后,通过php artisan route:list查看不到email相关路由:

// Email 认证相关路由 
Route::get('email/verify',  'Auth\VerificationController@show')->name('verification.notice');  Route::get('email/verify/{id}',  'Auth\VerificationController@verify')->name('verification.verify');  Route::get('email/resend',  'Auth\VerificationController@resend')->name('verification.resend');

你们能看到吗?

《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
最佳答案

邮箱相关的路由默认是没有的.

Route::Auth(['verify'=>true]);
6年前 评论
讨论数量: 2

邮箱相关的路由默认是没有的.

Route::Auth(['verify'=>true]);
6年前 评论

默认的路由是 Auth::routes();,一样代码即可。 教程中的路由只是为了方便理解每一个路由对应的方法,把详细的路由贴出来了而已。

6年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!