浏览代码

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



正在加载...
取消
保存