From 48de46fd7246ffc0825b95e5e18a4256c35edf0a Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 3 Aug 2023 10:48:30 +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/dou_shen_user_register_for_official_consume.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/consume/dou_shen_user_register_for_official_consume.go b/consume/dou_shen_user_register_for_official_consume.go index e224e89..9fb73ac 100644 --- a/consume/dou_shen_user_register_for_official_consume.go +++ b/consume/dou_shen_user_register_for_official_consume.go @@ -87,9 +87,6 @@ func handleDouShenUserRegisterConsumeForOfficial(msgData []byte) error { if err != nil { return err } - if user == nil { - return errors.New("用户暂未注册im系统") - } userProfile, err := db.UserProfileFindByID(db.DBs[msg.MasterId], user.Uid) if err != nil { return err