Compare commits

..

2 Commits

Author SHA1 Message Date
1920589052 feat: 添加 gitea 构建脚本
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 7m12s
2025-06-19 22:45:39 +08:00
1d825c97f3 feat: 调整过期时间 2025-06-19 22:45:10 +08:00

View File

@@ -410,7 +410,7 @@ func (u *userServiceImpl) ProfileKey(accessToken string) (resp *ProfileKeyRespon
resp = new(ProfileKeyResponse)
now := time.Now().UTC()
resp.RefreshedAfter = now
resp.ExpiresAt = now.Add(10 * time.Minute)
resp.ExpiresAt = now.Add(90 * 24 * time.Hour)
keyPair, err := u.getProfileKey(profileId)
if err != nil {
return nil, err