表情包列表
<h5>简要描述</h5>
<ul>
<li>表情包列表</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/api/emoticonList</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<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>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"code": 200,
"message": "ok",
"data": [
{
"id": 1,
"type": 1,
"code": "em50",
"title": "猴子",
"path": "/emoticon/monkey/em50.gif",
"is_display": 1,
"sort": 1,
"created_at": "2021-05-17 14:22:05",
"updated_at": "2021-05-17 14:22:09"
},
{
"id": 2,
"type": 1,
"code": "em51",
"title": "猴子",
"path": "/emoticon/monkey/em51.gif",
"is_display": 1,
"sort": 2,
"created_at": "2021-05-17 14:22:05",
"updated_at": "2021-05-17 14:22:09"
},
{
"id": 3,
"type": 1,
"code": "em52",
"title": "猴子",
"path": "/emoticon/monkey/em52.gif",
"is_display": 1,
"sort": 3,
"created_at": "2021-05-17 14:22:05",
"updated_at": "2021-05-17 14:22:09"
},
{
"id": 4,
"type": 1,
"code": "em53",
"title": "猴子",
"path": "/emoticon/monkey/em53.gif",
"is_display": 1,
"sort": 4,
"created_at": "2021-05-17 14:22:05",
"updated_at": "2021-05-17 14:22:09"
},
{
"id": 5,
"type": 1,
"code": "em54",
"title": "猴子",
"path": "/emoticon/monkey/em54.gif",
"is_display": 1,
"sort": 5,
"created_at": "2021-05-17 14:22:05",
"updated_at": "2021-05-17 14:22:09"
},
{
"id": 6,
"type": 1,
"code": "em55",
"title": "猴子",
"path": "/emoticon/monkey/em55.gif",
"is_display": 1,
"sort": 6,
"created_at": "2021-05-17 14:22:05",
"updated_at": "2021-05-17 14:22:09"
},
{
"id": 7,
"type": 1,
"code": "em56",
"title": "猴子",
"path": "/emoticon/monkey/em56.gif",
"is_display": 1,
"sort": 7,
"created_at": "2021-05-17 14:22:05",
"updated_at": "2021-05-17 14:22:09"
},
{
"id": 8,
"type": 1,
"code": "em57",
"title": "猴子",
"path": "/emoticon/monkey/em57.gif",
"is_display": 1,
"sort": 8,
"created_at": "2021-05-17 14:22:05",
"updated_at": "2021-05-17 14:22:09"
}
]
}</code></pre>
<h5>返回参数说明</h5>
<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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>