品类-列表
<p><strong>简要描述</strong>:</p>
<ul>
<li>品类列表</li>
</ul>
<p><strong>请求URL:</strong>:</p>
<ul>
<li><a href="http://127.0.0.1:8080/api/category/getCategoryList">http://127.0.0.1:8080/api/category/getCategoryList</a></li>
</ul>
<p><strong>请求方式:</strong>:</p>
<ul>
<li>GET</li>
</ul>
<p><strong>Header</strong></p>
<pre><code></code></pre>
<p><strong>参数</strong>:</p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">categoryId</td>
<td style="text-align: left;">否</td>
<td>Long</td>
<td>品类ID</td>
</tr>
<tr>
<td style="text-align: left;">categoryName</td>
<td style="text-align: left;">否</td>
<td>String</td>
<td>品类名称</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong>:</p>
<pre><code>{
&quot;code&quot;: 200,
&quot;message&quot;: &quot;成功&quot;,
&quot;data&quot;: [
{
&quot;categoryId&quot;: 1,------------------品类主键ID
&quot;levelType&quot;: 0,-------------------级别 0:一级 1:子级
&quot;categoryName&quot;: &quot;服饰&quot;,-----------品类名称
&quot;parentId&quot;: 0,---------------------父ID
&quot;deductionRate&quot;: 2.0, ---------------交易佣金
&quot;onceFlotationAmount&quot;: 33.0,--------------单次发行费
&quot;consumptionTax&quot;: 0.3,----------------消费税百分比
&quot;valueAddedTax&quot;: 0.5,---------------增值税百分比
&quot;children&quot;: [-------------------------子级集合
{
&quot;categoryId&quot;: 3,
&quot;levelType&quot;: 1,
&quot;categoryName&quot;: &quot;服饰-子集一级&quot;,
&quot;parentId&quot;: 1,
&quot;deductionRate&quot;: 13.0,
&quot;onceFlotationAmount&quot;: 31.0,
&quot;consumptionTax&quot;: 0.2,
&quot;valueAddedTax&quot;: 0.1,
&quot;children&quot;: [
{
&quot;categoryId&quot;: 4,
&quot;levelType&quot;: 1,
&quot;categoryName&quot;: &quot;服饰-子集一级-子集二级&quot;,
&quot;parentId&quot;: 3,
&quot;deductionRate&quot;: 11.0,
&quot;onceFlotationAmount&quot;: 20.0,
&quot;consumptionTax&quot;: 0.1,
&quot;valueAddedTax&quot;: 0.3,
&quot;children&quot;: []
}
]
}
]
}
]
}</code></pre>
<p><strong>备注</strong>:</p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>