fixed: jwt过期时间

This commit is contained in:
none 2023-02-19 17:17:46 +08:00
parent 4ada5e9ff8
commit 3df3b9c8a4

View File

@ -40,7 +40,7 @@ public class JwtServiceImpl implements JWTService {
payload.setJti(HelperUtil.uuid());
payload.setNbf(curTime);
payload.setIat(curTime);
payload.setExp(curTime + ConfigExpire);
payload.setExp(curTime + ConfigExpire * 1000);
payload.setSub(userId);
JwtBuilder builder = Jwts.builder();