fix SessionService signOut method exception bug

This commit is contained in:
loushang 2020-01-02 17:20:57 +08:00
parent 4660152f38
commit 5949c8d6fb

View File

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