!262 修改checkLoginArgs方法内的注释

Merge pull request !262 from tan90/dev
This commit is contained in:
孔明
2023-07-12 15:40:50 +00:00
committed by Gitee

View File

@@ -569,7 +569,7 @@ public class StpLogic {
throw new SaTokenException("loginId 不能为以下值:" + NotLoginException.ABNORMAL_LIST);
}
// 3、账号 id 不能是简单类型
// 3、账号 id 不能是复杂类型
if( ! SaFoxUtil.isBasicType(id.getClass())) {
SaManager.log.warn("loginId 应该为简单类型例如String | int | long不推荐使用复杂类型" + id.getClass());
}