Authored by FengRuwei

添加购物车接口

@@ -22,6 +22,654 @@ @@ -22,6 +22,654 @@
22 ### 正常返回结果 22 ### 正常返回结果
23 ```json 23 ```json
24 { 24 {
25 - 25 + {
  26 + "alg": "SALT_MD5",
  27 + "code": 200,
  28 + "data": {
  29 + //预售商品
  30 + "advance_cart_data": {
  31 + //可选赠品
  32 + "gift_list": [],
  33 + //购物车商品
  34 + "goods_list": [{
  35 + "attribute": "1",
  36 + "brand_id": "4",
  37 + "buy_limit": 0, // 购买数量
  38 + "buy_number": "1",
  39 + "can_cod_pay": "Y",
  40 + "cn_alphabet": "5CMMianYi5CXJKB7169W55",
  41 + "color_id": "6",
  42 + "color_name": "绿色",
  43 + "expect_arrival_time": "7月",
  44 + "fit_promotions": [],
  45 + "get_yoho_coin": "0",
  46 + "goods_id": "426145",
  47 + "goods_images": "http://img13.static.yhbimg.com/goodsimg/2015/12/16/08/02e87af5883167b4d5f87f2f2331b813f2.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  48 + "goods_type": "advance",
  49 + "is_advance": "Y",
  50 + "is_jit": "N",
  51 + "is_limited": "N",
  52 + "is_outlets": "N",
  53 + "is_special": "N",
  54 + "last_price": "2999.0",
  55 + "last_vip_price": 2999,
  56 + "market_price": 2999,
  57 + "max_sort_id": "1",
  58 + "middle_sort_id": "20",
  59 + "off_shelves": 0,
  60 + "product_id": 331423,
  61 + "product_name": "5CM 拼接袖军事夹棉外套",
  62 + "product_skc": "321294",
  63 + "product_skn": "51185427",
  64 + "product_sku": "1006752",
  65 + "promotion_flag": "103",
  66 + "promotion_id": "0",
  67 + "real_price": 2999,
  68 + "real_vip_price": 0,
  69 + "sale_price": 0,
  70 + "sales_price": 2999,
  71 + "selected": "Y",
  72 + "shop_id": 0,
  73 + "shopping_cart_goods_id": "33682",
  74 + "shopping_cart_id": "118795696",
  75 + "size_id": "203",
  76 + "size_name": "M",
  77 + "small_sort_id": "123",
  78 + "storage_number": "1",
  79 + "str_subtotal": "¥2999.00",
  80 + "subtotal": 2999,
  81 + "supplier_id": 0,
  82 + "uid": "0",
  83 + "vip1_price": "0.00",
  84 + "vip2_price": "0.00",
  85 + "vip3_price": "0.00",
  86 + "vip_discount": 1,
  87 + "vip_discount_money": 0,
  88 + "vip_discount_type": "3",
  89 + "vip_price": 0,
  90 + "yoho_coin_num": "0"
  91 + }],
  92 + "off_shelves_goods_list": [], //过时商品
  93 + "price_gift": [], //可选加价购
  94 + "promotion_info": [{ //已参加促销活动列表
  95 + "cutdown_amount": 10,
  96 + "promotion_id": 0,
  97 + "promotion_title": "满599免运费",
  98 + "promotion_type": "FreeShippingCost"
  99 + }],
  100 + "shopping_cart_data": { //预售购物车统计
  101 + "discount_amount": 0,
  102 + "fast_shopping_cost": 5,
  103 + "gain_yoho_coin": 0,
  104 + "goods_count": 1,
  105 + "is_multi_package": "N",
  106 + "last_order_amount": 2999,
  107 + "order_amount": 2999,
  108 + "package_list": [],
  109 + "promotion_formula": "总计¥2999.00=商品金额¥2999.00",
  110 + "promotion_formula_list": [{
  111 + "promotion": "商品金额",
  112 + "promotion_amount": "¥2999.00"
  113 + }],
  114 + "selected_goods_count": 1,
  115 + "shipping_cost": 0,
  116 + "str_discount_amount": "¥0.00",
  117 + "str_order_amount": "¥2999.00"
  118 + },
  119 + "sold_out_goods_list": []
  120 + },
  121 + "ordinary_cart_data": { //普通商品购物车
  122 + "gift_list": [], //可选赠品
  123 + "goods_list": [{ //购物车商品列表
  124 + "attribute": "1",
  125 + "brand_id": "4",
  126 + "buy_limit": 0,
  127 + "buy_number": "1", //购买数量
  128 + "can_cod_pay": "Y",
  129 + "cn_alphabet": "5CMMianYi5CXJKF7183W55",
  130 + "color_id": "2",
  131 + "color_name": "黑色",
  132 + "expect_arrival_time": "",
  133 + "fit_promotions": ["6358", //符合优惠活动
  134 + "8981",
  135 + "8979",
  136 + "8893",
  137 + "6416"],
  138 + "get_yoho_coin": "0",
  139 + "goods_id": "426151",
  140 + "goods_images": "http://img10.static.yhbimg.com/goodsimg/2015/12/16/05/0163d0ecb1bada13ede0028723c30d7dba.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  141 + "goods_type": "ordinary",
  142 + "is_advance": "N",
  143 + "is_jit": "N",
  144 + "is_limited": "N",
  145 + "is_outlets": "N",
  146 + "is_special": "N",
  147 + "last_price": "100.0",
  148 + "last_vip_price": 100,
  149 + "market_price": 1799,
  150 + "max_sort_id": "1",
  151 + "middle_sort_id": "20",
  152 + "off_shelves": 0,
  153 + "product_id": 331427,
  154 + "product_name": "5CM 迷彩拼接棉衣夹克",
  155 + "product_skc": "321297",
  156 + "product_skn": "51185429",
  157 + "product_sku": "1006765",
  158 + "promotion_flag": "0",
  159 + "promotion_id": "0",
  160 + "real_price": 100,
  161 + "real_vip_price": 0,
  162 + "sale_price": 0,
  163 + "sales_price": 100,
  164 + "selected": "Y",
  165 + "shop_id": 0,
  166 + "shopping_cart_goods_id": "33684",
  167 + "shopping_cart_id": "118795696",
  168 + "size_id": "207",
  169 + "size_name": "S",
  170 + "small_sort_id": "123",
  171 + "storage_number": "1",
  172 + "str_subtotal": "¥100.00",
  173 + "subtotal": 100,
  174 + "supplier_id": 0,
  175 + "uid": "0",
  176 + "vip1_price": "0.00",
  177 + "vip2_price": "0.00",
  178 + "vip3_price": "0.00",
  179 + "vip_discount": 1,
  180 + "vip_discount_money": 0,
  181 + "vip_discount_type": "4",
  182 + "vip_price": 0,
  183 + "yoho_coin_num": "0"
  184 + },
  185 + {
  186 + "attribute": "1",
  187 + "brand_id": "302",
  188 + "buy_limit": 0,
  189 + "buy_number": "1",
  190 + "can_cod_pay": "Y",
  191 + "cn_alphabet": "IBSH15Q319BKX",
  192 + "color_id": "2",
  193 + "color_name": "黑色",
  194 + "expect_arrival_time": "",
  195 + "fit_promotions": [],
  196 + "get_yoho_coin": "0",
  197 + "goods_id": "337003",
  198 + "goods_images": "http://img11.static.yhbimg.com/goodsimg/2015/09/10/06/01473d2110ea9adc3dc71304e03f9cc534.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  199 + "goods_type": "gift",
  200 + "is_advance": "N",
  201 + "is_jit": "N",
  202 + "is_limited": "N",
  203 + "is_outlets": "N",
  204 + "is_special": "N",
  205 + "last_price": "0.0",
  206 + "last_vip_price": 240,
  207 + "market_price": 499,
  208 + "max_sort_id": "6",
  209 + "middle_sort_id": "45",
  210 + "off_shelves": 0,
  211 + "product_id": 259359,
  212 + "product_name": "IVYBOI×INTREPID联名款 灰黑骷髅鞋带扣登山靴 超轻",
  213 + "product_skc": "270009",
  214 + "product_skn": "51144693",
  215 + "product_sku": "866449",
  216 + "promotion_flag": "101",
  217 + "promotion_id": "8981",
  218 + "real_price": 0,
  219 + "real_vip_price": 0,
  220 + "sale_price": 0,
  221 + "sales_price": 240,
  222 + "selected": "Y",
  223 + "shop_id": 0,
  224 + "shopping_cart_goods_id": "33710",
  225 + "shopping_cart_id": "118795696",
  226 + "size_id": "116",
  227 + "size_name": "40码",
  228 + "small_sort_id": "148",
  229 + "storage_number": "61",
  230 + "supplier_id": 0,
  231 + "uid": "0",
  232 + "vip1_price": "0.00",
  233 + "vip2_price": "0.00",
  234 + "vip3_price": "0.00",
  235 + "vip_discount": 1,
  236 + "vip_discount_money": 0,
  237 + "vip_discount_type": "3",
  238 + "vip_price": 0,
  239 + "yoho_coin_num": "0"
  240 + },
  241 + {
  242 + "attribute": "1",
  243 + "brand_id": "4",
  244 + "buy_limit": 0,
  245 + "buy_number": "1",
  246 + "can_cod_pay": "Y",
  247 + "cn_alphabet": "5CMJiaKe5CXJKF7159W55",
  248 + "color_id": "1",
  249 + "color_name": "白色",
  250 + "expect_arrival_time": "",
  251 + "fit_promotions": [],
  252 + "get_yoho_coin": "0",
  253 + "goods_id": "391683",
  254 + "goods_images": "http://img11.static.yhbimg.com/goodsimg/2015/12/09/08/013d2e8ebff5c357a148b8c21afc939b6f.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  255 + "goods_type": "price_gift",
  256 + "is_advance": "N",
  257 + "is_jit": "N",
  258 + "is_limited": "N",
  259 + "is_outlets": "N",
  260 + "is_special": "N",
  261 + "last_price": "19.0",
  262 + "last_vip_price": 1999,
  263 + "market_price": 1999,
  264 + "max_sort_id": "1",
  265 + "middle_sort_id": "21",
  266 + "off_shelves": 0,
  267 + "product_id": 305567,
  268 + "product_name": "5CM 个性多口袋MA-1夹克",
  269 + "product_skc": "300145",
  270 + "product_skn": "51170438",
  271 + "product_sku": "947398",
  272 + "promotion_flag": "103",
  273 + "promotion_id": "6358",
  274 + "real_price": 19,
  275 + "real_vip_price": 0,
  276 + "sale_price": 19,
  277 + "sales_price": 1999,
  278 + "selected": "Y",
  279 + "shop_id": 0,
  280 + "shopping_cart_goods_id": "33712",
  281 + "shopping_cart_id": "118795696",
  282 + "size_id": "211",
  283 + "size_name": "XL",
  284 + "small_sort_id": "124",
  285 + "storage_number": "1",
  286 + "supplier_id": 0,
  287 + "uid": "0",
  288 + "vip1_price": "0.00",
  289 + "vip2_price": "0.00",
  290 + "vip3_price": "0.00",
  291 + "vip_discount": 1,
  292 + "vip_discount_money": 0,
  293 + "vip_discount_type": "3",
  294 + "vip_price": 0,
  295 + "yoho_coin_num": "0"
  296 + }],
  297 + "off_shelves_goods_list": [],
  298 + "price_gift": [{ //可选加价购
  299 + "gift_price": 11,
  300 + "goods_list": [{
  301 + "cn_alphabet": "MACROPUSMCPA504BK1001ShuangJianBao",
  302 + "goods_id": "338943",
  303 + "goods_images": "http://img13.static.yhbimg.com/goodsimg/2015/09/30/02/02a1adf8742f4d21a98cb14319efd9bb5c.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  304 + "last_price": 11,
  305 + "market_price": 199,
  306 + "product_id": 260949,
  307 + "product_name": "MACROPUS 简约太空棉双肩包",
  308 + "product_skn": 51146105,
  309 + "sales_price": 88,
  310 + "storage_number": 993
  311 + },
  312 + {
  313 + "cn_alphabet": "MACROPUSMCPA504BK1101ShuangJianBao",
  314 + "goods_id": "338951",
  315 + "goods_images": "http://img10.static.yhbimg.com/goodsimg/2015/10/03/03/01fa23e2bbc8e280e37c823280ad98878c.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  316 + "last_price": 11,
  317 + "market_price": 199,
  318 + "product_id": 260951,
  319 + "product_name": "MACROPUS 简约毛呢双肩包",
  320 + "product_skn": 51146106,
  321 + "sales_price": 88,
  322 + "storage_number": 1499
  323 + }],
  324 + "max_select_number": "1",
  325 + "promotion_id": 8893,
  326 + "promotion_title": "(自动化)B.Duck打折8.8折",
  327 + "promotion_type": "Needpaygift"
  328 + }],
  329 + "promotion_info": [{
  330 + "cutdown_amount": 19,
  331 + "promotion_id": 6358,
  332 + "promotion_title": "H5加价购-5cm",
  333 + "promotion_type": "Needpaygift"
  334 + },
  335 + {
  336 + "cutdown_amount": 0,
  337 + "promotion_id": 8981,
  338 + "promotion_title": "frw",
  339 + "promotion_type": "Gift"
  340 + }],
  341 + "shopping_cart_data": {
  342 + "discount_amount": 2220,
  343 + "fast_shopping_cost": 15,
  344 + "gain_yoho_coin": 0,
  345 + "goods_count": 3,
  346 + "is_multi_package": "N",
  347 + "last_order_amount": 119,
  348 + "order_amount": 2339,
  349 + "package_list": [],
  350 + "promotion_formula": "总计¥119.00=商品金额¥2339.00-活动金额¥2220.00",
  351 + "promotion_formula_list": [{
  352 + "promotion": "商品金额",
  353 + "promotion_amount": "¥2339.00"
  354 + },
  355 + {
  356 + "promotion": "活动金额",
  357 + "promotion_amount": "-¥2220.00"
  358 + }],
  359 + "selected_goods_count": 3,
  360 + "shipping_cost": 10,
  361 + "str_discount_amount": "¥2220.00",
  362 + "str_order_amount": "¥2339.00"
  363 + },
  364 + "sold_out_goods_list": []
  365 + }
  366 + },
  367 + "md5": "e2c62030c5404412b17e56bbd90f39de",
  368 + "message": "cart goods list."
26 } 369 }
27 -```  
  370 +```
  371 +
  372 +
  373 +
  374 +### 添加购物车
  375 +
  376 +### 接口说明
  377 +
  378 +| 接口说明 | 接口说明 |
  379 +| :-- | -----: |
  380 +| 接口名 | app.Shopping.add |
  381 +| 接口说明 | 添加商品到购物车 |
  382 +| http请求方式 | GET/POST |
  383 +
  384 +### 请求参数
  385 +| 名称 | 类型 | 是否必须 | 示例值 | 默认值 | 描述 |
  386 +| :-- | :-- | :-- | :-- | :-- | :-- |
  387 +| method | string | 是 | app.Shopping.add | | |
  388 +| product_sku | int | 是 | 12121212 | |sku |
  389 +| uid | int | 否 | 5772257 | |用户id |
  390 +| shopping_key | int | 否 | c36408a268e9b9418189d9a71967379e | | 购物车key|
  391 +| buy_number | string | 否 | 1 | 1 | 购买数量 |
  392 +| promotion_id | int | 否 | | | 促销优惠id |
  393 +| selected | string | 否 | Y | Y | 是否选中(Y/N) |
  394 +
  395 +
  396 +### 正常返回结果
  397 +```json
  398 +{
  399 + "alg": "SALT_MD5",
  400 + "code": 200,
  401 + "data": {
  402 + "goods_count": "7", //购物车商品数量
  403 + "shopping_key": "c36408a268e9b9418189d9a71967379e" //shopping_key
  404 + },
  405 + "md5": "f9a4a776eb18b6d62a7b3ba992fa6041",
  406 + "message": "加入成功"
  407 +}
  408 +```
  409 +
  410 +### 增加商品数量
  411 +
  412 +### 接口说明
  413 +
  414 +| 接口说明 | 接口说明 |
  415 +| :-- | -----: |
  416 +| 接口名 | app.Shopping.increase |
  417 +| 接口说明 | 增加商品数量 |
  418 +| http请求方式 | GET/POST |
  419 +
  420 +### 请求参数
  421 +| 名称 | 类型 | 是否必须 | 示例值 | 默认值 | 描述 |
  422 +| :-- | :-- | :-- | :-- | :-- | :-- |
  423 +| method | string | 是 | app.Shopping.increase | | |
  424 +| product_sku | int | 是 | 12121212 | |sku |
  425 +| uid | int | 否 | 5772257 | |用户id |
  426 +| shopping_key | int | 否 | c36408a268e9b9418189d9a71967379e | | 购物车key|
  427 +| increase_number | string | 否 | 1 | 1 | 增加数量 |
  428 +| promotion_id | int | 否 | | | 促销优惠id |
  429 +
  430 +### 正常返回结果
  431 +```json
  432 +{
  433 + "alg": "SALT_MD5",
  434 + "code": 200,
  435 + "data": {
  436 + "goods_count": "7", //购物车商品数量
  437 + "shopping_key": "c36408a268e9b9418189d9a71967379e" //shopping_key
  438 + },
  439 + "md5": "f9a4a776eb18b6d62a7b3ba992fa6041",
  440 + "message": "操作成功"
  441 +}
  442 +```
  443 +
  444 +
  445 +### 减少购物车商品数量
  446 +
  447 +### 接口说明
  448 +
  449 +| 接口说明 | 接口说明 |
  450 +| :-- | -----: |
  451 +| 接口名 | app.Shopping.decrease |
  452 +| 接口说明 | 减少购物车商品数量 |
  453 +| http请求方式 | GET/POST |
  454 +
  455 +### 请求参数
  456 +| 名称 | 类型 | 是否必须 | 示例值 | 默认值 | 描述 |
  457 +| :-- | :-- | :-- | :-- | :-- | :-- |
  458 +| method | string | 是 | app.Shopping.decrease | | |
  459 +| product_sku | int | 是 | 12121212 | |sku |
  460 +| uid | int | 否 | 5772257 | |用户id |
  461 +| shopping_key | int | 否 | c36408a268e9b9418189d9a71967379e | | 购物车key|
  462 +| decrease_number | string | 否 | 1 | 1 | 减少数量 |
  463 +| promotion_id | int | 否 | | | 促销优惠id |
  464 +
  465 +### 正常返回结果
  466 +```json
  467 +{
  468 + "alg": "SALT_MD5",
  469 + "code": 200,
  470 + "data": {
  471 + "goods_count": "7", //购物车商品数量
  472 + "shopping_key": "c36408a268e9b9418189d9a71967379e" //shopping_key
  473 + },
  474 + "md5": "f9a4a776eb18b6d62a7b3ba992fa6041",
  475 + "message": "操作成功"
  476 +}
  477 +```
  478 +
  479 +
  480 +### 更换商品
  481 +
  482 +### 接口说明
  483 +
  484 +| 接口说明 | 接口说明 |
  485 +| :-- | -----: |
  486 +| 接口名 | app.Shopping.swap |
  487 +| 接口说明 | 更换商品 |
  488 +| http请求方式 | GET/POST |
  489 +
  490 +### 请求参数
  491 +| 名称 | 类型 | 是否必须 | 示例值 | 默认值 | 描述 |
  492 +| :-- | :-- | :-- | :-- | :-- | :-- |
  493 +| method | string | 是 | app.Shopping.swap | | |
  494 +| uid | int | 否 | 5772257 | | |
  495 +| shopping_key | string | 否 | c36408a268e9b9418189d9a71967379e | | |
  496 +| swap_data | string | 是 | [{"buy_number":11,"selected":"Y","new_product_sku":"886593","old_product_sku":"131874"}] | | 更换商品信息 |
  497 +
  498 +### 正常返回结果
  499 +```json
  500 +{
  501 + "alg": "SALT_MD5",
  502 + "code": 200,
  503 + "data": {
  504 + "goods_count": "7", //购物车商品数量
  505 + "shopping_key": "c36408a268e9b9418189d9a71967379e" //shopping_key
  506 + },
  507 + "md5": "f9a4a776eb18b6d62a7b3ba992fa6041",
  508 + "message": "加入成功"
  509 +}
  510 +```
  511 +
  512 +### 移除商品到收藏夹
  513 +
  514 +### 接口说明
  515 +
  516 +| 接口说明 | 接口说明 |
  517 +| :-- | -----: |
  518 +| 接口名 | app.Shopping.addfavorite |
  519 +| 接口说明 | 移除商品到收藏夹 |
  520 +| http请求方式 | GET/POST |
  521 +
  522 +### 请求参数
  523 +| 名称 | 类型 | 是否必须 | 示例值 | 默认值 | 描述 |
  524 +| :-- | :-- | :-- | :-- | :-- | :-- |
  525 +| method | string | 是 | app.Shopping.addfavorite | | |
  526 +| uid | int | 否 | 5772257 | | |
  527 +| shopping_key | string | 否 | c36408a268e9b9418189d9a71967379e | | |
  528 +| product_sku_list | string | 是 | {'131873':1,'765802':1} | | |
  529 +
  530 +### 正常返回结果
  531 +```json
  532 +{
  533 + "alg": "SALT_MD5",
  534 + "code": 200,
  535 + "data": {
  536 + "goods_count": "7", //购物车商品数量
  537 + "shopping_key": "c36408a268e9b9418189d9a71967379e" //shopping_key
  538 + },
  539 + "md5": "f9a4a776eb18b6d62a7b3ba992fa6041",
  540 + "message": "操作成功"
  541 +}
  542 +```
  543 +
  544 +
  545 +
  546 +### 移除商品到收藏夹并查询购物车
  547 +
  548 +### 接口说明
  549 +
  550 +| 接口说明 | 接口说明 |
  551 +| :-- | -----: |
  552 +| 接口名 | app.Shopping.addfavoriteAndCart |
  553 +| 接口说明 | 移除商品到收藏夹并查询购物车 |
  554 +| http请求方式 | GET/POST |
  555 +
  556 +### 请求参数
  557 +| 名称 | 类型 | 是否必须 | 示例值 | 默认值 | 描述 |
  558 +| :-- | :-- | :-- | :-- | :-- | :-- |
  559 +| method | string | 是 | app.Shopping.addfavoriteAndCart | | |
  560 +| uid | int | 否 | 5772257 | | |
  561 +| shopping_key | string | 否 | c36408a268e9b9418189d9a71967379e | | |
  562 +| product_sku_list | string | 是 | [{"product_sku":"828393","buy_number":1,"promotion_id":0}] | | |
  563 +
  564 +### 正常返回结果
  565 +```json
  566 +同查询购物车返回结果
  567 +```
  568 +
  569 +
  570 +
  571 +### 删除购物车商品
  572 +
  573 +### 接口说明
  574 +
  575 +| 接口说明 | 接口说明 |
  576 +| :-- | -----: |
  577 +| 接口名 | app.Shopping.remove |
  578 +| 接口说明 | 删除购物车商品 |
  579 +| http请求方式 | GET/POST |
  580 +
  581 +### 请求参数
  582 +| 名称 | 类型 | 是否必须 | 示例值 | 默认值 | 描述 |
  583 +| :-- | :-- | :-- | :-- | :-- | :-- |
  584 +| method | string | 是 | app.Shopping.remove | | |
  585 +| uid | int | 否 | 5772257 | | |
  586 +| shopping_key | string | 否 | c36408a268e9b9418189d9a71967379e | | |
  587 +| product_sku_list | string | 是 | {'131874':1,'765802':1} | | |
  588 +
  589 +### 正常返回结果
  590 +```json
  591 +{
  592 + "alg": "SALT_MD5",
  593 + "code": 200,
  594 + "data": {
  595 + "goods_count": "7", //购物车商品数量
  596 + "shopping_key": "c36408a268e9b9418189d9a71967379e" //shopping_key
  597 + },
  598 + "md5": "f9a4a776eb18b6d62a7b3ba992fa6041",
  599 + "message": "操作成功"
  600 +}
  601 +```
  602 +
  603 +
  604 +### 删除并查询购物车商品
  605 +
  606 +### 接口说明
  607 +
  608 +| 接口说明 | 接口说明 |
  609 +| :-- | -----: |
  610 +| 接口名 | app.Shopping.removeAndCart |
  611 +| 接口说明 | 删除并查询购物车商品 |
  612 +| http请求方式 | GET/POST |
  613 +
  614 +### 请求参数
  615 +| 名称 | 类型 | 是否必须 | 示例值 | 默认值 | 描述 |
  616 +| :-- | :-- | :-- | :-- | :-- | :-- |
  617 +| method | string | 是 | app.Shopping.removeAndCart | | |
  618 +| uid | int | 否 | 5772257 | | |
  619 +| shopping_key | string | 否 | c36408a268e9b9418189d9a71967379e | | |
  620 +| product_sku_list | string | 是 | [{"product_sku":131874,"buy_number":2,"promotion_id":0}] | | |
  621 +
  622 +### 正常返回结果
  623 +```json
  624 +同查询购物车返回结果
  625 +```
  626 +
  627 +
  628 +
  629 +
  630 +### 获取购物车总数
  631 +
  632 +### 接口说明
  633 +
  634 +| 接口说明 | 接口说明 |
  635 +| :-- | -----: |
  636 +| 接口名 | app.Shopping.count |
  637 +| 接口说明 | 获取购物车总数 |
  638 +| http请求方式 | GET/POST |
  639 +
  640 +### 请求参数
  641 +| 名称 | 类型 | 是否必须 | 示例值 | 默认值 | 描述 |
  642 +| :-- | :-- | :-- | :-- | :-- | :-- |
  643 +| method | string | 是 | app.Shopping.count | | |
  644 +| uid | int | 否 | 5772257 | | |
  645 +| shopping_key | string | 否 | c36408a268e9b9418189d9a71967379e | | |
  646 +
  647 +### 正常返回结果
  648 +```json
  649 +{
  650 + "alg": "SALT_MD5",
  651 + "code": 200,
  652 + "data": {
  653 + "cart_goods_count": 7
  654 + },
  655 + "md5": "5f7db2059c7e09259edca244025949a9",
  656 + "message": "cart goods count."
  657 +}
  658 +```
  659 +
  660 +
  661 +
  662 +
  663 +
  664 +
  665 +
  666 +
  667 +
  668 +
  669 +
  670 +
  671 +
  672 +
  673 +
  674 +
  675 +