导出和记录属性的时候,替换特殊字符串

This commit is contained in:
2025-10-11 10:07:52 +08:00
parent 3d963e19e2
commit 4c2435b14c
2 changed files with 14 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ func (sdk *SDK) GetLogItem(uid, event string, property map[string]any, timezone
} else {
et = gtime.Now()
}
safeProperty(property)
pstr, err := json.Marshal(property)
if err != nil {
g.Log().Errorf(ctx, "GetLogItem Fail ! json marshal property err: %v", err)