refactor(common): 优化 SocketHandler 和 service 代码

- 修改 TomeeHeader 结构体中的 Data 字段注释
- 更新 KickPlayer 函数中的包发送方式
This commit is contained in:
2025-07-14 11:10:16 +08:00
parent f4e09d6a76
commit 81a921d692
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ type TomeeHeader struct {
//Error uint32 `json:"error" struc:"[0]pad"`
Result uint32 `json:"result"`
Data []byte `json:"data"|struc:"skip"` //组包忽略此字段// struc:"[0]pad"
Data []byte `json:"data" struc:"skip"` //组包忽略此字段// struc:"[0]pad"
}
func NewTomeeHeader() *TomeeHeader {