瀏覽代碼

fix: fix the bug when get user id list

master
shenjiachi 4 天之前
父節點
當前提交
6bbc62fc84
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      app/hdl/friend_circle/hdl_friend_circle.go

+ 2
- 2
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)
}
}



Loading…
取消
儲存