This commit is contained in:
aozhiwei 2024-05-24 08:24:22 +08:00
parent d95756afcd
commit 0ff5019590

View File

@ -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,
} }