|
|
@@ -88,10 +88,16 @@ func handleDouShenUserRegisterConsumeForOperationCenter(msgData []byte) error { |
|
|
|
if err != nil { |
|
|
|
return err |
|
|
|
} |
|
|
|
if user == nil { |
|
|
|
return nil |
|
|
|
} |
|
|
|
userProfile, err := db.UserProfileFindByID(db.DBs[msg.MasterId], user.Uid) |
|
|
|
if err != nil { |
|
|
|
return err |
|
|
|
} |
|
|
|
if userProfile == nil { |
|
|
|
return nil |
|
|
|
} |
|
|
|
gimUserId, err := db2.UserInsert(db.ImDb, &model.User{ |
|
|
|
PhoneNumber: strconv.FormatInt(msg.Phone, 10), |
|
|
|
Nickname: user.Nickname, |
|
|
|