首页-饼图
<p><strong>简要描述:</strong> </p>
<ul>
<li>首页-饼图</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>/pc/user_sales_analysis</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>get </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;">fl_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>分类id</td>
</tr>
<tr>
<td style="text-align: left;">time</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>筛选时间,1日,2周,3月</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"__type": "result",
"state": "ok",
"msg": "",
"data": {
"goods": [
{
"name": "就开始放大后发送即可开始到福建省地方尽快发送的就开始对方",
"cate_id": 20,
"product_id": 63,
"account_id": 16,
"total_cards": 195,
"used_cards": 0,
"unused_cards": 195,
"profit": "6.00",
"per": 100
},
{
"name": "123123",
"cate_id": 26,
"product_id": 64,
"account_id": 16,
"total_cards": 721,
"used_cards": 0,
"unused_cards": 721,
"profit": 0,
"per": 100
},
{
"name": "666",
"cate_id": 20,
"product_id": 68,
"account_id": 16,
"total_cards": 0,
"used_cards": 0,
"unused_cards": 0,
"profit": 0,
"per": "0"
},
{
"name": "777",
"cate_id": 20,
"product_id": 69,
"account_id": 16,
"total_cards": 0,
"used_cards": 0,
"unused_cards": 0,
"profit": 0,
"per": "0"
}
],
"sum_profit": 6,
"sum_profit_per": "-40"
},
"time": 1547524457
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>