Merge branch 'feat-IRONFANS-70' into test
This commit is contained in:
commit
87fe741ebc
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue