publish 0.2.6

This commit is contained in:
曾文豪
2023-02-08 13:30:22 +08:00
parent e352927396
commit 2e9de7ee64
13 changed files with 23 additions and 23 deletions

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>com.tiesheng</groupId>
<artifactId>springboot-parent</artifactId>
<version>0.2.5</version>
<version>0.2.6</version>
</parent>
<artifactId>springboot-login</artifactId>

View File

@@ -90,7 +90,7 @@ public class TsTokenConfig {
try {
JWT decode = JWT.of(token);
JWTValidator.of(decode).validateDate(DateUtil.offsetDay(DateUtil.date(), 2));
JWTValidator.of(decode).validateDate();
String id = decode.getPayload("id").toString();
String environmentType = decode.getPayload("environmentType").toString();
String service = decode.getPayload("service").toString();