1
This commit is contained in:
parent
b6448cd923
commit
291f7a680e
12
tglog.go
12
tglog.go
@ -54,14 +54,14 @@ func (this *TGLog_) AddTrackLogEx(
|
||||
remoteAddr string,
|
||||
eventName string,
|
||||
prop *q5.XObject) {
|
||||
//SysLog().Info("TGLog.AddTrackLogEx")
|
||||
xobj := q5.NewMxoObject()
|
||||
xobj.SetXValue("#account_id", new(q5.XValue).SetString(accountId))
|
||||
xobj.SetXValue("#type", new(q5.XValue).SetString("track"))
|
||||
xobj.SetXValue("#time", new(q5.XValue).SetString(time.Now().Format("2006-01-02 15:04:05")))
|
||||
xobj.SetXValue("#event_name", new(q5.XValue).SetString(eventName))
|
||||
xobj.SetXValue("#account_id", q5.NewXString(accountId))
|
||||
xobj.SetXValue("#type", q5.NewXString("track"))
|
||||
xobj.SetXValue("#time", q5.NewXString(time.Now().Format("2006-01-02 15:04:05")))
|
||||
xobj.SetXValue("#event_name", q5.NewXString(eventName))
|
||||
xobj.SetXValue("#ip", q5.NewXString(remoteAddr))
|
||||
|
||||
xobj.SetXObject("#properties", prop)
|
||||
xobj.SetXObject("properties", prop)
|
||||
|
||||
p := new(TGLogMsgNode)
|
||||
p.gameId = gameId
|
||||
|
Loading…
x
Reference in New Issue
Block a user