laravel修改用戶實例:php
1.配置文件jwt.php:laravel
'user' => 'App\User',//你的用戶表model的完整命名空間
2.配置文件auth.php:ide
'providers' => [ 'users' => [ 'driver' => 'eloquent', 'model' => App\Entities\Account::class,//你的用戶表model的完整命名空間 ],