update 联联平台接口校验令牌

This commit is contained in:
Lemon
2023-05-29 14:40:46 +08:00
parent d4682926fd
commit ff52e01f98
3 changed files with 55 additions and 22 deletions

View File

@@ -141,4 +141,10 @@ public class JWTUtils {
}
return memberToken;
}
public static void main(String[] args) {
long ttlMillis = 60 * 60 * 24 * 1000;
String token = createToken("I4XLPQPV", "3DSBTWHVIC6KVCKI", ttlMillis);
System.out.println(checkThirdPartyToken(token));
}
}