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:
commit
5d4b746038
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue