Auth guard [admin] is not defined config目录下auth.php'guards' => 'admin' => [ 'driver' => 'session', 'provider' => 'admins', ],