Commit b830f2a2 by “Kongxiangkun”

增加小程序首页打开埋点

parent 5d391af2
...@@ -67,7 +67,7 @@ public class EventTrackServiceImpl extends ServiceImpl<EventTrackMapper, EventTr ...@@ -67,7 +67,7 @@ public class EventTrackServiceImpl extends ServiceImpl<EventTrackMapper, EventTr
logger.info("新增埋点{},{}",type,businessId); logger.info("新增埋点{},{}",type,businessId);
RequestContext context = ContextHolder.get(); RequestContext context = ContextHolder.get();
Long userId = context.getAccountId(); Long userId = context.getAccountId();
if(Objects.equals(type,"event_login")){ if(Objects.equals(type,"event_login") || Objects.equals(type,"open_index")){
userId = businessId; userId = businessId;
ContextHolder.get().setAccountId(userId); ContextHolder.get().setAccountId(userId);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment