客服登录状态问题处理

This commit is contained in:
evoxwht 2023-04-03 10:43:39 +08:00
parent 3092bccee8
commit 3195c6d35c

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'],