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