dromara / dromara/Sa-Token

sa-token不同应用如何获取用户的登录时间

Open
#696 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
19k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

目前sa-token框架可能在单应用里面可以获取到登录时间(待确认)

目前我使用A框架集成sa-token, 使用B框架直接解析redis的sa-token/session值
有办法可以获取到用户的登录时间吗?我只看到session key里面包含了 createTime
但是这个字段实际不是登录时间

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by examining the sa-token/session entry in Redis and how its createTime is populated, then clarify what should count as the login time across applications and how that value should be exposed; done should include an agreed cross-application behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.