获取商品分类列表接口
<p><strong>接口说明 </strong></p>
<pre><code>请求接口: /kmall/app/category/list
请求方式: GET
接口说明: 获取商品分类列表接口</code></pre>
<p><strong>请求参数 </strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>mallId</td>
<td>是</td>
<td>Long(20)</td>
<td>商场id</td>
</tr>
<tr>
<td>shopId</td>
<td>是</td>
<td>Long(20)</td>
<td>店铺id</td>
</tr>
<tr>
<td>parentId</td>
<td>是</td>
<td>Long(20)</td>
<td>父节点(默认0)</td>
</tr>
</tbody>
</table>
<p><strong>返回参数</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>string</td>
<td>状态值</td>
</tr>
<tr>
<td>msg</td>
<td>string</td>
<td>返回消息</td>
</tr>
<tr>
<td>data</td>
<td>string</td>
<td>返回的token</td>
</tr>
<tr>
<td>categoryName</td>
<td>string</td>
<td>类别名称</td>
</tr>
<tr>
<td>icon</td>
<td>string</td>
<td>类别图标</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code":"0000",
"msg":"success",
"data":[{
"id":1,
"categoryName":"xxx",
"icon":"xxx"
}]
}</code></pre>