Commit a9426aa6 authored by 袁玲利's avatar 袁玲利

游戏排行榜加sessionid

parent 262ad376
...@@ -104,6 +104,7 @@ export default { ...@@ -104,6 +104,7 @@ export default {
}, },
], ],
params: { params: {
sessionid: "",
userid: "", userid: "",
behavior: "", // 打开页面viewPage 、用户点击click 、 用户停留duration 、用户离开页面closePage behavior: "", // 打开页面viewPage 、用户点击click 、 用户停留duration 、用户离开页面closePage
data: "", // 行为数据:填页面名称、点击元素标识、停留时长(5s/10s/30s/60s/5min/10min/30min) data: "", // 行为数据:填页面名称、点击元素标识、停留时长(5s/10s/30s/60s/5min/10min/30min)
...@@ -115,6 +116,7 @@ export default { ...@@ -115,6 +116,7 @@ export default {
mounted() { mounted() {
this.games.sort(() => 0.5 - Math.random()); this.games.sort(() => 0.5 - Math.random());
this.params.userId = this.getQueryParams("userId"); this.params.userId = this.getQueryParams("userId");
this.params.sessionid = this.getQueryParams("sessionid")
this.params.behavior = "viewPage"; this.params.behavior = "viewPage";
this.params.data = "gameOrder"; this.params.data = "gameOrder";
this.GameStatistics(); this.GameStatistics();
......
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