diff --git a/domain/service/event_s/cp_level.go b/domain/service/event_s/cp_level.go index 7a3b9d7684afeb5e0f18583768364240fc8df679..fe4c88323f9b6faa2bd9821042a1dc86c99d0260 100644 --- a/domain/service/event_s/cp_level.go +++ b/domain/service/event_s/cp_level.go @@ -12,7 +12,7 @@ import ( // 送礼增加cp等级 // 送礼增加cp排行榜 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) if !ok { model.Log.Errorf("AddSendGiftEventAsync event type err")