Commit e4dcd5a7 authored by hujiebin's avatar hujiebin

Update user_center_func.go

parent f07905e6
......@@ -332,12 +332,12 @@ func SendCpInviteNotice(userId uint64, code, name, avatar, content, extId string
}
// cp升级
func SendCpUpgrade(nick1, nick2, avatar1, avatar2 string, cpLevel uint32, content string) error {
func SendCpUpgrade(nick1, nick2, avatar1, avatar2 string, cpLevel uint32, groupId string) error {
msg := &userProxy.CpUpgrade{
User1: &userProxy.User{Nick: nick1, Avatar: avatar1},
User2: &userProxy.User{Nick: nick2, Avatar: avatar2},
CpLevel: cpLevel,
Content: content,
GroupId: groupId,
}
if buffer, err := proto.Marshal(msg); err == nil {
rspUids, err := broadcast(MsgTypeCpUpgrade, buffer)
......
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