Merge branch 'v4.7.0dev' into v5.0.0dev

This commit is contained in:
evoxwht 2023-04-03 10:43:55 +08:00
commit c3a960a00d

View File

@ -64,6 +64,7 @@ class LoginServices extends BaseServices
$token = $this->createToken($kefuInfo->id, 'kefu');
$kefuInfo->update_time = time();
$kefuInfo->ip = request()->ip();
$kefuInfo->online = 1;
$kefuInfo->save();
return [
'token' => $token['token'],