Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多账号体系 getSession 报错 #721

Open
daiyun169 opened this issue Dec 28, 2024 · 0 comments
Open

多账号体系 getSession 报错 #721

daiyun169 opened this issue Dec 28, 2024 · 0 comments

Comments

@daiyun169
Copy link

使用版本:

1.39.0

报错信息:

public String splicingKeyJustCreatedSave() {
// return SaTokenConsts.JUST_CREATED_SAVE_KEY + loginType;
return SaTokenConsts.JUST_CREATED;
}

希望结果:

getSession() 获取报错。

复现步骤:

请求cookie中存在多账号体系 token。(admin-token:xxx\app-token:xxx)。无法获取到正确的 tokenValue。到值获取到 loginId 为空。
image

实际获取到的是 admin-token 的 value

< 备注:如果复现步骤比较复杂,请将 demo 上传到 gitee 并留下地址 >

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant