We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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 为空。
实际获取到的是 admin-token 的 value
< 备注:如果复现步骤比较复杂,请将 demo 上传到 gitee 并留下地址 >
The text was updated successfully, but these errors were encountered:
你是否使用错了对应的 StpUtil? 多账号体系下,用哪个 Stp 体系生成的token,就用哪个 Stp 去获取 例如:StpUserUtil 生成的 token,也要用 StpUserUtil.getTokenValue() 去获取
Sorry, something went wrong.
No branches or pull requests
使用版本:
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 为空。

实际获取到的是 admin-token 的 value
< 备注:如果复现步骤比较复杂,请将 demo 上传到 gitee 并留下地址 >
The text was updated successfully, but these errors were encountered: