找到这个文件Http/Middleware/RedirectIfAuthenticated
public function handle($request, Closure $next, $guard = null)
    {
        if (Auth::guard($guard)->check()) {
            return redirect('/home'); // 改这里吧
        }
        return $next($request);
    }修改为你想要的,例如改为'/'
public function handle($request, Closure $next, $guard = null)
    {
        if (Auth::guard($guard)->check()) {
            return redirect('/'); // 改这里吧
        }
        return $next($request);
    }嘿嘿嘿 , 好了!
viencoding.com版权所有,允许转载,但转载请注明出处和原文链接: http://45.76.225.121/article/84