From 0ff501959028f0495977b9a5a59031d0c2ec4320 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Fri, 24 May 2024 08:24:22 +0800 Subject: [PATCH] 1 --- tglog.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tglog.go b/tglog.go index 8257c7a..f95d160 100644 --- a/tglog.go +++ b/tglog.go @@ -78,7 +78,6 @@ func (this *tgLog) AddCustomLog( accountId string, distinctId string, ip string, - eventName string, prop map[string]interface{}) { logObj := struct { AccountId string `json:"#account_id"` @@ -93,7 +92,7 @@ func (this *tgLog) AddCustomLog( DistinctId: distinctId, Type: "track", Time: q5.FormatUnixDateTime(_app.GetRealSeconds(), _app.GetLocation()), - EventName: eventName, + EventName: "custom_event", Ip: ip, Properties: prop, }