×
Falcon
2022-03-04 11:39
#laravel# 验证用户,auth()->attempt($request->only('email','password')); $request->only('email','password') 只取提交的email和password字段。auth()->user()获取当前用户。
0

暂无评论