refactor(login): 恢复发送登录数据包并优化返回逻辑
This commit is contained in:
@@ -23,7 +23,8 @@ func (h *Controller) Login(data *login.InInfo, c *entity.Conn) (result *login.Ou
|
||||
t.CompleteLogin() //通知客户端登录成功
|
||||
t.MapId = 1
|
||||
|
||||
//c.SendPack(data.Def())
|
||||
c.SendPack(data.Def())
|
||||
return
|
||||
result = login.NewOutInfo() //设置登录消息
|
||||
result.UserID = 10002 //注释掉就能进入
|
||||
result.RegisterTime = uint32(time.Now().Unix())
|
||||
|
||||
Reference in New Issue
Block a user