Commit 8d407759 by fz

1.修改令牌默认无过期时间

1 parent bc7754b8
......@@ -31,7 +31,6 @@ public class JwtUtil {
public String generateToken(Map<String, Object> claims) {
return Jwts.builder()
.setClaims(claims)
.setExpiration(generateExpirationDate(Long.valueOf(EXPIRATION)))
.signWith(SignatureAlgorithm.HS256,KEY)
.compact();
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!