Commit 98b37fa9 authored by chenweijian's avatar chenweijian

家族榜单礼物类型

parent 4b7bc851
...@@ -496,6 +496,9 @@ func SendGift() { ...@@ -496,6 +496,9 @@ func SendGift() {
model.Log.Errorf("AddSendGiftEventAsync event type err") model.Log.Errorf("AddSendGiftEventAsync event type err")
return nil return nil
} }
if sendGiftEvent.ResGift.GiftType != mysql.DiamondYellow {
return nil
}
var userIds = []mysql.ID{sendGiftEvent.SendUserId} var userIds = []mysql.ID{sendGiftEvent.SendUserId}
userIds = append(userIds, sendGiftEvent.ReceiveUserIds...) userIds = append(userIds, sendGiftEvent.ReceiveUserIds...)
groupPowers, err := groupPower_m.BatchGetGroupPowerUser(model, userIds) groupPowers, err := groupPower_m.BatchGetGroupPowerUser(model, userIds)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment