|
|
|
@ -166,9 +166,7 @@ public class SysUserService implements ISysUserService {
|
|
|
|
|
private void checkSessionMode(Integer loginPlatform,Long userId){
|
|
|
|
|
int sessionMode = RedisCacheTool.getSysConfigIntVal(CommonConstWords.CONFIG_SESSION_MODE,CommonConstWords.CONFIG_SESSION_MODE_DEFAULT);
|
|
|
|
|
String redisKey;
|
|
|
|
|
if (sessionMode == CommonEnumUtil.SESSION_MODE.DEFAULT.getValue()) {
|
|
|
|
|
redisKey = CommonConstWords.SESSION_USER + ":" + loginPlatform + "_" + userId;
|
|
|
|
|
} else if (sessionMode == CommonEnumUtil.SESSION_MODE.SEIZE.getValue()) {
|
|
|
|
|
if (sessionMode == CommonEnumUtil.SESSION_MODE.SEIZE.getValue()) {
|
|
|
|
|
redisKey = CommonConstWords.SESSION_USER + ":*_" + userId;
|
|
|
|
|
}else {
|
|
|
|
|
return;
|
|
|
|
|