首页每月销售额趋势-更多
<p><strong>简要描述:</strong> </p>
<ul>
<li>首页每月销售额趋势-更多</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/app/report/sales-more</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;">time_type</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>1今日 2本月 3本年 4上月 5本季度;默认1</td>
</tr>
<tr>
<td style="text-align: left;">statistics_type</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>统计维度:1连锁品牌 2行政区域(省)3客户 4中类 5品牌 6商品(SKU);默认1</td>
</tr>
<tr>
<td style="text-align: left;">chain_brand</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>连锁品牌ID</td>
</tr>
<tr>
<td style="text-align: left;">province</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>省ID</td>
</tr>
<tr>
<td style="text-align: left;">org_type</td>
<td style="text-align: left;">与客户ID一起</td>
<td style="text-align: left;">string</td>
<td>客户类型;传客户ID时必传</td>
</tr>
<tr>
<td style="text-align: left;">other_org_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>客户ID</td>
</tr>
<tr>
<td style="text-align: left;">category_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>品类</td>
</tr>
<tr>
<td style="text-align: left;">brand_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>品牌</td>
</tr>
<tr>
<td style="text-align: left;">page</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>页码;默认1</td>
</tr>
<tr>
<td style="text-align: left;">count</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>每页条数;默认10</td>
</tr>
<tr>
<td style="text-align: left;">order</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>排序字段 total_price、total_profit、 cus_count、sku、total_cus_count、total_count;默认total_price</td>
</tr>
<tr>
<td style="text-align: left;">by</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>升序 asc / 降序 desc;默认 desc</td>
</tr>
<tr>
<td style="text-align: left;">e_brand_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>欧洲维修 e_brand_id=14</td>
</tr>
<tr>
<td style="text-align: left;">org_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>组织</td>
</tr>
<tr>
<td style="text-align: left;">area_id</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;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;list&quot;: [
{ // 连锁品牌 statistics_type=1时
&quot;total_price&quot;: &quot;113549.05&quot;,
&quot;total_count&quot;: &quot;6055&quot;,
&quot;sku&quot;: &quot;975&quot;,
&quot;total_profit&quot;: &quot;-&quot;,
&quot;cus_count&quot;: &quot;1&quot;,
&quot;total_cus_count&quot;: &quot;1&quot;,
&quot;chain_brand&quot;: &quot;2&quot;,
&quot;chain_brand_name&quot;: &quot;汽配峰&quot;,
&quot;total_price_proportion&quot;: &quot;10.20%&quot;,
&quot;total_count_proportion&quot;: &quot;10.20%&quot;,
&quot;sku_proportion&quot;: &quot;10.20%&quot;,
&quot;total_profit_proportion&quot;: &quot;10.20%&quot;,
&quot;cus_count_proportion&quot;: &quot;10.20%&quot;,
&quot;total_cus_count_proportion&quot;: &quot;10.20%&quot;
},
{ // 行政区域(省) statistics_type=2时
&quot;total_price&quot;: &quot;1426693.25&quot;,
&quot;total_count&quot;: &quot;24749&quot;,
&quot;sku&quot;: &quot;1017&quot;,
&quot;total_profit&quot;: &quot;-&quot;,
&quot;cus_count&quot;: &quot;17&quot;,
&quot;total_cus_count&quot;: &quot;250&quot;,
&quot;province&quot;: &quot;37&quot;,
&quot;province_name&quot;: &quot;山东省&quot;,
&quot;total_price_proportion&quot;: &quot;10.20%&quot;,
&quot;total_count_proportion&quot;: &quot;10.20%&quot;,
&quot;sku_proportion&quot;: &quot;10.20%&quot;,
&quot;total_profit_proportion&quot;: &quot;10.20%&quot;,
&quot;cus_count_proportion&quot;: &quot;10.20%&quot;,
&quot;total_cus_count_proportion&quot;: &quot;10.20%&quot;
},
{ // 客户 statistics_type=3时
&quot;total_price&quot;: &quot;1291853.80&quot;,
&quot;total_count&quot;: &quot;17755&quot;,
&quot;sku&quot;: &quot;1&quot;,
&quot;total_profit&quot;: &quot;-&quot;,
&quot;cus_count&quot;: &quot;1&quot;,
&quot;org_type&quot;: &quot;2&quot;,
&quot;other_org_id&quot;: &quot;171914&quot;,
&quot;other_org_name&quot;: &quot;山东华高智能科技有限公司&quot;,
&quot;total_price_proportion&quot;: &quot;10.20%&quot;,
&quot;total_count_proportion&quot;: &quot;10.20%&quot;,
&quot;sku_proportion&quot;: &quot;10.20%&quot;,
&quot;total_profit_proportion&quot;: &quot;10.20%&quot;,
&quot;cus_count_proportion&quot;: &quot;10.20%&quot;
},
{ // 中类 statistics_type=4时
&quot;total_price&quot;: &quot;1000351.02&quot;,
&quot;total_count&quot;: &quot;17774&quot;,
&quot;sku&quot;: &quot;29&quot;,
&quot;total_profit&quot;: &quot;-&quot;,
&quot;cus_count&quot;: &quot;1&quot;,
&quot;category_id&quot;: &quot;81&quot;,
&quot;category_name&quot;: &quot;防冻液&quot;,
&quot;total_price_proportion&quot;: &quot;10.20%&quot;,
&quot;total_count_proportion&quot;: &quot;10.20%&quot;,
&quot;sku_proportion&quot;: &quot;10.20%&quot;,
&quot;total_profit_proportion&quot;: &quot;10.20%&quot;,
&quot;cus_count_proportion&quot;: &quot;10.20%&quot;
},
{ // 品牌 statistics_type=5时
&quot;total_price&quot;: &quot;82589.06&quot;,
&quot;total_count&quot;: &quot;2843&quot;,
&quot;sku&quot;: &quot;129&quot;,
&quot;total_profit&quot;: &quot;-&quot;,
&quot;cus_count&quot;: &quot;1&quot;,
&quot;brand_id&quot;: &quot;37&quot;,
&quot;brand_name&quot;: &quot;NGK&quot;,
&quot;total_price_proportion&quot;: &quot;10.20%&quot;,
&quot;total_count_proportion&quot;: &quot;10.20%&quot;,
&quot;sku_proportion&quot;: &quot;10.20%&quot;,
&quot;total_profit_proportion&quot;: &quot;10.20%&quot;,
&quot;cus_count_proportion&quot;: &quot;10.20%&quot;
},
{ // 商品(sku) statistics_type=6时
&quot;total_price&quot;: &quot;7500.00&quot;,
&quot;total_count&quot;: &quot;1500&quot;,
&quot;sku&quot;: &quot;1&quot;,
&quot;total_profit&quot;: &quot;-&quot;,
&quot;cus_count&quot;: &quot;1&quot;,
&quot;parts_id&quot;: &quot;2051&quot;,
&quot;parts_name&quot;: &quot;机油滤清器&quot;,
&quot;brand_name&quot;: &quot;耐诺思&quot;,
&quot;parts_code&quot;: &quot;NO-2773&quot;,
&quot;parts_factory_code&quot;: &quot;NO-2773=NO-2733&quot;,
&quot;total_price_proportion&quot;: &quot;10.20%&quot;,
&quot;total_count_proportion&quot;: &quot;10.20%&quot;,
&quot;sku_proportion&quot;: &quot;10.20%&quot;,
&quot;total_profit_proportion&quot;: &quot;10.20%&quot;,
&quot;cus_count_proportion&quot;: &quot;10.20%&quot;
}
],
&quot;total&quot;: &quot;3166&quot;, //总条数
&quot;top&quot;: {
&quot;total_price&quot;: &quot;172811.97&quot;,
&quot;total_count&quot;: &quot;7809&quot;,
&quot;sku&quot;: &quot;1301&quot;,
&quot;total_profit&quot;: &quot;-&quot;, // -为无查看毛利权限
&quot;cus_count&quot;: &quot;74&quot;,
// 连锁品牌、行政区域(省)
&quot;total_cus_count&quot;: &quot;5397&quot;
}
}
}</code></pre>
<p><strong>返回参数说明 data</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p><strong>备注</strong> </p>
<p>/app/sales-order-app/customer-sales</p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>