fix:修复时间戳转换错误

This commit is contained in:
Amnesia
2026-03-14 10:05:58 +08:00
parent e3af802784
commit 39243c14d7

View File

@@ -26,7 +26,7 @@ func (f *FeedHandler) ListLatest(c *gin.Context) {
} }
var latestTime time.Time var latestTime time.Time
if req.LatestTime > 0 { if req.LatestTime > 0 {
latestTime = time.Unix(req.LatestTime, 0) latestTime = time.UnixMilli(req.LatestTime)
} }
viewerAccountID, err := jwt.GetAccountID(c) viewerAccountID, err := jwt.GetAccountID(c)
if err != nil { if err != nil {