Commit c89a1938 authored by hujiebin's avatar hujiebin

Update cp_level.go

parent 7f35b123
...@@ -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