Authored by quintin.zhang

Update pv_uv_shopcard.md

@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 | secondLabels | int[] | true |登录(1:男生 2:女生 3:潮童 4:创意生活) 侧栏(1:男生 2:女生 3:潮童 4:创意生活 5、奥莱 6、PLUS 7、STAR 8、全球购 9、逛) 功能栏(1:首页 2:分类 3:逛 4:购物车 5:我的) |二级 | 15 | secondLabels | int[] | true |登录(1:男生 2:女生 3:潮童 4:创意生活) 侧栏(1:男生 2:女生 3:潮童 4:创意生活 5、奥莱 6、PLUS 7、STAR 8、全球购 9、逛) 功能栏(1:首页 2:分类 3:逛 4:购物车 5:我的) |二级 |
16 16
17 #### 请求方法 17 #### 请求方法
18 - get http://ip:port/data-analysis-web/click_analysis/input_click?appType=ios&topLabel=1&secondLabels=1,2,3&from=1483693640&to=1483693680 18 + get http://ip:port/data-analysis-web/click_analysis/input_click?appType=ios&topLabel=1&secondLabels=1,2,3&from=2016-12-26 0:0:0&to=2017-1-20 23:59:59
19 #### 请求内容json 19 #### 请求内容json
20 { 20 {
21 "appType": "android", 21 "appType": "android",
@@ -74,68 +74,99 @@ @@ -74,68 +74,99 @@
74 | navigate | String | true | 左侧导航栏(父子之间用:分割 同层级间菜单编号不能重复) |左侧导航栏 | 74 | navigate | String | true | 左侧导航栏(父子之间用:分割 同层级间菜单编号不能重复) |左侧导航栏 |
75 75
76 #### 请求方法 76 #### 请求方法
77 - get http://ip:port/data-analysis-web/resources_analysis/click?appType=**&from=***  
78 -### 请求内容json  
79 - {  
80 - "appType":"android",  
81 - "from":1482757176,  
82 - "to":1482757776,  
83 - "channel":1,  
84 - "navigate":"2:1"  
85 - } 77 + get http://ip:port/data-analysis-web/resources_analysis/click?appType=yohobuy_ios&from=2016-12-26 0:0:0&to=2017-1-20 23:59:59&channel=1&navigate=4000:4010:4013
86 78
87 #### 响应内容json 79 #### 响应内容json
88 { 80 {
89 - "code": 200,  
90 - "msg": "",  
91 - "data": [  
92 - {  
93 - "time": "2016-12-26 00:00:00",  
94 - "appType": "android",  
95 - "channel": "男生",  
96 - "position": "搜索",  
97 - "name": "搜索",  
98 - "pv": 100,  
99 - "uv": 20,  
100 - "clickPv": 0.29,  
101 - "clickUv": 0.29,  
102 - "shopCartRate": 0.29,  
103 - "orderRate": 0.01,  
104 - "orderNum": 1,  
105 - "amount": 1000.25  
106 - },  
107 - {  
108 - "time": "2016-12-26 00:00:00",  
109 - "appType": "android",  
110 - "channel": "男生",  
111 - "position": "搜索",  
112 - "name": "搜索",  
113 - "pv": "100",  
114 - "uv": "20",  
115 - "clickPv": 0.29,  
116 - "clickUv": 0.29,  
117 - "shopCartRate": 0.29,  
118 - "orderRate": 0.01,  
119 - "orderNum": 1,  
120 - "amount": 1000.25  
121 - },  
122 - {  
123 - "time": "2016-12-26 00:00:00",  
124 - "appType": "android",  
125 - "channel": "男生",  
126 - "position": "搜索",  
127 - "name": "搜索",  
128 - "pv": 100,  
129 - "uv": 20,  
130 - "clickPv": 0.29,  
131 - "clickUv": 0.29,  
132 - "shopCartRate": 0.29,  
133 - "orderRate": 0.01,  
134 - "orderNum": 1,  
135 - "amount": 1000.25  
136 - }  
137 - ]  
138 - } 81 + "alg": "SALT_MD5",
  82 + "code": 200,
  83 + "data": [
  84 + {
  85 + "amount": 0,
  86 + "appType": "yohobuy_ios",
  87 + "channel": "男生首页",
  88 + "clickPv": 3,
  89 + "clickUv": 1,
  90 + "level": 3,
  91 + "name": "icon3",
  92 + "orderNum": 0,
  93 + "orderRate": 0,
  94 + "position": "icon",
  95 + "pv": 145,
  96 + "shopCartRate": 33,
  97 + "subList": [
  98 + {
  99 + "amount": 0,
  100 + "appType": "yohobuy_ios",
  101 + "channel": "男生首页",
  102 + "clickPv": 1,
  103 + "clickUv": 0,
  104 + "name": "icon3",
  105 + "orderNum": 0,
  106 + "orderRate": 0,
  107 + "position": "icon",
  108 + "pv": 0,
  109 + "shopCartRate": 0,
  110 + "time": "2017-01-17",
  111 + "url": "feature.yoho.cn/0106/0106ITEMCOAT/index.html?share_id=1483:search.m.yohobuy.com/?gender=1,3&misort=18&msort=1&p_d=0.01,0.35",
  112 + "uv": 0
  113 + },
  114 + {
  115 + "amount": 0,
  116 + "appType": "yohobuy_ios",
  117 + "channel": "男生首页",
  118 + "clickPv": 1,
  119 + "clickUv": 1,
  120 + "name": "icon3",
  121 + "orderNum": 0,
  122 + "orderRate": 0,
  123 + "position": "icon",
  124 + "pv": 46,
  125 + "shopCartRate": 0,
  126 + "time": "2017-01-17",
  127 + "url": "feature.yoho.cn/0106/0106ITEMCOAT/index.html?share_id=1483",
  128 + "uv": 45
  129 + },
  130 + {
  131 + "amount": 0,
  132 + "appType": "yohobuy_ios",
  133 + "channel": "男生首页",
  134 + "clickPv": 1,
  135 + "clickUv": 0,
  136 + "name": "icon3",
  137 + "orderNum": 0,
  138 + "orderRate": 0,
  139 + "position": "icon",
  140 + "pv": 99,
  141 + "shopCartRate": 0,
  142 + "time": "2017-01-17",
  143 + "url": "_",
  144 + "uv": 0
  145 + },
  146 + {
  147 + "amount": 0,
  148 + "appType": "yohobuy_ios",
  149 + "channel": "男生首页",
  150 + "clickPv": 0,
  151 + "clickUv": 0,
  152 + "name": "icon3",
  153 + "orderNum": 0,
  154 + "orderRate": 0,
  155 + "position": "icon",
  156 + "pv": 0,
  157 + "shopCartRate": 0,
  158 + "time": "2017-01-17",
  159 + "url": "m.yohobuy.com/product/pro_609318_751448/EVDEVDA604CC56MianYi.html",
  160 + "uv": 0
  161 + }
  162 + ],
  163 + "time": "2017-01-17",
  164 + "uv": 45
  165 + }
  166 + ],
  167 + "md5": "e2c7109467b5d0513fb5ba0c441ed101",
  168 + "message": "SUCCESS"
  169 +}
139 170
140 ### 3、资源位分类结构树获取 171 ### 3、资源位分类结构树获取
141 172