for perspective switch bug
This commit is contained in:
parent
31632aaf4b
commit
b5dfe34186
@ -426,6 +426,6 @@ public class TerminalInfo {
|
||||
|
||||
|
||||
////专门用于切换ent、proj这个情况的
|
||||
public static final String TEMP_SESSION_KEY = "__temp_switch_legacy_terminal__";
|
||||
public static final String TEMP_SESSION_KEY_FOR_PERSPECTIVE_BUG = "_temp_terminal_for_perspective_switch_bug_";
|
||||
|
||||
}
|
||||
|
||||
@ -248,7 +248,7 @@ public class ContextInfoBuilderAspect {
|
||||
|
||||
private String retrieveTerminalByRequestAndSession(HttpServletRequest request) {
|
||||
String terminalHeader = request.getHeader(AuthConstants.HEADER_TERMINAL);
|
||||
String terminalSession = StpUtil.getSession().getString(TerminalInfo.TEMP_SESSION_KEY);
|
||||
String terminalSession = StpUtil.getSession().getString(TerminalInfo.TEMP_SESSION_KEY_FOR_PERSPECTIVE_BUG);
|
||||
if(null != terminalSession && !"".equals(terminalSession)) {
|
||||
log.warn("stp.session里面放了临时的legacy terminal,看到这条信息,说明这个BUG还在。");
|
||||
//只有一个地方会放内容到这个临时Key里,就是Perspective切换的时候。
|
||||
|
||||
Loading…
Reference in New Issue
Block a user