Commit b1a5481e authored by hujiebin's avatar hujiebin

用户上麦 还是得静态数据

parent 9ce21c0d
...@@ -6,6 +6,7 @@ import ( ...@@ -6,6 +6,7 @@ import (
"hilo-group/domain/cache/mic_c" "hilo-group/domain/cache/mic_c"
"hilo-group/domain/event/mic_ev" "hilo-group/domain/event/mic_ev"
"hilo-group/domain/model/group_m" "hilo-group/domain/model/group_m"
"hilo-group/domain/model/mic_m"
"hilo-group/domain/service/group_mic_s" "hilo-group/domain/service/group_mic_s"
"time" "time"
) )
...@@ -62,11 +63,11 @@ func OnMicQueue() { ...@@ -62,11 +63,11 @@ func OnMicQueue() {
} }
// 用户上麦 // 用户上麦
//if err := mic_m.IncrUserOnMic(model, onMic.UserId, onMic.Timestamp); err != nil { if err := mic_m.IncrUserOnMic(model, onMic.UserId, onMic.Timestamp); err != nil {
// model.Log.Errorf("cron micIn IncrUserOnMic err:%v", err) model.Log.Errorf("cron micIn IncrUserOnMic err:%v", err)
//} else { } else {
// model.Log.Infof("cron micIn IncrUserOnMic success,userId:%v", onMic.UserId) model.Log.Infof("cron micIn IncrUserOnMic success,userId:%v,cost:%vs", onMic.UserId, time.Now().Sub(start).Seconds())
//} }
} }
} }
}() }()
......
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