by Robin at 20240525
This commit is contained in:
parent
6c3fea0d1c
commit
c8f9f00a13
|
@ -4667,7 +4667,7 @@ func (m *Mongo) GetZoneThirdPartnerList(ctx *gin.Context, req *zone_third_partne
|
||||||
"zid": util.DerefInt64(req.Zid),
|
"zid": util.DerefInt64(req.Zid),
|
||||||
"del_flag": 0,
|
"del_flag": 0,
|
||||||
}
|
}
|
||||||
err := col.Find(ctx, query).One(&zoneThirdPartner)
|
err := col.Find(ctx, query).One(zoneThirdPartner)
|
||||||
if err == qmgo.ErrNoSuchDocuments {
|
if err == qmgo.ErrNoSuchDocuments {
|
||||||
err = nil
|
err = nil
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Reference in New Issue