refactor(socket): 移除无用的打印语句和注释
- 删除了 ServerEvent.go、controller.go 和 login.go 中的多处打印语句和注释 - 优化了代码的可读性和性能 - 准备后续进一步优化 OnClose 方法
This commit is contained in:
@@ -193,8 +193,7 @@ func Recv(c gnet.Conn, data handler.TomeeHeader) {
|
||||
|
||||
params = append(params, ptrValue1, reflect.ValueOf(service.GetPlayer(c, data.UserID)))
|
||||
} else {
|
||||
// fmt.Println("远程地址", c.RemoteAddr(), c)
|
||||
//c.SetContext("ahahha")
|
||||
|
||||
params = append(params, ptrValue1, reflect.ValueOf(c))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user