Commit ae017461 authored by chenweijian's avatar chenweijian

cp

parent 1ea8931d
...@@ -306,7 +306,7 @@ func SendSheepGameResult(matchId, winId, userId1, userId2 uint64, nick1, nick2, ...@@ -306,7 +306,7 @@ func SendSheepGameResult(matchId, winId, userId1, userId2 uint64, nick1, nick2,
func SendCpInviteNotice(userId uint64, code, name, avatar, content, extId string) error { func SendCpInviteNotice(userId uint64, code, name, avatar, content, extId string) error {
defer utils.CheckGoPanic() defer utils.CheckGoPanic()
msg := &userProxy.CpInvite{ 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, Msg: content,
} }
if buffer, err := proto.Marshal(msg); err == nil { if buffer, err := proto.Marshal(msg); err == nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment