Merge pull request 'by Robin at 20240326; alter streamer recomm' (#207) from feat-IRONFANS-ALTER-Robin into main

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/207
This commit is contained in:
chenhao 2024-03-26 18:12:02 +08:00
commit 567dba88e8
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) {
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,
}
//排序规则