diff --git a/app/mix/dao/mongo.go b/app/mix/dao/mongo.go index 84dcb2a9..598c8493 100644 --- a/app/mix/dao/mongo.go +++ b/app/mix/dao/mongo.go @@ -3863,7 +3863,7 @@ func (m *Mongo) GetZoneByMid(ctx *gin.Context, mid int64) (*dbstruct.Zone, error zone := &dbstruct.Zone{} col := m.getColZone() query := qmgo.M{ - "id": mid, + "mid": mid, "del_flag": 0, } err := col.Find(ctx, query).One(&zone)