6
0
Fork 0

Merge branch '1.x' of gitee.com:zi-chunsheng-e-commerce/mall-server into 1.x

release
李静 2022-02-23 16:11:28 +08:00
commit b48e88578d
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ use Illuminate\Http\Request;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Str;
use Overtrue\Socialite\SocialiteManager;
use Throwable;
@ -189,6 +190,7 @@ class SocialiteAuthController extends Controller
$user = User::create(
array_merge($input, [
'password' => Str::random(6), //先随机一个密码
'phone_verified_at' => $time,
'register_ip' => $ip,
'last_login_at' => $time,