Merge branch 'feat-IRONFANS-70' into test

This commit is contained in:
lwl0608 2024-04-24 21:20:44 +08:00
commit 87fe741ebc
1 changed files with 1 additions and 1 deletions

View File

@ -3863,7 +3863,7 @@ func (m *Mongo) GetZoneByMid(ctx *gin.Context, mid int64) (*dbstruct.Zone, error
zone := &dbstruct.Zone{} zone := &dbstruct.Zone{}
col := m.getColZone() col := m.getColZone()
query := qmgo.M{ query := qmgo.M{
"id": mid, "mid": mid,
"del_flag": 0, "del_flag": 0,
} }
err := col.Find(ctx, query).One(&zone) err := col.Find(ctx, query).One(&zone)