From 1c13f8e530f56338f36de6ef371226fb40f2b153 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Thu, 24 Aug 2023 18:31:39 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=8E=BB=E6=8E=89=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=B8=8A=E9=BA=A6=E6=97=B6=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cron/mic_cron/on_mic.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/cron/mic_cron/on_mic.go b/cron/mic_cron/on_mic.go index 6b10915..fb61376 100644 --- a/cron/mic_cron/on_mic.go +++ b/cron/mic_cron/on_mic.go @@ -6,7 +6,6 @@ import ( "hilo-group/domain/cache/mic_c" "hilo-group/domain/event/mic_ev" "hilo-group/domain/model/group_m" - "hilo-group/domain/model/mic_m" "hilo-group/domain/service/group_mic_s" ) @@ -60,11 +59,11 @@ func OnMicQueue() { } // 用户上麦 - if err := mic_m.IncrUserOnMic(model, onMic.UserId, onMic.Timestamp); err != nil { - model.Log.Errorf("cron micIn IncrUserOnMic err:%v", err) - } else { - model.Log.Infof("cron micIn IncrUserOnMic success,userId:%v", onMic.UserId) - } + //if err := mic_m.IncrUserOnMic(model, onMic.UserId, onMic.Timestamp); err != nil { + // model.Log.Errorf("cron micIn IncrUserOnMic err:%v", err) + //} else { + // model.Log.Infof("cron micIn IncrUserOnMic success,userId:%v", onMic.UserId) + //} } } }() -- 2.22.0