事件打点1
<p><strong>简要描述:</strong> </p>
<ul>
<li>事件打点</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://dot.myfcomic.com/api/dot</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">json</td>
<td>打点数据,格式如下</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong></p>
<pre><code> {
"data": [
{
"event": "launch_cold",
"dot_data": {
"platform": 102,
"os": "osx",
"deviceid": "dsfrrds2fw2323",
"model": "iPhone X",
"auid": 0,
"uid": 17,
"username": "有灰机",
"channelid": "sw23323",
"v": "1.0.1",
"tm": "2019-02-20 13:30:43",
"update": "1"
}
},
{
"event": "launch_cold",
"dot_data": {
"platform": 102,
"os": "osx",
"deviceid": "dsfrrds2fw2323",
"model": "iPhone X",
"auid": 0,
"uid": 17,
"username": "有灰机",
"channelid": "sw23323",
"v": "1.0.1",
"tm": "2019-02-20 13:30:43",
"update": "1"
}
},
{
"event": "launch_hot",
"dot_data": {
"platform": 102,
"os": "osx",
"deviceid": "dsfrrds2fw2323",
"model": "iPhone X",
"auid": 0,
"uid": 17,
"username": "有灰机",
"channelid": "sw23323",
"v": "1.0.1",
"tm": "2019-02-20 13:30:43",
"update": "1"
}
}
]
}
</code></pre>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 1,
"msg": "操作成功",
"data": [];
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">code</td>
<td style="text-align: left;">int</td>
<td>状态码(0-失败,1-成功)</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">string</td>
<td>状态信息</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>