数据收集createdOn时间获取修改、添加game_id字段(在有game字段的地方)
This commit is contained in:
@ -119,8 +119,7 @@ public class ConcernActivity extends BaseActivity implements OnClickListener {
|
||||
public void onResponse(JSONArray response) {
|
||||
processingData(response);
|
||||
}
|
||||
},
|
||||
new Response.ErrorListener() {
|
||||
}, new Response.ErrorListener() {
|
||||
@Override
|
||||
public void onErrorResponse(VolleyError error) {
|
||||
|
||||
@ -173,8 +172,7 @@ public class ConcernActivity extends BaseActivity implements OnClickListener {
|
||||
processingConcernGame(result);
|
||||
}
|
||||
}
|
||||
},
|
||||
new Response.ErrorListener() {
|
||||
}, new Response.ErrorListener() {
|
||||
@Override
|
||||
public void onErrorResponse(VolleyError error) {
|
||||
addConcernCount();
|
||||
@ -238,8 +236,8 @@ public class ConcernActivity extends BaseActivity implements OnClickListener {
|
||||
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
map.put("game", concernInfo.getGameName());
|
||||
map.put("game_id", concernInfo.getId());
|
||||
map.put("type", "取消关注");
|
||||
map.put("createdOn", System.currentTimeMillis() / 1000);
|
||||
DataCollectionManager.onEvent(ConcernActivity.this, "concern", map);
|
||||
|
||||
manager.deleteConcern(concernInfo.getId());
|
||||
@ -265,8 +263,8 @@ public class ConcernActivity extends BaseActivity implements OnClickListener {
|
||||
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
map.put("location", "关注列表");
|
||||
map.put("createOn", System.currentTimeMillis() / 1000);
|
||||
map.put("game", gameEntity.getName());
|
||||
map.put("game_id", gameEntity.getId());
|
||||
map.put("page", "我的关注");
|
||||
DataCollectionManager.onEvent(ConcernActivity.this, "click-item", map);
|
||||
|
||||
@ -342,8 +340,8 @@ public class ConcernActivity extends BaseActivity implements OnClickListener {
|
||||
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
map.put("game", gameEntity.getName());
|
||||
map.put("game_id", gameEntity.getId());
|
||||
map.put("type", "关注");
|
||||
map.put("createdOn", System.currentTimeMillis() / 1000);
|
||||
DataCollectionManager.onEvent(ConcernActivity.this, "concern", map);
|
||||
|
||||
manager.addByEntity(gameEntity);
|
||||
@ -379,8 +377,8 @@ public class ConcernActivity extends BaseActivity implements OnClickListener {
|
||||
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
map.put("location", "热门游戏推荐");
|
||||
map.put("createOn", System.currentTimeMillis() / 1000);
|
||||
map.put("game", gameEntity.getName());
|
||||
map.put("game_id", gameEntity.getId());
|
||||
map.put("page", "我的关注");
|
||||
DataCollectionManager.onEvent(ConcernActivity.this, "click-item", map);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user