Merge pull request 'by' (#469) from conf into test

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/469
This commit is contained in:
chenhao 2024-05-21 23:23:08 +08:00
commit 5d4b746038
1 changed files with 0 additions and 8 deletions

View File

@ -4685,14 +4685,6 @@ func (m *Mongo) GetZoneThirdPartnerList(ctx *gin.Context, req *zone_third_partne
return zoneThirdPartner, err return zoneThirdPartner, err
} }
func (m *Mongo) DeleteZoneThirdPartnerByZid(ctx *gin.Context, zid int64) error {
col := m.getColZoneThirdPartner()
err := col.Remove(ctx, qmgo.M{
"zid": zid,
})
return err
}
func (m *Mongo) GetZoneThirdPartnerListByTpMid(ctx *gin.Context, tp_mid int64) ([]*dbstruct.ZoneThirdPartner, error) { func (m *Mongo) GetZoneThirdPartnerListByTpMid(ctx *gin.Context, tp_mid int64) ([]*dbstruct.ZoneThirdPartner, error) {
list := make([]*dbstruct.ZoneThirdPartner, 0) list := make([]*dbstruct.ZoneThirdPartner, 0)
col := m.getColZoneThirdPartner() col := m.getColZoneThirdPartner()