diff --git a/domain/service/event_s/cp_level.go b/domain/service/event_s/cp_level.go index 1b7ce58f8d7b7bf36aeb2ec9bce8842237d13192..7a3b9d7684afeb5e0f18583768364240fc8df679 100644 --- a/domain/service/event_s/cp_level.go +++ b/domain/service/event_s/cp_level.go @@ -18,6 +18,10 @@ func CpGiftEvent() { model.Log.Errorf("AddSendGiftEventAsync event type err") return nil } + // 只处理cp礼物 + if !sendGiftEvent.ResGift.Cp { + return nil + } for _, receiverUid := range sendGiftEvent.ReceiveUserIds { diamonds := sendGiftEvent.GiftN * sendGiftEvent.ResGift.DiamondNum // 有cp关系