From 6d4cd798b03aaf8d448f1904eebff1bc37e8d708 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 13 Sep 2023 13:53:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consume/zhios_acquisition_condition.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/consume/zhios_acquisition_condition.go b/consume/zhios_acquisition_condition.go index a023f5e..4cd6bfe 100644 --- a/consume/zhios_acquisition_condition.go +++ b/consume/zhios_acquisition_condition.go @@ -77,6 +77,9 @@ func handleZhiosAcquisition(msg []byte) error { } mid := canalMsg.Mid eg := db.DBs[mid] + if eg == nil { + return nil + } userInfo, _ := db.UserFindByID(eg, canalMsg.Uid) if userInfo == nil { return nil