diff --git a/app/hdl/friend_circle/hdl_friend_circle.go b/app/hdl/friend_circle/hdl_friend_circle.go index 7eeac87..0728bcb 100644 --- a/app/hdl/friend_circle/hdl_friend_circle.go +++ b/app/hdl/friend_circle/hdl_friend_circle.go @@ -85,7 +85,7 @@ func MySelfList(c *gin.Context) { if friendCircle.ImUid != 0 { imUserIds[i] = friendCircle.ImUid } else { - userIds[i] = friendCircle.Uid + userIds = append(userIds, friendCircle.ImUid) } } @@ -363,7 +363,7 @@ func RecommendList(c *gin.Context) { if friendCircle.ImUid != 0 { imUserIds[i] = friendCircle.ImUid } else { - userIds[i] = friendCircle.Uid + userIds = append(userIds, friendCircle.Uid) } }