``fix(user): 修复会话检查逻辑,添加会话删除操作``
This commit is contained in:
@@ -28,7 +28,7 @@ func (l *MAIN_LOGIN_IN) CheakSession() bool {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
share.ShareManager.DeleteSession(t1)
|
||||||
glog.Debug(context.Background(), "后端获取", t1, t, err)
|
glog.Debug(context.Background(), "后端获取", t1, t, err)
|
||||||
return t == l.Head.UserID
|
return t == l.Head.UserID
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user