摘要: 跟踪查看用户认证实现 在路由器加个反射 route/web.php 看到 Auth::routes() 查找 Auth 的 routes 方法 在浏览器输入 http://localhost/find/auth/routes 得到 打开文件我可以查看到 其实 就是 Route::auth(); Ro 阅读全文
posted @ 2017-07-24 22:32 夜愿生 阅读(729) 评论(0) 推荐(0)
摘要: 先看看laravel 自带的用户认证 1.laravel 有内置了用户认证的控制器,它们被放置在 App\Http\Controllers\Auth RegisterController 处理用户注册 LoginController 处理用户认证 ForgotPasswordController 处 阅读全文
posted @ 2017-07-24 02:03 夜愿生 阅读(834) 评论(0) 推荐(0)
摘要: $request->all();//全部 $method = $request->method();//取 请求类型 $request->isMethod('post');// 判断是否Post $request->input('name'); //取 POST name 的值 $request-> 阅读全文
posted @ 2017-07-24 01:08 夜愿生 阅读(350) 评论(0) 推荐(0)