diff --git a/rpc/user_center_func.go b/rpc/user_center_func.go index ade213757a91a2d476ef847c61e588b8980b7d97..4f9f4264748a3e7571fef94afe1b1b2b2e744cc3 100644 --- a/rpc/user_center_func.go +++ b/rpc/user_center_func.go @@ -306,7 +306,7 @@ func SendSheepGameResult(matchId, winId, userId1, userId2 uint64, nick1, nick2, func SendCpInviteNotice(userId uint64, code, name, avatar, content, extId string) error { defer utils.CheckGoPanic() msg := &userProxy.CpInvite{ - User: &userProxy.User{Id: userId, Code: code, Nick: name, Avatar: avatar}, + User: &userProxy.User{Id: userId, Code: code, Nick: name, Avatar: avatar, ExternalId: extId}, Msg: content, } if buffer, err := proto.Marshal(msg); err == nil {