友情链接
<p><strong>简要描述:</strong></p>
<ul>
<li>友情链接和温馨提醒接口</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>/public/links</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</li>
</ul>
<p><strong>参数:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>type</td>
<td>是</td>
<td>string</td>
<td>‘link’-友情链接,’tips’-温馨提醒</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"code": 200,
"data": [
{
"title":"链接标题",
"link": "链接",
"pic": "相关图片",
"isTop": "0",
"sort": "0",
"created": "2019-10-01 00:00:00"
}
],
"msg": ""
}</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>string</td>
<td>200-正常返回,500-系统错误</td>
</tr>
<tr>
<td>title</td>
<td>string</td>
<td>标题</td>
</tr>
<tr>
<td>link</td>
<td>string</td>
<td>链接</td>
</tr>
<tr>
<td>pic</td>
<td>string</td>
<td>图片</td>
</tr>
<tr>
<td>isTop</td>
<td>string</td>
<td>是否置顶</td>
</tr>
<tr>
<td>sort</td>
<td>string</td>
<td>排序编号</td>
</tr>
<tr>
<td>created</td>
<td>Date</td>
<td>创建时间</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>系统的消息</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>