|
|
|
@ -30,7 +30,7 @@ public class AiUtil {
|
|
|
|
|
String secret = split[1];
|
|
|
|
|
|
|
|
|
|
long nowMillis = System.currentTimeMillis();
|
|
|
|
|
long exp = nowMillis + (24 * 60 * 60 * 1000);
|
|
|
|
|
long exp = nowMillis + (24L * 60 * 60 * 1000 * 30); // 过期时间设置为30天
|
|
|
|
|
|
|
|
|
|
Map<String, Object> header = new HashMap<>();
|
|
|
|
|
header.put("alg", "HS256");
|
|
|
|
|