1. AiUtil修改token过期时间

main
xueqingkun 12 months ago
parent 4761a013d4
commit b6c389be94

@ -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");

Loading…
Cancel
Save