fix:修复时间戳转换错误
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user