```
refactor(common): 统一使用 common.TomeeHeader 替代 player.TomeeHeader 将多处
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package systemtime
|
||||
|
||||
import (
|
||||
"blazing/logic/service/player"
|
||||
"blazing/logic/service/common"
|
||||
"time"
|
||||
)
|
||||
|
||||
// LoginSidInfo 登录携带的凭证结构体
|
||||
type InInfo struct { //这里直接使用组合来实现将传入的原始头部数据和结构体参数序列化
|
||||
Head player.TomeeHeader `cmd:"1002" struc:"[0]pad"` //玩家登录
|
||||
Head common.TomeeHeader `cmd:"1002" struc:"[0]pad"` //玩家登录
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user