!26 update sa-token-core/src/main/java/cn/dev33/satoken/session/SaSessionCustomUtil.java.

Merge pull request !26 from 知知/N/A
This commit is contained in:
省长 2021-04-06 00:49:35 +08:00 committed by Gitee
commit f5f8a3edf6

View File

@ -31,7 +31,7 @@ public class SaSessionCustomUtil {
* @param sessionId session的id
* @return 是否存在
*/
public boolean isExists(String sessionId) {
public static boolean isExists(String sessionId) {
return SaTokenManager.getSaTokenDao().getSession(splicingSessionKey(sessionId)) != null;
}