by Robin at 20240326; alter streamer recomm

This commit is contained in:
Leufolium 2024-03-26 18:11:38 +08:00
parent dc3432ee72
commit 8dcd0562e4
1 changed files with 5 additions and 0 deletions

View File

@ -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) { func (m *Mongo) GetStreamerList(ctx *gin.Context, req *streamerproto.OpListReq) ([]*dbstruct.Streamer, error) {
list := make([]*dbstruct.Streamer, 0) list := make([]*dbstruct.Streamer, 0)
col := m.getColStreamer() 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{ query := qmgo.M{
"mid": qmgo.M{
"$in": mids,
},
"del_flag": 0, "del_flag": 0,
} }
//排序规则 //排序规则