排名
<h5>简要描述</h5>
<ul>
<li>list</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>app/sales-order-app/get-head-sales-statics</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<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;">type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>1销售 2品牌 3 分类</td>
</tr>
<tr>
<td style="text-align: left;">org_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">arr</td>
<td>门店id [1,2,34,5]</td>
</tr>
<tr>
<td style="text-align: left;">limit</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>是否限制条数 1 是 0 否</td>
</tr>
<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本年</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"errCode": 1000,
"errMsg": "请求成功",
"data": [
{
"id": "204",
"name": "耐诺思",
"total_price": "176227.1200",//销售额
"total_profit": "-2182253.4510"
"rate": "60.37%"//比例
},
{
"id": "196",
"name": "美孚",
"total_price": "33697.0000",
"total_profit": "25297.4003"
"rate": "60.37%"
},
{
"id": "252",
"name": "瓦尔塔",
"total_price": "26745.0000",
"total_profit": "5239.7510"
},
{
"id": "258",
"name": "沃宝",
"total_price": "13467.0000",
"total_profit": "3346.3059"
},
{
"id": "166",
"name": "卡泰克",
"total_price": "10816.9300",
"total_profit": "6417.8823"
}
]
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>备注</h5>