feat: 内容点击来源数据记录 https://jira.shanqu.cc/browse/GHZS-1914

This commit is contained in:
chenjuntao
2023-04-06 16:57:35 +08:00
parent 4adcadbc21
commit fe4ad76e2a
15 changed files with 192 additions and 44 deletions

View File

@ -415,13 +415,19 @@ public class LogUtils {
LoghubUtils.log(object, "video_streaming", false);
}
public static void uploadWelcomeDialog(String action, String dialogId, String linkTitle) {
public static void uploadWelcomeDialog(String action,
String dialogId,
String linkId,
String linkType,
String linkTitle) {
ExposureEntity payload = new ExposureEntity();
payload.setWelcomeDialogId(dialogId);
payload.setWelcomeDialogLinkTitle(linkTitle);
SimpleLogContainerEntity entity = new SimpleLogContainerEntity();
entity.setEvent("dialog");
entity.setLinkId(linkId);
entity.setLinkType(linkType);
entity.setAction(action);
entity.setMeta(MetaUtil.INSTANCE.getMeta());
entity.setPayload(payload);