征集活动商品信息接口
<h5>简要描述</h5>
<ul>
<li>征集活动商品信息接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/dms/sales-order-app/collect-promotion-view</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </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;">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;">buy_customer_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;">parts_query</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">varchare</td>
<td>商品名称、规格型号、出厂编码(搜索条件)</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
"errCode": 1000,
"errMsg": "请求成功",
"data": {
""id": "420",//征集活动ID
"org_id": "1",//征集活动创建门店ID
"name": "征集订单05310002",//征集活动名称
"code": "YDCX-22053100000420",//征集活动编码
"image": "http://api.1uap.com/images/promotion_default.png",//web端图片
"app_image": "http://api.1uap.com/images/promotion_default.png",//app端图片
"start_time": "2022-05-31 00:00:00",//开始时间
"end_time": "2022-06-30 00:00:00",//结束时间
"promotion_remark": "",//促销说明
"operation_id": "1006",//制单人ID
"operation_name": "何丽兰测试",//制单人名称
"created_at": "2022-05-31 21:49:35",//制单时间
"status": "2",//活动状态 1未开始 2进行中 3已结束
"enable_status": "1",//启用状态 0待启用 1启用 2禁用
"title": "征集订单05310002",//征集活动标题
"rules_introductions": "测试活动06010001",//活动摘要(规则说明)
"promotion_rules_one": "1",
"promotion_rules_two": "2",
"statusTxt": "进行中",
"enable_statusTxt": "启用",
"oneTxt": "满组",
"twoTxt": "赠送",
"showMark": 2,
"showDay": "距离结束还有28天"
"partsList": [
{
"id": "2884",//征集活动明细ID
"parts_promotion_id": "420",//征集活动ID
"parts_id": "93643",//商品ID
"parts_name": "空调滤清器",//商品名称
"parts_code": "LAK1291",//商品编码(规格型号)
"parts_factory_code": "FLAK1291T",//出厂编码
"parts_unit_name": "个",//商品单位
"parts_category_name": "空调滤清器",//商品品类
"parts_brand_name": "马勒",//商品品牌
"sales_price": 0,//销售单价
"sales_count": 0,//销售数量
"sales_price_sum": 0,//金额合计
"showName": "空调滤清器|LAK1291|FLAK1291T|马勒|空调滤清器",//商品显示名称
"images": "http://img.db.66km.cn/part/LAK1291_3.jpg,http://img.db.66km.cn/part/LAK1291_2.jpg,http://img.db.66km.cn/part/LAK1291_4.jpg,http://img.db.66km.cn/part/LAK1291_1.jpg"//商品图片
},
{
"id": "2885",
"parts_promotion_id": "420",
"parts_id": "93644",
"parts_name": "空气滤清器",
"parts_code": "LX4735",
"parts_factory_code": "FLX4735T",
"parts_unit_name": "个",
"parts_category_name": "空气滤清器",
"parts_brand_name": "马勒",
"sales_price": 0,
"sales_count": 0,
"sales_price_sum": 0,
"showName": "空气滤清器|LX4735|FLX4735T|马勒|空气滤清器",
"images": "http://img.db.66km.cn/part/LX4735_3.jpg,http://img.db.66km.cn/part/LX4735_1.jpg,http://img.db.66km.cn/part/LX4735_2.jpg,http://img.db.66km.cn/part/LX4735_4.jpg"
},
{
"id": "2886",
"parts_promotion_id": "420",
"parts_id": "93645",
"parts_name": "空调滤清器",
"parts_code": "LAK1413",
"parts_factory_code": "FLAK1413T",
"parts_unit_name": "个",
"parts_category_name": "空调滤清器",
"parts_brand_name": "马勒",
"sales_price": 0,
"sales_count": 0,
"sales_price_sum": 0,
"showName": "空调滤清器|LAK1413|FLAK1413T|马勒|空调滤清器",
"images": "http://img.db.66km.cn/part/LAK1413_4.jpg,http://img.db.66km.cn/part/LAK1413_1.jpg,http://img.db.66km.cn/part/LAK1413_3.jpg,http://img.db.66km.cn/part/LAK1413_2.jpg"
},
{
"id": "2887",
"parts_promotion_id": "420",
"parts_id": "93646",
"parts_name": "空调滤清器",
"parts_code": "LAK1353",
"parts_factory_code": "FLAK1353T",
"parts_unit_name": "个",
"parts_category_name": "空调滤清器",
"parts_brand_name": "马勒",
"sales_price": 0,
"sales_count": 0,
"sales_price_sum": 0,
"showName": "空调滤清器|LAK1353|FLAK1353T|马勒|空调滤清器",
"images": "http://img.db.66km.cn/part/LAK1353_3.jpg,http://img.db.66km.cn/part/LAK1353_4.jpg,http://img.db.66km.cn/part/LAK1353_1.jpg,http://img.db.66km.cn/part/LAK1353_2.jpg"
},
{
"id": "2888",
"parts_promotion_id": "420",
"parts_id": "93647",
"parts_name": "空调滤清器",
"parts_code": "LAK1434",
"parts_factory_code": "FLAK1434T",
"parts_unit_name": "个",
"parts_category_name": "空调滤清器",
"parts_brand_name": "马勒",
"sales_price": 0,
"sales_count": 0,
"sales_price_sum": 0,
"showName": "空调滤清器|LAK1434|FLAK1434T|马勒|空调滤清器",
"images": "http://img.db.66km.cn/part/LAK1434_3.jpg,http://img.db.66km.cn/part/LAK1434_1.jpg"
},
{
"id": "2889",
"parts_promotion_id": "420",
"parts_id": "93648",
"parts_name": "燃油滤清器56",
"parts_code": "KL2576",
"parts_factory_code": "FKL257T6",
"parts_unit_name": "了",
"parts_category_name": "燃油滤清器",
"parts_brand_name": "马勒",
"sales_price": 0,
"sales_count": 0,
"sales_price_sum": 0,
"showName": "燃油滤清器56|KL2576|FKL257T6|马勒|燃油滤清器",
"images": "http://img.db.66km.cn/part/KL1090_4.jpg,http://img.db.66km.cn/part/KL1090_3.jpg,http://img.db.66km.cn/part/KL1090_5.jpg,http://img.db.66km.cn/part/KL1090_2.jpg"
},
{
"id": "2890",
"parts_promotion_id": "420",
"parts_id": "93649",
"parts_name": "空调滤清器",
"parts_code": "LAK1215",
"parts_factory_code": "FLAK1215T",
"parts_unit_name": "个",
"parts_category_name": "空调滤清器",
"parts_brand_name": "马勒",
"sales_price": "10.00",
"sales_count": 0,
"sales_price_sum": 0,
"showName": "空调滤清器|LAK1215|FLAK1215T|马勒|空调滤清器",
"images": "http://img.db.66km.cn/part/LAK1215_3.jpg,http://img.db.66km.cn/part/LAK1215_5.jpg,http://img.db.66km.cn/part/LAK1215_2.jpg,http://img.db.66km.cn/part/LAK1215_4.jpg"
},
{
"id": "2891",
"parts_promotion_id": "420",
"parts_id": "93650",
"parts_name": "空调滤清器",
"parts_code": "LAK1308",
"parts_factory_code": "FLAK1308T",
"parts_unit_name": "个",
"parts_category_name": "空调滤清器",
"parts_brand_name": "马勒",
"sales_price": 0,
"sales_count": 0,
"sales_price_sum": 0,
"showName": "空调滤清器|LAK1308|FLAK1308T|马勒|空调滤清器",
"images": "http://img.db.66km.cn/part/LAK1308_3.jpg,http://img.db.66km.cn/part/LAK1308_1.jpg,http://img.db.66km.cn/part/LAK1308_4.jpg,http://img.db.66km.cn/part/LAK1308_2.jpg"
},
{
"id": "2892",
"parts_promotion_id": "420",
"parts_id": "93651",
"parts_name": "空调滤清器",
"parts_code": "LAK1296/S",
"parts_factory_code": "FLAK1296/ST",
"parts_unit_name": "个",
"parts_category_name": "空调滤清器",
"parts_brand_name": "马勒",
"sales_price": 0,
"sales_count": 0,
"sales_price_sum": 0,
"showName": "空调滤清器|LAK1296/S|FLAK1296/ST|马勒|空调滤清器",
"images": "http://img.db.66km.cn/part/LAK1296-S_2.jpg,http://img.db.66km.cn/part/LAK1296-S_1.jpg,http://img.db.66km.cn/part/LAK1296-S_3.jpg,http://img.db.66km.cn/part/LAK1296-S_4.jpg"
},
{
"id": "2893",
"parts_promotion_id": "420",
"parts_id": "93652",
"parts_name": "燃油滤清器56",
"parts_code": "KL2576",
"parts_factory_code": "FKL257T6",
"parts_unit_name": "了",
"parts_category_name": "燃油滤清器",
"parts_brand_name": "马勒",
"sales_price": 0,
"sales_count": 0,
"sales_price_sum": 0,
"showName": "燃油滤清器56|KL2576|FKL257T6|马勒|燃油滤清器",
"images": "http://img.db.66km.cn/part/BD11A282-80B9-4ABC-9B42-FFC10B538F4C.jpg"
},
{
"id": "2894",
"parts_promotion_id": "420",
"parts_id": "93797",
"parts_name": "前刹车片",
"parts_code": "SCP2151DT",
"parts_factory_code": "SCP2151-09",
"parts_unit_name": "副",
"parts_category_name": "前刹车片",
"parts_brand_name": "天博",
"sales_price": 0,
"sales_count": 0,
"sales_price_sum": 0,
"showName": "前刹车片|SCP2151DT|SCP2151-09|天博|前刹车片",
"images": "http://img.db.66km.cn/brand/9D12BB8A-91E5-4C63-B757-1CB052D3828C.png"
}
]
}
}</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>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>