Commit 20afbb54 authored by hujiebin's avatar hujiebin

Merge branch 'feature/cp-new' into feature/3.9.0

parents 6437f4ca c89a1938
...@@ -12,7 +12,7 @@ import ( ...@@ -12,7 +12,7 @@ import (
// 送礼增加cp等级 // 送礼增加cp等级
// 送礼增加cp排行榜 // 送礼增加cp排行榜
func CpGiftEvent() { func CpGiftEvent() {
gift_ev.AddSendGiftEventAsync(func(model *domain.Model, event interface{}) error { gift_ev.AddSendGiftEventSync(func(model *domain.Model, event interface{}) error {
sendGiftEvent, ok := event.(*gift_ev.SendGiftEvent) sendGiftEvent, ok := event.(*gift_ev.SendGiftEvent)
if !ok { if !ok {
model.Log.Errorf("AddSendGiftEventAsync event type err") model.Log.Errorf("AddSendGiftEventAsync event type err")
......
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