@AGuier
你好,按照这个好像有点问题呢,App\User cannot use Illuminate\Foundation\Auth\User - it is not a trait,代码如下
namespace App;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
class User extends Eloquent implements AuthenticatableContract,AuthorizableContract,CanResetPasswordContract
{
use Authenticatable, Authorizable, CanResetPassword;