获取
<p><strong>请求URI:</strong></p>
<ul>
<li><code>/mall-api/haswallowmalladmin/category</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</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;">key</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>检索关键字</td>
</tr>
</tbody>
</table>
<p><strong>返回示例:</strong></p>
<pre><code>{
&quot;msg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: [
{
&quot;id&quot;: 6,//自增编号
&quot;alias&quot;: &quot;test&quot;,//分类名称
&quot;weight&quot;: 5,//权重(倒序排序)
&quot;status&quot;: 0,//状态:0=正常,1=禁用
&quot;create_datetime&quot;: &quot;2024-03-08 15:19:33&quot;,
&quot;update_datetime&quot;: &quot;2024-03-08 15:20:10&quot;
},
{
&quot;id&quot;: 2,
&quot;alias&quot;: &quot;办公用品&quot;,
&quot;weight&quot;: 1,
&quot;status&quot;: 0,
&quot;create_datetime&quot;: &quot;2024-03-06 19:25:06&quot;,
&quot;update_datetime&quot;: &quot;2024-03-07 10:44:37&quot;
},
{
&quot;id&quot;: 1,
&quot;alias&quot;: &quot;账户相关&quot;,
&quot;weight&quot;: 0,
&quot;status&quot;: 0,
&quot;create_datetime&quot;: &quot;2024-03-06 19:24:37&quot;,
&quot;update_datetime&quot;: &quot;2024-03-07 10:44:55&quot;
}
],
&quot;code&quot;: 0
}</code></pre>