This commit is contained in:
Leufolium 2024-05-21 23:22:05 +08:00
parent 0a287ebbfc
commit ab80a78cc7
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
}
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) {
list := make([]*dbstruct.ZoneThirdPartner, 0)
col := m.getColZoneThirdPartner()