【5700】 thingkingdata设置用户属性接口错误

main
zhangaotian 2026-03-27 15:37:07 +08:00
parent f0f2bfbaf5
commit 7176d93d3c
1 changed files with 6 additions and 2 deletions

View File

@ -16,6 +16,8 @@ public class ThikingDataHelper : SdkHelper, IBIService
private string _distinctId;
private List<EventInfo> _tempEvent = new List<EventInfo>();
private Dictionary<string, object> _superProperties = new Dictionary<string, object>();
private class EventInfo
{
@ -118,8 +120,10 @@ public class ThikingDataHelper : SdkHelper, IBIService
{
if (!_isInit)
return;
TDAnalytics.SetSuperProperties(name, value); //设置公共事件属性
_superProperties.Clear();
_superProperties[name] = value;
// 设置用户属性
TDAnalytics.UserSet(_superProperties, _appId);
}
public void ReportEvent(string eventName, Dictionary<string, object> param = null)