批发商品购物车
<p><strong>简要描述:</strong> </p>
<ul>
<li>批发商品购物车</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://localhost:8080/api/store/app/appCall?jsonParam={"opeType":"tradeCartShow","map":{"customerUuid":"123123123"}}</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;">customerUuid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>会员id</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {"carts"[
"shoppingCart": [
{
"cartStore": {
"activityUuid": null,
"affixMoney": 10,
"buyType": null,
"canSale": true,
"cartType": "2",
"checked": true,
"couponCount": 0,
"couponList": null,
"couponMoney": 0,
"couponTypeList": null,
"existedInDB": false,
"fightgroupOrderUuid": null,
"integralMoney": 0,
"mkCouponMoney": 0,
"orderFreeMoney": 0,
"orderId": null,
"orderMainFromModel": null,
"orderState": null,
"orderTime": null,
"orderType": "6",
"orderUuid": null,
"promotions": [],
"realityOrderId": null,
"serviceTotalMoney": 0,
"shopAddress": "江夏区金融港",
"shopName": "bili江夏店",
"shopUuid": "f4215b5abdd14cb6a0659e66dd7e37d7",
"showToBlance": true,
"source": "0",
"storeCouponMoney": 0,
"storeCouponUuid": "",
"storeName": "门店同款",
"storeNote": null,
"storeUuid": "59c1486b83dc42e38eda7aeff037f94b",
"sysCouponMoney": 0,
"totalMoney": 480,
"useIntegral": 0,
"uuid": "59a5b366169f43569de939f5a20ef53c"
},
"shoppingCartProductList": [
{
"activityUuid": "",
"allAttrs": null,
"attrIds": "ly-00201",
"attrValues": [
{
"enName": "0fb5d1035e3c41daac08f162ec2b1ac8",
"name": "颜色",
"value": "红色",
"valueUuid": "54e05f5b94954628b17e7c45fcd9105e"
},
{
"enName": "3c68d352626a4566bc797c5a41bda430",
"name": "尺寸",
"value": "L号",
"valueUuid": "3a14992e88814f6d9ee7f557d13cb2be"
}
],
"basePrice": 480,
"buyNum": 1,
"c2fOrderId": null,
"c2fProductCode": null,
"c2fUuid": null,
"checkDiscount": true,
"checkFreightProduct": false,
"checked": true,
"cityId": "256",
"clerkDate": null,
"couponList": [],
"customerUuid": "38a752aaa51342dea3c7e6534cb0d6a8",
"detailAffix": 10,
"distributionUserId": null,
"existedInDB": false,
"favoriteState": false,
"finalDiscountPrice": 480,
"finalPrice": 480,
"integral": 0,
"integralReduce": 0,
"integralWarning": "",
"joinCartPrice": 0,
"limitNumber": 0,
"limitWarning": 0,
"marketPrice": 0,
"mkCouponReduce": 0,
"orderFreeMoney": 0,
"payMoney": 490,
"position": 0,
"productCouponMoney": 0,
"productCouponPrice": 0,
"productCouponUuid": null,
"productId": "c2a3d7e10f044337aaaead6d969730d7",
"productImgUrl": "http://test.jomoo.com.cn//dev1/0/000/000/0000000349.fid",
"productName": "硅胶易洁淋浴花洒",
"productWarning": "",
"promotionActivityRuleUuid": "",
"promotionPrice": 480,
"promotionSkuNo": "",
"promotions": [
{
"activtyProducts": [
{
"adviceNote": null,
"basePrice": 0,
"buyNum": 1,
"checked": false,
"finalPrice": 100,
"imgUrl": "http://test.jomoo.com.cn//dev1/0/000/001/0000001797.fid",
"marketPrice": 0,
"param1": null,
"productName": "硅胶易洁淋浴花洒",
"productUuid": "335eb6fdb38a4df997af7eca22a66ef4",
"promotionActivityRuleUuid": "9c21e464b0b242449d8c3fff84553842",
"promotionDefineUuid": "dbf1818578054aada889b7b827b36012",
"promotionSkuNo": "ly-00201",
"skuNo": "36509-122-1B-1",
"stock": 1
}
],
"couponGifts": null,
"giveType": null,
"name": "111111111111",
"nextRuleModel": null,
"nowRuleModel": null,
"position": 0,
"productGift": null,
"promotionGifts": null,
"promotionType": "2",
"promotionTypeStr": null,
"promotionUuid": null,
"ruleList": null,
"sendNum": 0,
"type": "1"
}
],
"protectionList": null,
"remark": null,
"serviceNum": 0,
"serviceTotalMoney": 0,
"stock": 995,
"storeCouponReduce": 0,
"suitSubProduct": [],
"suitSubProductUuids": null,
"sutibleList": null,
"sysCouponReduce": 0,
"totalPrice": "480.0",
"type": "12"
}
]
}
],
'totalMount':"360"
'totalCount':'1'
"totalNum":"1"
'totalCheckedNum':'1'
'checked':true
]
"customerUuid":"12312312"
"hotZonePlatUrl":"3123123"
"hotZonePlatImgSrc":"1`312312"
"message":"成功",
"return_code":"0"}</code></pre>
<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;">shoppingCart</td>
<td style="text-align: left;">shoppingCart</td>
<td>购物车对象</td>
</tr>
<tr>
<td style="text-align: left;">totalMount</td>
<td style="text-align: left;">String</td>
<td>商品总金额</td>
</tr>
<tr>
<td style="text-align: left;">totalCount</td>
<td style="text-align: left;">int</td>
<td>购物车中选中商品总数量</td>
</tr>
<tr>
<td style="text-align: left;">totalNum</td>
<td style="text-align: left;">int</td>
<td>购物车中商品总数量</td>
</tr>
<tr>
<td style="text-align: left;">totalCheckedNum</td>
<td style="text-align: left;">int</td>
<td>购物车中选中的商品总数量</td>
</tr>
<tr>
<td style="text-align: left;">checked</td>
<td style="text-align: left;">boolean</td>
<td>判断全选按钮是否选中</td>
</tr>
<tr>
<td style="text-align: left;">hotZonePlatUrl</td>
<td style="text-align: left;">boolean</td>
<td>热门广告地址</td>
</tr>
<tr>
<td style="text-align: left;">hotZonePlatImgSrc</td>
<td style="text-align: left;">boolean</td>
<td>热门广告图片</td>
</tr>
<tr>
<td style="text-align: left;">message</td>
<td style="text-align: left;">string</td>
<td>message</td>
</tr>
<tr>
<td style="text-align: left;">return_code</td>
<td style="text-align: left;">string</td>
<td>return_code</td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>