购物车列表
<p><strong>简要描述:</strong> </p>
<ul>
<li>购物车列表接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://xx.com/store/sales-order-app/shopping-list</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;">user_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;">org_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>门店id(账套id)</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"errCode": 1000,
"errMsg": "请求成功",
"data": {
"list": [
{
"id": "5",
"parts_id": "2941",
"parts_name": "美孚1号 新",
"parts_code": "SN 0W40 1L 金装",
"parts_unit_id": "3",
"parts_unit_name": "桶",
"parts_factory_code": "SN 0W40 1L 金装新",
"parts_brand_name": "美孚",
"supply_org_id": "1",
"address_contacts": "",
"address_mobile": "",
"address": "",
"buy_org_id": "159",
"buy_org_name": "同友海宁店---加盟",
"buy_price": "69.39",
"buy_count": 13,
"buy_price_sum": "0.00",
"deleted": "0",
"picurl": "",
"created_at": "2020-08-12 13:59",
"store_count": 92,
"parts_top": "美孚|美孚1号 新|桶",
"parts_bottom": "SN 0W40 1L 金装|SN 0W40 1L 金装新",
"showName": "美孚1号 新|SN 0W40 1L 金装|SN 0W40 1L 金装新",
"deleted_name": "正常"
}
],
"total": "3",
"fail_list": [
{
"id": "2",
"parts_id": "6710",
"parts_name": "经济型火花塞",
"parts_code": "DF7REC2",
"parts_unit_id": "1",
"parts_unit_name": "只",
"parts_factory_code": "F01A127B02",
"parts_brand_name": "博世",
"supply_org_id": "1",
"address_contacts": "",
"address_mobile": "",
"address": "",
"buy_org_id": "159",
"buy_org_name": "同友海宁店---加盟",
"buy_price": "4.08",
"buy_count": 1,
"buy_price_sum": "0.00",
"deleted": "1",
"picurl": "",
"created_at": "2020-08-12 13:59",
"store_count": 0,
"parts_top": "博世|经济型火花塞|只",
"parts_bottom": "DF7REC2|F01A127B02",
"showName": "经济型火花塞|DF7REC2|F01A127B02",
"deleted_name": "正常"
}
],
"fail_total": "1"
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<p><strong>商品信息展示</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">picurl</td>
<td style="text-align: left;">string</td>
<td>图片链接地址</td>
</tr>
<tr>
<td style="text-align: left;">parts_top</td>
<td style="text-align: left;">string</td>
<td>头部第一行商品名称</td>
</tr>
<tr>
<td style="text-align: left;">parts_bottom</td>
<td style="text-align: left;">string</td>
<td>头部第二行商品名称</td>
</tr>
<tr>
<td style="text-align: left;">deleted</td>
<td style="text-align: left;">int</td>
<td>是否失效</td>
</tr>
<tr>
<td style="text-align: left;">store_count</td>
<td style="text-align: left;">int</td>
<td>本店库存</td>
</tr>
<tr>
<td style="text-align: left;">buy_price</td>
<td style="text-align: left;">string</td>
<td>购买单价</td>
</tr>
<tr>
<td style="text-align: left;">buy_count</td>
<td style="text-align: left;">int</td>
<td>购买数量</td>
</tr>
</tbody>
</table>
<p><strong>----fail_list失效商品列表----</strong></p>
<p><strong>商品信息展示</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">picurl</td>
<td style="text-align: left;">string</td>
<td>图片链接地址</td>
</tr>
<tr>
<td style="text-align: left;">parts_top</td>
<td style="text-align: left;">string</td>
<td>头部第一行商品名称</td>
</tr>
<tr>
<td style="text-align: left;">parts_bottom</td>
<td style="text-align: left;">string</td>
<td>头部第二行商品名称</td>
</tr>
<tr>
<td style="text-align: left;">deleted</td>
<td style="text-align: left;">int</td>
<td>是否失效</td>
</tr>
<tr>
<td style="text-align: left;">store_count</td>
<td style="text-align: left;">int</td>
<td>本店库存</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>