Commit 6b03cfe6 authored by 张宏至's avatar 张宏至

add:神策登录埋点

parent f346a403
...@@ -171,10 +171,10 @@ public class AppController implements IBaseController { ...@@ -171,10 +171,10 @@ public class AppController implements IBaseController {
try { try {
EventRecord userRecord = EventRecord.builder().setDistinctId(user.getUuid()).isLoginId(Boolean.TRUE) EventRecord userRecord = EventRecord.builder().setDistinctId(user.getUuid()).isLoginId(Boolean.TRUE)
.setEventName("PD_WUXIEC_UserLoginVccCash") .setEventName("PD_WUXIEC_UserLoginVccorCash")
.addProperty("son_channel_id", user.getRegisteredFrom()) .addProperty("son_channel_id", user.getRegisteredFrom())
.addProperty("parent_channel_id", -1L) .addProperty("parent_channel_id", -1L)
.addProperty("vcc_uuid", user.getUuid()) .addProperty("vcccash_uuid", user.getUuid())
.build(); .build();
iSensorsAnalytics.track(userRecord); iSensorsAnalytics.track(userRecord);
iSensorsAnalytics.flush(); iSensorsAnalytics.flush();
......
...@@ -357,10 +357,10 @@ public class UserServiceImpl implements IUserService, IBaseController { ...@@ -357,10 +357,10 @@ public class UserServiceImpl implements IUserService, IBaseController {
} }
try { try {
EventRecord userRecord = EventRecord.builder().setDistinctId(user.getUuid()).isLoginId(Boolean.TRUE) EventRecord userRecord = EventRecord.builder().setDistinctId(user.getUuid()).isLoginId(Boolean.TRUE)
.setEventName("PD_WUXIEC_UserLoginVccCash") .setEventName("PD_WUXIEC_UserLoginVccorCash")
.addProperty("son_channel_id", user.getRegisteredFrom()) .addProperty("son_channel_id", user.getRegisteredFrom())
.addProperty("parent_channel_id", -1L) .addProperty("parent_channel_id", -1L)
.addProperty("vcc_uuid", user.getUuid()) .addProperty("vcccash_uuid", user.getUuid())
.build(); .build();
iSensorsAnalytics.track(userRecord); iSensorsAnalytics.track(userRecord);
iSensorsAnalytics.flush(); iSensorsAnalytics.flush();
......
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