diff --git a/service/main/user/user.go b/service/main/user/user.go index 624229f..a714770 100644 --- a/service/main/user/user.go +++ b/service/main/user/user.go @@ -86,6 +86,7 @@ func (s *User) OnRecv(msgId int32, data interface{}) { } func (s *User) OnRecvPush(data string) { + s.Log("OnRecvPush", data) msg := &pb.NotifyAudienceAction{} err := json.Unmarshal([]byte(data), msg) if err != nil { @@ -125,7 +126,7 @@ func (s *User) OnLogin(msg *pb.Login) { if !msg.IsDebug { roomId, uid, nickName, result = s.mgr.Login(msg.AppId, msg.Token) } else { - roomId, uid, nickName, result = "debug", "debug", "debug", pb.ERROR_CODE_SUCCESS + roomId, uid, nickName, result = "1111111111111111111", "debug", "debug", pb.ERROR_CODE_SUCCESS } s.appId = msg.AppId s.roomId = roomId