Authored by htoooth

unity_type fix

@@ -156,7 +156,12 @@ Page(Object.assign({ @@ -156,7 +156,12 @@ Page(Object.assign({
156 }); 156 });
157 157
158 yas = new Yas(app); // 实例化埋点 158 yas = new Yas(app); // 实例化埋点
159 - yas.pageOpenReport(); 159 + // 必须这样做
  160 + let route = 'pages/product/detail/detail';
  161 +
  162 + yas.pageOpenReport(null, {
  163 + PAGE_PATH: query.unionType ? `${route}?union_type=${query.unionType}` : route
  164 + });
160 165
161 this.initActionSheet(); 166 this.initActionSheet();
162 167
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 "list": [] 33 "list": []
34 }, 34 },
35 "miniprogram": { 35 "miniprogram": {
36 - "current": 7, 36 + "current": 5,
37 "list": [ 37 "list": [
38 { 38 {
39 "id": 0, 39 "id": 0,
@@ -74,7 +74,12 @@ @@ -74,7 +74,12 @@
74 "id": 5, 74 "id": 5,
75 "name": "情详页-好友助力", 75 "name": "情详页-好友助力",
76 "pathName": "pages/product/detail/detail", 76 "pathName": "pages/product/detail/detail",
77 - "query": "limitProductCode=2018062815591248" 77 + "query": "limitProductCode=2018062815591248&unionType=10007",
  78 + "scene": "1037",
  79 + "referrerInfo": {
  80 + "appId": "wx084ab813d88c594b",
  81 + "extraData": "{}"
  82 + }
78 }, 83 },
79 { 84 {
80 "id": 6, 85 "id": 6,