用户签到
<p><strong>简要描述:</strong></p>
<ul>
<li>用户签到接口</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>/user/fav</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</li>
</ul>
<p><strong>参数:</strong></p>
<p>无</p>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 200,
"count": 1,
"favs": 5,
"msg": "签到成功"
}</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>Number</td>
<td>200-签到成功,500-签到异常,查看msg</td>
</tr>
<tr>
<td>count</td>
<td>Number</td>
<td>连续签到天数</td>
</tr>
<tr>
<td>favs</td>
<td>Number</td>
<td>用户获得的积分</td>
</tr>
<tr>
<td>msg</td>
<td>String</td>
<td>系统消息</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>