光环助手V4.4.0-游戏搜索数据->前端埋点 https://gitlab.ghzs.com/pm/halo-app-issues/-/issues/1035

This commit is contained in:
lyr
2020-10-26 18:38:56 +08:00
parent 4259078420
commit 9822646acc
8 changed files with 80 additions and 9 deletions

View File

@ -57,6 +57,9 @@ public class DataLogUtils {
map.put("channel", channel);
Map<String, String> params = new HashMap<>();
if ("search-hot-tag".equals(topic) || "game".equals(topic) || "slide".equals(topic)) {
params.put("meta", LogUtils.getMetaObject().toString());
}
params.put("topic", topic);
params.put("source", "GH-ASSIST-Client");
params.put("time", String.valueOf(Utils.getTime(context)));