作者 yangfu

点赞列表修改

@@ -176,7 +176,7 @@ func Thumbsups(header *protocol.RequestHeader, request *protocol.ThumbsupsReques @@ -176,7 +176,7 @@ func Thumbsups(header *protocol.RequestHeader, request *protocol.ThumbsupsReques
176 baseUserInfo *protocol.BaseUserInfo 176 baseUserInfo *protocol.BaseUserInfo
177 ) 177 )
178 rsp = &protocol.ThumbsupsResponse{} 178 rsp = &protocol.ThumbsupsResponse{}
179 - if favorites, total, err = models.GetChanceFavorites(header.UserId, header.CompanyId, protocol.MarkFlagZan, request.SourceType, request.SourceId, request.LastId, request.PageSize); err != nil { 179 + if favorites, total, err = models.GetChanceFavorites(0, header.CompanyId, protocol.MarkFlagZan, request.SourceType, request.SourceId, request.LastId, request.PageSize); err != nil {
180 if err == orm.ErrNoRows { 180 if err == orm.ErrNoRows {
181 err = nil 181 err = nil
182 return 182 return