|
|
@ -139,7 +139,6 @@ public class SessionService extends BaseService{ |
|
|
|
* @param loginUser login user |
|
|
|
* @param loginUser login user |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void signOut(String ip, User loginUser) { |
|
|
|
public void signOut(String ip, User loginUser) { |
|
|
|
try { |
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* query session by user id and ip |
|
|
|
* query session by user id and ip |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -147,8 +146,5 @@ public class SessionService extends BaseService{ |
|
|
|
|
|
|
|
|
|
|
|
//delete session
|
|
|
|
//delete session
|
|
|
|
sessionMapper.deleteById(session.getId()); |
|
|
|
sessionMapper.deleteById(session.getId()); |
|
|
|
}catch (Exception e){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|