1
This commit is contained in:
parent
d95756afcd
commit
0ff5019590
3
tglog.go
3
tglog.go
@ -78,7 +78,6 @@ func (this *tgLog) AddCustomLog(
|
|||||||
accountId string,
|
accountId string,
|
||||||
distinctId string,
|
distinctId string,
|
||||||
ip string,
|
ip string,
|
||||||
eventName string,
|
|
||||||
prop map[string]interface{}) {
|
prop map[string]interface{}) {
|
||||||
logObj := struct {
|
logObj := struct {
|
||||||
AccountId string `json:"#account_id"`
|
AccountId string `json:"#account_id"`
|
||||||
@ -93,7 +92,7 @@ func (this *tgLog) AddCustomLog(
|
|||||||
DistinctId: distinctId,
|
DistinctId: distinctId,
|
||||||
Type: "track",
|
Type: "track",
|
||||||
Time: q5.FormatUnixDateTime(_app.GetRealSeconds(), _app.GetLocation()),
|
Time: q5.FormatUnixDateTime(_app.GetRealSeconds(), _app.GetLocation()),
|
||||||
EventName: eventName,
|
EventName: "custom_event",
|
||||||
Ip: ip,
|
Ip: ip,
|
||||||
Properties: prop,
|
Properties: prop,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user