上传埋点日志
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>上传埋点日志接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://localhost:2088/user_action/add</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<pre><code>{
"mid": "xxxx", //设备唯一标志
"uid": "yyy", //用户id
"md": "iphone", //手机型号
"ba": "iphone", //手机品牌
"os": "ios", //操作系统类型
"osVersion": "2.2.0", //操作系统版本
"ip": "192.168.1.1", //ip
"netType": "WIFI", //网络类型
"appVersion": "3.0.0.", //app版本
"pageId" : "home", //页面ID
"lastPageId": "index", //来源页面(即跳转过来的页面)
"eventId": "click", //页面事件类型
"targetId": "share", //事件对象,比如分享按钮
"longitude": "132.12", //经度
"latitude": "123.1231" //纬度
}</code></pre>
<h5>返回示例</h5>
<pre><code> {
"msg": "操纵成功",
"code": 100
}</code></pre>
<h5>返回参数说明</h5>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>