mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-12 12:13:51 +08:00
发布v2.13.1版本,更新内容请查看:https://github.com/bufanyun/hotgo/blob/v2.0/docs/guide-zh-CN/start-update-log.md
This commit is contained in:
@@ -65,7 +65,7 @@ func NewClient(r *ghttp.Request, socket *websocket.Conn, firstTime uint64) (clie
|
||||
closeSignal: make(chan struct{}, 1),
|
||||
FirstTime: firstTime,
|
||||
HeartbeatTime: firstTime,
|
||||
User: contexts.Get(r.Context()).User,
|
||||
User: contexts.GetUser(r.Context()),
|
||||
IP: location.GetClientIp(r),
|
||||
UserAgent: r.UserAgent(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user