From 8dcd0562e4e32f055d6e55ff86bac7430fe42977 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Tue, 26 Mar 2024 18:11:38 +0800 Subject: [PATCH] by Robin at 20240326; alter streamer recomm --- app/mix/dao/mongo.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/mix/dao/mongo.go b/app/mix/dao/mongo.go index 7b838346..44990969 100644 --- a/app/mix/dao/mongo.go +++ b/app/mix/dao/mongo.go @@ -2132,7 +2132,12 @@ func (m *Mongo) GetStreamerListByMids(ctx *gin.Context, req *streamerproto.OpLis func (m *Mongo) GetStreamerList(ctx *gin.Context, req *streamerproto.OpListReq) ([]*dbstruct.Streamer, error) { list := make([]*dbstruct.Streamer, 0) col := m.getColStreamer() + + mids := []int64{151, 245, 83, 3169, 101, 38, 97, 5, 66, 84, 124, 4, 116, 68, 19, 79, 91, 88, 117, 104, 24457, 65, 64, 147, 17, 69, 122} query := qmgo.M{ + "mid": qmgo.M{ + "$in": mids, + }, "del_flag": 0, } //ζŽ’εΊθ§„εˆ™