refactor(common): 优化 SocketHandler 和 service 代码
- 修改 TomeeHeader 结构体中的 Data 字段注释 - 更新 KickPlayer 函数中的包发送方式
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user