``fix(user): 修复会话检查逻辑,添加会话删除操作``

This commit is contained in:
1
2025-10-15 16:24:52 +00:00
parent bee6291a12
commit ebe50f18a9

View File

@@ -28,7 +28,7 @@ func (l *MAIN_LOGIN_IN) CheakSession() bool {
if err != nil {
return false
}
share.ShareManager.DeleteSession(t1)
glog.Debug(context.Background(), "后端获取", t1, t, err)
return t == l.Head.UserID
}