diff --git a/domain/service/event_s/event_init.go b/domain/service/event_s/event_init.go index 25bab36935956a553582785b5666e11ff1e0afb9..13a037d1548d9c5d22e773359b0624ec17276080 100644 --- a/domain/service/event_s/event_init.go +++ b/domain/service/event_s/event_init.go @@ -496,6 +496,9 @@ func SendGift() { model.Log.Errorf("AddSendGiftEventAsync event type err") return nil } + if sendGiftEvent.ResGift.GiftType != mysql.DiamondYellow { + return nil + } var userIds = []mysql.ID{sendGiftEvent.SendUserId} userIds = append(userIds, sendGiftEvent.ReceiveUserIds...) groupPowers, err := groupPower_m.BatchGetGroupPowerUser(model, userIds)