按品类
<p><strong>简要描述:</strong> </p>
<ul>
<li>按品类</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/app/sales-order-app/sales-statistics</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </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;">e_brand_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>默认14 欧洲维修</td>
</tr>
<tr>
<td style="text-align: left;">by</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>desc倒序 asc正序</td>
</tr>
<tr>
<td style="text-align: left;">order</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>customer_count 成交客户 total_price 销售额 sku_count sku数 total_profit 毛利</td>
</tr>
</tbody>
</table>
<p>除正序倒序 跟 原先 所有查询参数一致
<strong>返回示例</strong></p>
<pre><code>{
&quot;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;infoList&quot;: [
{
&quot;brand_id&quot;: &quot;766&quot;,
&quot;brand_name&quot;: &quot;OUMULAI&quot;,
&quot;total_price&quot;: &quot;78019.3&quot;,
&quot;total_profit&quot;: &quot;16092.35&quot;,
&quot;head_total_price&quot;: &quot;0&quot;,
&quot;head_total_profit&quot;: &quot;0&quot;,
&quot;customer_count&quot;: 63,
&quot;sku_count&quot;: 503,
&quot;head_total_price_proportion&quot;: &quot;0&quot;,
&quot;total_price_proportion&quot;: &quot;33.36%&quot;,
&quot;sku_count_proportion&quot;: &quot;34.21%&quot;,
&quot;total_profit_proportion&quot;: &quot;47.05%&quot;,
&quot;customer_count_proportion&quot;: &quot;77.77%&quot;
}
],
&quot;total_price&quot;: &quot;233846.8&quot;,
&quot;total_profit&quot;: &quot;34196.38&quot;,
&quot;customer_count&quot;: &quot;81&quot;,
&quot;sku_count&quot;: &quot;1470&quot;,
&quot;head_total_price&quot;: &quot;0&quot;
}
}</code></pre>
<p><strong>返回infoList参数说明</strong> </p>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>