已登录账号,TerminalInfo 无法修改Extra ?
- Dominant language
- Java
- Stars
- 19.1k
- Forks
- 2.9k
- PR merge metrics
- No merged PRs in 30d
Description
### 使用版本:
1.43.0
### 报错信息:
StpKit.ACCOUNT.getSession().set("tenantId",100); ✅
Terminal 同样的操作 却没有变更
StpKit.ACCOUNT.getTerminalInfo().setExtra("tenantId",100); ❌

### 希望结果:
希望可以变更 TerminalInfo的 extra
### 复现步骤:
< 备注:如果复现步骤比较复杂,请将 demo 上传到 gitee 并留下地址 >
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the two calls shown in the issue on Sa-Token 1.43.0, comparing getSession().set("tenantId", 100) with getTerminalInfo().setExtra("tenantId", 100). Trace TerminalInfo and setExtra to determine where the extra data is stored and whether the change is visible afterward. Done means TerminalInfo extra contains the updated tenantId.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100