Merge pull request 'by Robin at 20240525' (#507) from feat-IRONFANS-136-Robin into main

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/507
This commit is contained in:
chenhao 2024-05-25 18:21:23 +08:00
commit abb4d1129a
1 changed files with 1 additions and 1 deletions

View File

@ -4667,7 +4667,7 @@ func (m *Mongo) GetZoneThirdPartnerList(ctx *gin.Context, req *zone_third_partne
"zid": util.DerefInt64(req.Zid),
"del_flag": 0,
}
err := col.Find(ctx, query).One(&zoneThirdPartner)
err := col.Find(ctx, query).One(zoneThirdPartner)
if err == qmgo.ErrNoSuchDocuments {
err = nil
return nil, err