mirror of
https://gitee.com/liweiyi/ChestnutCMS.git
synced 2025-12-06 16:38:24 +08:00
修正会员中心错误
This commit is contained in:
parent
89edc73cdc
commit
6a12c4fd59
@ -69,7 +69,7 @@ public class StpMemberUtil {
|
||||
tokenValue = request.getCookieValue(keyTokenName);
|
||||
// 临时处理一下
|
||||
if (StringUtils.isNotEmpty(tokenValue)) {
|
||||
String tokenPrefix = getConfig().getTokenPrefix();
|
||||
String tokenPrefix = getConfigOrGlobal().getTokenPrefix();
|
||||
if (StringUtils.isNotEmpty(tokenPrefix) && !tokenValue.startsWith(tokenPrefix + SaTokenConsts.TOKEN_CONNECTOR_CHAT)) {
|
||||
tokenValue = tokenPrefix + SaTokenConsts.TOKEN_CONNECTOR_CHAT + tokenValue;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user