This commit is contained in:
parent
0a287ebbfc
commit
ab80a78cc7
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue