日志优化
This commit is contained in:
parent
f435b444d7
commit
1782094f92
@ -611,6 +611,9 @@ func (p *PlayerBaseData) GetLastLoginTime() int {
|
||||
}
|
||||
|
||||
func (p *PlayerBaseData) GetName() string {
|
||||
if p == nil {
|
||||
return ""
|
||||
}
|
||||
return p.Data.UserName
|
||||
}
|
||||
|
||||
|
||||
@ -1062,8 +1062,8 @@ func (p *Player) TeLog(Type string, Param map[string]interface{}) {
|
||||
}
|
||||
//Param["#zone_offset"] = -5
|
||||
// 游戏内TE日志
|
||||
go telog.Te.Track(p.GetPlayerBaseMod().GetName(), p.GetPlayerBaseMod().GetName(), Type, Param)
|
||||
BaseMod := p.PlayMod.getBaseMod()
|
||||
go telog.Te.Track(BaseMod.Account, BaseMod.Account, Type, Param)
|
||||
//途游GA
|
||||
go ga.GAlogEvent(Type, BaseMod.Account, "", Param)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user