Browse Source

fix: fix the bug when get user id list

master
shenjiachi 1 day ago
parent
commit
6bbc62fc84
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/hdl/friend_circle/hdl_friend_circle.go

+ 2
- 2
app/hdl/friend_circle/hdl_friend_circle.go View File

@@ -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)
}
}



Loading…
Cancel
Save