main #509

Merged
chenhao merged 4 commits from main into test 2024-05-25 19:03:37 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit abb4d1129a - Show all commits

View File

@ -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