Commit a0452059 authored by chenweijian's avatar chenweijian

group support

parent e36a06f2
......@@ -475,9 +475,9 @@ func FlushHiloInfo(extId string, isVip bool, isPrettyCode bool, medals []uint32,
func SendGift() {
// 送礼事件-群组扶持数据累加
gift_ev.AddSendGiftEventAsync(func(model *domain.Model, event interface{}) error {
if time.Now().Unix() <= 1692964800 { // cwj----
return nil
}
//if time.Now().Unix() <= 1692964800 { // cwj----
// return nil
//}
sendGiftEvent, ok := event.(*gift_ev.SendGiftEvent)
if !ok {
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