Pārlūkot izejas kodu

系统:定时任务

4.0
郑根木 pirms 2 gadiem
vecāks
revīzija
c13412a3d4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      smtweb-framework/core/src/main/java/cc/smtweb/framework/core/session/UserSession.java

+ 1
- 1
smtweb-framework/core/src/main/java/cc/smtweb/framework/core/session/UserSession.java Parādīt failu

@@ -51,7 +51,7 @@ public class UserSession implements Serializable {
this.terminalType = terminalType;

HttpSession session = request.getSession(true);
if (user_id > 0) session.setAttribute(SwConsts._LOGIN_USER_ID_IN_SESSION, getUserKey());
if (user_id > 0L) session.setAttribute(SwConsts._LOGIN_USER_ID_IN_SESSION, getUserKey());
this.sessionId = session.getId();
this.loginTimeMillis = System.currentTimeMillis();
this.lastTimeMillis = this.loginTimeMillis;


Notiek ielāde…
Atcelt
Saglabāt