文本聊天已完成
This commit is contained in:
@@ -17,7 +17,7 @@ class BaseService
|
||||
public function __construct()
|
||||
{
|
||||
$token = request()->header('token');
|
||||
$this->userId = $token;
|
||||
$this->userId = (int)$token;
|
||||
$this->userInfo = UserModel::where('id', $token)->first();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user