refactor(socket): 移除无用的打印语句和注释

- 删除了 ServerEvent.go、controller.go 和 login.go 中的多处打印语句和注释
- 优化了代码的可读性和性能
- 准备后续进一步优化 OnClose 方法
This commit is contained in:
2025-07-06 23:14:57 +08:00
parent 666557416d
commit c1efd1a8df
3 changed files with 2 additions and 11 deletions

View File

@@ -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))
}