分类列表
<p><strong>简要描述:</strong></p>
<ul>
<li>分类列表</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>/categories</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></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code class="language-json">[
{
"id": 1,
"name": "PHP"
},
{
"id": 2,
"name": "Javascript"
},
{
"id": 3,
"name": "CSS"
},
{
"id": 4,
"name": "HTML"
}
]</code></pre>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>int</td>
<td>分类id</td>
</tr>
<tr>
<td>name</td>
<td>string</td>
<td>分类名称</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong></p>