Authored by wujiexiang

Update newShoppingCart.md

@@ -26,18 +26,18 @@ @@ -26,18 +26,18 @@
26 "alg": "SALT_MD5", 26 "alg": "SALT_MD5",
27 "code": 200, 27 "code": 200,
28 "data": { 28 "data": {
29 - //预售商品"advance_cart_data": {  
30 - //可选赠品"gift_list": [ 29 + "advance_cart_data": { //预售商品
  30 + "gift_list": [//可选赠品
31 31
32 ], 32 ],
33 - //购物车商品"goods_list": [ 33 + "goods_list": [//购物车商品
34 { 34 {
35 "attribute": "1", 35 "attribute": "1",
36 "brand_id": "4", 36 "brand_id": "4",
37 - "brand_name": "Preppy Elite",  
38 - //品牌名称"brand_domain": "preppyelite",  
39 - //品牌域名"buy_limit": 0,  
40 - //购买数量"buy_number": "1", 37 + "brand_name": "Preppy Elite",//品牌名称
  38 + "brand_domain": "preppyelite",//品牌域名
  39 + "buy_limit": 0,
  40 + "buy_number": "1",//购买数量
41 "can_cod_pay": "Y", 41 "can_cod_pay": "Y",
42 "cn_alphabet": "5CMMianYi5CXJKB7169W55", 42 "cn_alphabet": "5CMMianYi5CXJKB7169W55",
43 "color_id": "6", 43 "color_id": "6",
@@ -95,22 +95,22 @@ @@ -95,22 +95,22 @@
95 "min_buy_number": 2//起购件数 95 "min_buy_number": 2//起购件数
96 } 96 }
97 ], 97 ],
98 - "off_shelves_goods_list": [ 98 + "off_shelves_goods_list": [//过时商品
99 99
100 ], 100 ],
101 - //过时商品"price_gift": [ 101 + "price_gift": [//可选加价购
102 102
103 ], 103 ],
104 - //可选加价购"promotion_info": [ 104 + "promotion_info": [//已参加促销活动列表
105 { 105 {
106 - //已参加促销活动列表"cutdown_amount": 10, 106 + "cutdown_amount": 10,
107 "promotion_id": 0, 107 "promotion_id": 0,
108 "promotion_title": "满599免运费", 108 "promotion_title": "满599免运费",
109 "promotion_type": "FreeShippingCost" 109 "promotion_type": "FreeShippingCost"
110 } 110 }
111 ], 111 ],
112 - "shopping_cart_data": {  
113 - //预售购物车统计"discount_amount": 0, 112 + "shopping_cart_data": {//预售购物车统计
  113 + "discount_amount": 0,
114 "fast_shopping_cost": 5, 114 "fast_shopping_cost": 5,
115 "gain_yoho_coin": 0, 115 "gain_yoho_coin": 0,
116 "goods_count": 1, 116 "goods_count": 1,
@@ -132,28 +132,28 @@ @@ -132,28 +132,28 @@
132 "str_discount_amount": "¥0.00", 132 "str_discount_amount": "¥0.00",
133 "str_order_amount": "¥2999.00" 133 "str_order_amount": "¥2999.00"
134 }, 134 },
135 - "sold_out_goods_list": [ 135 + "sold_out_goods_list": [//售罄商品
136 136
137 - ]//售罄商品 137 + ]
138 }, 138 },
139 - "ordinary_cart_data": {  
140 - //普通商品购物车"gift_list": [ 139 + "ordinary_cart_data": {//普通商品购物车
  140 + "gift_list": [//可选赠品
141 141
142 ], 142 ],
143 - //可选赠品"goods_list": [ 143 + "goods_list": [//购物车商品列表
144 { 144 {
145 - //购物车商品列表"attribute": "1", 145 + "attribute": "1",
146 "brand_id": "4", 146 "brand_id": "4",
147 "buy_limit": 0, 147 "buy_limit": 0,
148 - "buy_number": "1",  
149 - //购买数量"can_cod_pay": "Y", 148 + "buy_number": "1",//购买数量
  149 + "can_cod_pay": "Y",
150 "cn_alphabet": "5CMMianYi5CXJKF7183W55", 150 "cn_alphabet": "5CMMianYi5CXJKF7183W55",
151 "color_id": "2", 151 "color_id": "2",
152 "color_name": "黑色", 152 "color_name": "黑色",
153 "expect_arrival_time": "", 153 "expect_arrival_time": "",
154 - "fit_promotions": [ 154 + "fit_promotions": [//符合优惠活动
155 "6358", 155 "6358",
156 - //符合优惠活动"8981", 156 + "8981",
157 "8979", 157 "8979",
158 "8893", 158 "8893",
159 "6416" 159 "6416"
@@ -195,8 +195,7 @@ @@ -195,8 +195,7 @@
195 "str_subtotal": "¥100.00", 195 "str_subtotal": "¥100.00",
196 "subtotal": 100, 196 "subtotal": 100,
197 "supplier_id": 0, 197 "supplier_id": 0,
198 - "tags": [  
199 - //商品标签,I分期"I" 198 + "tags": [//商品标签,I分期"I"
200 ], 199 ],
201 "uid": "0", 200 "uid": "0",
202 "vip1_price": "0.00", 201 "vip1_price": "0.00",
@@ -319,10 +318,10 @@ @@ -319,10 +318,10 @@
319 "small_sort_id": "124", 318 "small_sort_id": "124",
320 "storage_number": "1", 319 "storage_number": "1",
321 "supplier_id": 0, 320 "supplier_id": 0,
322 - "tags": [ 321 + "tags": [//商品标签
323 322
324 ], 323 ],
325 - //商品标签"uid": "0", 324 + "uid": "0",
326 "vip1_price": "0.00", 325 "vip1_price": "0.00",
327 "vip2_price": "0.00", 326 "vip2_price": "0.00",
328 "vip3_price": "0.00", 327 "vip3_price": "0.00",
@@ -334,10 +333,10 @@ @@ -334,10 +333,10 @@
334 "min_buy_number": 2//起购件数 333 "min_buy_number": 2//起购件数
335 } 334 }
336 ], 335 ],
337 - "promotion_pool_list": [  
338 - //促销池{  
339 - "goods_list": [  
340 - //促销池中的商品列表{ 336 + "promotion_pool_list": [//促销池
  337 + {
  338 + "goods_list": [//促销池中的商品列表
  339 + {
341 "attribute": "1", 340 "attribute": "1",
342 "brand_domain": "目意思", 341 "brand_domain": "目意思",
343 "brand_id": "1018", 342 "brand_id": "1018",
@@ -666,9 +665,9 @@ @@ -666,9 +665,9 @@
666 "off_shelves_goods_list": [ 665 "off_shelves_goods_list": [
667 666
668 ], 667 ],
669 - "price_gift": [ 668 + "price_gift": [//可选加价购
670 { 669 {
671 - //可选加价购"gift_price": 11, 670 + "gift_price": 11,
672 "goods_list": [ 671 "goods_list": [
673 { 672 {
674 "cn_alphabet": "MACROPUSMCPA504BK1001ShuangJianBao", 673 "cn_alphabet": "MACROPUSMCPA504BK1001ShuangJianBao",