v1.30.0.RC

This commit is contained in:
click33
2022-05-01 12:18:36 +08:00
parent a7ef71737e
commit 21147043f2
38 changed files with 135 additions and 127 deletions

View File

@@ -122,6 +122,11 @@ public class SaJwtUtil {
*/
public static JWT parseToken(String token, String loginType, String keyt, boolean isCheckTimeout) {
// 秘钥不可以为空
if(keyt == null) {
throw new SaJwtException("请配置 jwt 秘钥");
}
// 如果token为null
if(token == null) {
throw new SaJwtException("jwt 字符串不可为空");