作者 yangfu

点赞列表修改

@@ -134,7 +134,7 @@ func Comments(header *protocol.RequestHeader, request *protocol.CommentsRequest) @@ -134,7 +134,7 @@ func Comments(header *protocol.RequestHeader, request *protocol.CommentsRequest)
134 total int 134 total int
135 exists bool 135 exists bool
136 ) 136 )
137 - if comments, total, err = models.GetComments(header.UserId, request.SourceType, request.SourceId, request.LastId, request.PageSize); err != nil { 137 + if comments, total, err = models.GetComments(0, request.SourceType, request.SourceId, request.LastId, request.PageSize); err != nil {
138 log.Error(err) 138 log.Error(err)
139 return 139 return
140 } 140 }