团队研发文档

开发规范、技术文档等


路径分析

<h3>页面查询</h3> <pre><code class="language-java">// 1. 接口URL '/api/v1/applet/event/get-dimension-info' // 2. 接口传入参数(json) { beginTime:'', endTime:'', appId: 'xxxx', filterKey:'page' } // 3. 接口返回值 { "status":200, "errorCode":200, "errorMsg":"请求成功", "data": [ { id: 'http://www.baidu.com', name: '首页' } ] }</code></pre> <h3>路径分析</h3> <pre><code class="language-java">// 1. 接口URL '/api/v1/applet/page/analysis' // 2. 接口传入参数(json) { sid: 'xxxx', showType: 'from', // 『form』全路径分析,『target』转化路径分析 chartType: 'pagePath', // 『pagePath』页面,『eventPath』事件 path: 'http://www.baidu.com', // 对应上述 pagePath』页面 或『eventPath』事件的key startDateStr: '2018-01-01', endDateStr: '2018-01-09', } // 3. 接口返回值 { "status":200, "errorCode":200, "errorMsg":"请求成功", "data": [ { name: "页1", key:"http://www.example.com/index.html", level: 1, value: 1234, children: [ { name: "页2-1", url:"http://www.example.com/index.html", level: 2, value: 1234, children: [ { name: "页3-1", url:"http://www.example.com/index.html", level: 3, value: 1234, children: [] }, { name: "页3-2", url:"http://www.example.com/index.html", level: 3, value: 1234, children: [] } ] }, { name: "页2-2", url:"http://www.example.com/index.html", level: 2, value: 1234, children: [] } ] } ] }</code></pre>

页面列表

ITEM_HTML