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