Authored by LUOXC

refactor

  1 +### 我的订单
  2 +
  3 +#### 说明
  4 +我的订单
  5 +#### 请求参数
  6 +| Param Name | Param Value | Desc|
  7 +| :-------- | --------------:|----:|
  8 +| method | app.SpaceOrders.get| 请求方法 |
  9 +| type | 1 | 订单类型 |
  10 +| page | 1 | 页数 |
  11 +| limit | 10 | 每页大小 |
1 12
  13 +#### 响应内容
  14 +```json
  15 +{
  16 +"code":200,
  17 +"message":"ok",
  18 +"data":[]
  19 +}
  20 +```
2 21
3 -# 接口编号  
4 -  
5 - 接口编号用于接口降级使用  
6 -  
7 -## api.yoho.cn  
8 -  
9 -|接口名称| 编号|  
10 -|---|:---|  
11 -|app.product.intro|1|  
12 -|app.product.data|2|  
13 -|app.sort.get|3|  
14 -|app.search.category|4|  
15 -|app.search.sales|5|  
16 -|app.search.newProduct|6|  
17 -|app.search.fuzzy|7|  
18 -|app.search.li|8|  
19 -|app.brand.brandlist|9|  
20 -|app.search.brand|10|  
21 -|app.favorite.add|11|  
22 -|app.favorite.cancel|12|  
23 -|app.home.preference|13|  
24 -|app.search.top|14|  
25 -|app.search.last7day|15|  
26 -|h5.consult.li|16|  
27 -|h5.consult.add|17|  
28 -|h5.preference.Search|18|  
29 -|h5.sortPreference.Search|19|  
30 -|h5.product.data|20|  
31 -|h5.product.intro|21|  
32 -|app.config.fashioncodeTemplate|22|  
33 -|app.promotion.sendCheckCode|23|  
34 -|app.promotion.getCoupon|24|  
35 -|app.promotion.validCode|25|  
36 -|app.promotion.queryCoupon|26|  
37 -|app.address.get|27|  
38 -|app.address.getlist|28|  
39 -|app.address.add|29|  
40 -|app.address.del|30|  
41 -|app.address.setDefault|31|  
42 -|app.address.provinces|32|  
43 -|app.address.update|33|  
44 -|inbox.updateInbox|34|  
45 -|inbox.queryListById|35|  
46 -|app.inbox.getlist|36|  
47 -|app.inbox.getlistnew|37|  
48 -|app.register.sendRegCodeToMobile|38|  
49 -|app.register.validRegCode|39|  
50 -|app.coupons.total|40|  
51 -|app.coupons.li|41|  
52 -|app.home.getInfoNum|42|  
53 -|app.passport.register|43|  
54 -|app.passport.profile|44|  
55 -|app.passport.signin|45|  
56 -|app.passport.signinByOpenID|46|  
57 -|app.passport.bind|47|  
58 -|app.passport.changeCheck|48|  
59 -|app.passport.modifyBase|49|  
60 -|app.passport.check|50|  
61 -|app.passport.getPrivilege|51|  
62 -|app.passport.smsbind|52|  
63 -|app.passport.vip|53|  
64 -|app.passport.changeMobile|54|  
65 -|app.brand.getBrandIntro|55|  
66 -|app.yohocoin.lists|56|  
67 -|app.yohocoin.total|57|  
68 -|show.toShareOrderList|58|  
69 -|show.productShareOrderList|59|  
70 -|show.allToShareOrderList|60|  
71 -|show.ownerShareList|61|  
72 -|show.otherToShareOrderList|62|  
73 -|show.showChannel|63|  
74 -|show.saveShareOrder|64|  
75 -|app.SpaceOrders.getShareOrder|65|  
76 -|app.SpaceOrders.info|66|  
77 -|app.SpaceOrders.get|67|  
78 -|app.SpaceOrders.detail|68|  
79 -|app.SpaceOrders.confirm|69|  
80 -|app.favorite.brand|70|  
81 -|app.favorite.product|71|  
82 -|app.consult.add|72|  
83 -|app.consult.li|73|  
84 -|app.consult.common|74|  
85 -|app.product.preference|75|  
86 -|app.consult.useful|76|  
87 -|app.consult.like|77|  
88 -|app.resources.config.clientInitConfig|78|  
89 -|app.Shopping.add|79|  
90 -|app.Shopping.cart|80|  
91 -|app.Shopping.increase|81|  
92 -|app.Shopping.decrease|82|  
93 -|app.Shopping.swap|83|  
94 -|app.Shopping.remove|84|  
95 -|app.Shopping.payment|85|  
96 -|app.Shopping.count|86|  
97 -|app.Shopping.selected|87|  
98 -|app.Shopping.compute|88|  
99 -|app.Shopping.useCoupon|89|  
100 -|app.Shopping.submit|90|  
101 -|app.yoho.yohocoin|91|  
102 -|app.browse.product|92|  
103 -|app.browse.delete|93|  
104 -|app.yoho.redpacket|94|  
105 -|app.yoho.redpacketInfo|95|  
106 -|app.promotion.queryBirthCoupon|96|  
107 -|app.resources.getNotices|97|  
108 -|app.promotion.queryUserShowYohoCoin|98|  
109 -|app.Shopping.usePromotionCode|99|  
110 -|show.addPraise|100|  
111 -|show.cancelPraise|101|  
112 -|app.promotion_code.get|102|  
113 -|app.express.get|103|  
114 -|app.express.li|104|  
115 -|app.express.getExpressInfo|105|  
116 -|app.express.getExpressCompany|106|  
117 -|app.express.getNewExpress|107|  
118 -|app.express.getRefundExpress|108|  
119 -|app.refund.goodsList|109|  
120 -|app.refund.getList|110|  
121 -|app.refund.detail|111|  
122 -|app.refund.setexpress|112|  
123 -|app.refund.submit|113|  
124 -|app.SpaceOrders.close|114|  
125 -|app.SpaceOrders.delOrderByCode|115|  
126 -|app.register.sendBackpwdCodeToMobile|116|  
127 -|app.register.validBackpwdCode|117|  
128 -|app.register.changepwdByMobileCode|118|  
129 -|app.register.backpwdByEmail|119|  
130 -|app.inbox.getTotal|120|  
131 -|app.product.gift|121|  
132 -|app.consult.lastTwo|122|  
133 -|show.recentShareOrderByProductId|123|  
134 -|app.SpaceOrders.payConfirm|124|  
135 -|app.SpaceOrders.updateOrdersPaymentByCode|125|  
136 -|app.Shopping.erpSubmitStat|126|  
137 -|app.search.getTerms|127|  
138 -|app.search.compareRecord|128|  
139 -|app.search.getTerms|129|  
140 -|app.brand.banner|130|  
141 -|app.SpaceOrders.close|131|  
142 -|app.change.submit|132|  
143 -|app.change.detail|133|  
144 -|app.change.setexpress|134|  
145 -|app.change.getDelivery|135|  
146 -|app.change.goodsList|136|  
147 -|app.cover.getCoverStart|137|  
148 -|app.msgsys.getIosUser|138|  
149 -|app.Msgsys.getAndroidUser|139|  
150 -|app.msgsys.pushIosUser|140|  
151 -|app.Msgsys.pushAndroidUser|141|  
152 -|app.activity.getlist|142|  
153 -|app.activity.bindaccount|143|  
154 -|app.activity.getshare|144|  
155 -|app.activity.addshare|145|  
156 -|app.search.lifeStyle|146|  
157 -|app.search.kids|147|  
158 -|app.brand.banner|148|  
159 -|app.help.li|149|  
160 -|app.help.detail|150|  
161 -|app.drawline.getQueueList|151|  
162 -|app.drawline.addQueue|152|  
163 -|app.drawline.getUserActivityInfo|153|  
164 -|app.drawline.getActivityInfo|154|  
165 -|app.drawline.getLuckyUserList|155|  
166 -|app.drawline.changeTaskValue|156|  
167 -|app.limitcode.add|157|  
168 -|app.limitcode.query|158|  
169 -|app.limitcode.showredpoint|159|  
170 -|app.limitcode.deleteinvalid|160|  
171 -|app.limitProduct.alreadySaleLimitProduct|161|  
172 -|app.limitProduct.hotLimitProduct|162|  
173 -|app.limitProduct.soonToSaleLimitProduct|163|  
174 -|app.limitProduct.limitProductDetail|164|  
175 -|app.limitProduct.limitProductHtml|165|  
176 -|app.reminder.addUserReminder|166|  
177 -|app.reminder.getUserReminder|167|  
178 -|show.notCommentRecordCount|168|  
179 -|app.help.li|169|  
180 -|app.help.detail|170|  
181 -  
182 -## service.yoho.cn  
183 -|接口名称| 编号|  
184 -|---|:---|  
185 -|/operations/api/v5/webshare/getShare|1000|  
186 -|/operations/api/v4/icon/getIcon|1001|  
187 -|/operations/api/v5/resource/home |1002|  
188 -|/operations/api/v5/resource/get |1003|  
189 -|/union/UnionRest/activeUnion |1004|  
190 -|/payment/wechat_data |1005|  
191 -|/payment/wechat_notify|1006|  
192 -|/payment/alipaywap_notify |1007|  
193 -|/payment/wechatwap_notify |1008|  
194 -|/payment/alipay_notify |1009|  
195 -|/payment/alipay_newnotify |1010|  
196 -|/payment/unionpay_notify|1011|  
197 -|/payment/unionpay_newnotify|1012|  
198 -|/payment/unionpay_data|1013|  
199 -|/operations/api/v5/help/getCategory|1014|  
200 -|/operations/api/v5/help/getHelp|1015|  
201 -|/operations/api/v5/help/getHelpContent|1016|  
202 -|/operations/api/v6/category/getCategory|1017|  
203 -|/operations/api/v5/entrance/getEntrance|1018|  
204 -|/operations/api/v5/version/getVersion|1019|  
  22 +### 根据订单号取消订单
  23 +
  24 +#### 说明
  25 +根据订单号取消订单
  26 +#### 请求参数
  27 +| Param Name | Param Value | Desc|
  28 +| :-------- | --------------:|----:|
  29 +| method | app.SpaceOrders.close| 请求方法 |
  30 +| order_code | 1061003682 | 订单号 |
  31 +
  32 +#### 响应内容
  33 +```json
  34 +{
  35 +"code":200,
  36 +"message":"订单取消成功"
  37 +}
  38 +```
  39 +
  40 +### 根据订单号确认订单
  41 +
  42 +#### 说明
  43 +根据订单号确认订单
  44 +#### 请求参数
  45 +| Param Name | Param Value | Desc|
  46 +| :-------- | --------------:|----:|
  47 +| method | app.SpaceOrders.confirm| 请求方法 |
  48 +| order_code | 1061003682 | 订单号 |
  49 +
  50 +#### 响应内容
  51 +```json
  52 +{
  53 +"code":200,
  54 +"message":"订单确认成功"
  55 +}
  56 +```
  57 +
  58 +
  59 +### 获取电子票列表-app.SpaceOrders.getQrByOrderCode
  60 +
  61 +
  62 +
  63 +#### 说明
  64 +根据订单号获取电子票列表
  65 +#### 请求参数
  66 +| Param Name | Param Value | Desc|
  67 +| :-------- | --------------:|----:|
  68 +| method | app.SpaceOrders.getQrByOrderCode| 请求方法 |
  69 +| order_code | 1061003682 | 订单号 |
  70 +
  71 +#### 响应内容
  72 +```json
  73 +{
  74 + "code": 200,
  75 + "data": {
  76 + "ticks": [{
  77 + "ticket_code":"8611779901",
  78 + "passkit":"Y"
  79 + }],
  80 + "title": "FURY ANIMALS Normal迷彩系列BUNNY短袖TEE"
  81 + },
  82 + "md5": "24aff7ba505dccb63a14b5d78ae22821",
  83 + "message": "ok"
  84 +}
  85 +```
  86 +##### 响应内容描述
  87 +| Param Name | Param Type | Desc |
  88 +| ---------- | ---------- | ---- |
  89 +| title | string | 商品名称 |
  90 +| ticks | json | 电子票 |
  91 +| ticket_code| string | |
  92 +| passkit | string | |
  93 +
  94 +### 获取YOHOGift
  95 +
  96 +#### 说明
  97 +根据skn获取yohoGift
  98 +#### 请求参数
  99 +| Param Name | Param Value | Desc|
  100 +| :-------- | --------------:|----:|
  101 +| method | web.Shopping.yohoGift| 请求方法 |
  102 +| skn_list | [50001829,50002280]| skn列表 |
  103 +
  104 +#### 响应内容
  105 +```json
  106 + {
  107 + "alg": "SALT_MD5",
  108 + "code": 200,
  109 + "data":
  110 + [
  111 + {
  112 + "default_pic": "http://img11.static.yhbimg.com/goodsimg/2012/03/02/17/019a0794f1eb1ad77ce5d8a2c2b2cf2e50.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  113 + "id": 3,
  114 + "price":
  115 + {
  116 + "sales_price": 250,
  117 + "yoho_coin_num": 0
  118 + },
  119 + "product_name": "OVERKILL 天使山羊TEE",
  120 + "storage": 0,
  121 + "storage_list":
  122 + [
  123 + {
  124 + "erp_sku_id": 102009,
  125 + "goods_dimension_id": 201,
  126 + "goods_id": 3,
  127 + "product_id": 3,
  128 + "size":
  129 + {
  130 + "size_name": "L"
  131 + },
  132 + "storage_num": 0
  133 + },
  134 + {
  135 + "erp_sku_id": 102010,
  136 + "goods_dimension_id": 203,
  137 + "goods_id": 3,
  138 + "product_id": 3,
  139 + "size":
  140 + {
  141 + "size_name": "M"
  142 + },
  143 + "storage_num": 0
  144 + },
  145 + {
  146 + "erp_sku_id": 102012,
  147 + "goods_dimension_id": 211,
  148 + "goods_id": 3,
  149 + "product_id": 3,
  150 + "size":
  151 + {
  152 + "size_name": "XL"
  153 + },
  154 + "storage_num": 0
  155 + }
  156 + ],
  157 + "url": "http://www.yohobuy.com/product/pro_3_3/OVERKILL TianShiShanYangTEE.html"
  158 + },
  159 + {
  160 + "default_pic": "http://img10.static.yhbimg.com/goodsimg/2011/06/23/04/0158a984a768a351328138ea3671e270de.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  161 + "id": 5,
  162 + "price":
  163 + {
  164 + "sales_price": 138,
  165 + "yoho_coin_num": 0
  166 + },
  167 + "product_name": "MANIA TAKI X 圆领印花短袖TEE",
  168 + "storage": 0,
  169 + "storage_list":
  170 + [
  171 + {
  172 + "erp_sku_id": 102015,
  173 + "goods_dimension_id": 213,
  174 + "goods_id": 5,
  175 + "product_id": 5,
  176 + "size":
  177 + {
  178 + "size_name": "XS"
  179 + },
  180 + "storage_num": 0
  181 + }
  182 + ],
  183 + "url": "http://www.yohobuy.com/product/pro_5_5/MANIA TAKI X YuanLingYinHuaDuanXiuTEE.html"
  184 + }
  185 + ],
  186 + "md5": "d6e4c90434e98a90555d864cf4798679",
  187 + "message": "操作成功"
  188 + }
  189 +```
  190 +
  191 +### 购物车列表
  192 +
  193 +#### 说明
  194 +
  195 +#### 请求参数
  196 +| Param Name | Param Value | Desc|
  197 +| :-------- | --------------:|----:|
  198 +| method | app.Shopping.cart| 请求方法 |
  199 +| shopping_key | 9c101f734768105aafc792d460d12206 | |
  200 +| uid | 10166061 | |
  201 +
  202 +#### 响应内容
  203 +```json
  204 +{
  205 + "code": 200,
  206 + "data": {
  207 + "advance_cart_data": {
  208 + "gift_list": [],
  209 + "goods_list": [],
  210 + "price_gift": [],
  211 + "promotion_info": [],
  212 + "shopping_cart_data": {
  213 + "discount_amount": 0,
  214 + "fast_shopping_cost": 0,
  215 + "gain_yoho_coin": 0,
  216 + "goods_count": 0,
  217 + "last_order_amount": 0,
  218 + "order_amount": 0,
  219 + "promotion_formula": "总计¥0.00=商品金额¥0.00",
  220 + "promotion_formula_list": [
  221 + {
  222 + "promotion": "商品金额",
  223 + "promotion_amount": "¥0.00"
  224 + }
  225 + ],
  226 + "selected_goods_count": 0,
  227 + "shipping_cost": 0,
  228 + "str_discount_amount": "¥0.00",
  229 + "str_order_amount": "¥0.00"
  230 + },
  231 + "sold_out_goods_list": []
  232 + },
  233 + "ordinary_cart_data": {
  234 + "gift_list": [],
  235 + "goods_list": [
  236 + {
  237 + "attribute": "1",
  238 + "brand_id": "350",
  239 + "buy_limit": 0,
  240 + "buy_number": "1",
  241 + "color_id": "7",
  242 + "color_name": "蓝色",
  243 + "expect_arrival_time": "",
  244 + "fit_promotions": [
  245 + "8579",
  246 + "8479",
  247 + "8477",
  248 + "8475"
  249 + ],
  250 + "get_yoho_coin": "0",
  251 + "goods_id": "404795",
  252 + "goods_images": "http://....jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  253 + "goods_type": "ordinary",
  254 + "is_advance": "N",
  255 + "is_jit": "N",
  256 + "is_limited": "N",
  257 + "is_outlets": "N",
  258 + "is_special": "N",
  259 + "last_price": "319.0",
  260 + "last_vip_price": 369,
  261 + "market_price": 369,
  262 + "max_sort_id": "7",
  263 + "middle_sort_id": "49",
  264 + "product_id": 314449,
  265 + "product_name": "MACROPUS 复古帆布系列 双肩包(男女通用)",
  266 + "product_skc": "306652",
  267 + "product_skn": "51174830",
  268 + "product_sku": "967008",
  269 + "promotion_flag": "103",
  270 + "promotion_id": "0",
  271 + "real_price": 319,
  272 + "real_vip_price": 0,
  273 + "sale_price": 0,
  274 + "sales_price": 369,
  275 + "selected": "Y",
  276 + "shop_id": 0,
  277 + "shopping_cart_goods_id": "94305847",
  278 + "shopping_cart_id": "130769237",
  279 + "size_id": "199",
  280 + "size_name": "F",
  281 + "small_sort_id": "152",
  282 + "storage_number": "99",
  283 + "str_subtotal": "¥369.00",
  284 + "subtotal": 369,
  285 + "supplier_id": 0,
  286 + "uid": "10166061",
  287 + "vip1_price": "350.55",
  288 + "vip2_price": "332.10",
  289 + "vip3_price": "324.72",
  290 + "vip_discount": 1,
  291 + "vip_discount_money": 0,
  292 + "vip_discount_type": "1",
  293 + "vip_price": 0,
  294 + "yoho_coin_num": "0"
  295 + }
  296 + ],
  297 + "price_gift": [
  298 + {
  299 + "gift_price": 39,
  300 + "goods_list": [
  301 + {
  302 + "goods_images": "http://...jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
  303 + "last_price": 39,
  304 + "market_price": 90,
  305 + "product_id": 269401,
  306 + "product_name": "VOCHIC 欧式多用抗菌艺术砧板",
  307 + "product_skn": 51150012,
  308 + "sales_price": 49,
  309 + "storage_number": 150
  310 + }
  311 + ],
  312 + "max_select_number": "1",
  313 + "promotion_id": 8475,
  314 + "promotion_title": "【全场39元加价购】",
  315 + "promotion_type": "Needpaygift"
  316 + }
  317 + ],
  318 + "promotion_info": [
  319 + {
  320 + "cutdown_amount": 50,
  321 + "promotion_id": 8579,
  322 + "promotion_title": "【包配随行】满¥299减¥50",
  323 + "promotion_type": "Cashreduce"
  324 + }
  325 + ],
  326 + "shopping_cart_data": {
  327 + "discount_amount": 50,
  328 + "fast_shopping_cost": 15,
  329 + "gain_yoho_coin": 0,
  330 + "goods_count": 1,
  331 + "last_order_amount": 319,
  332 + "order_amount": 369,
  333 + "promotion_formula": "总计¥319.00=商品金额¥369.00-活动金额¥50.00",
  334 + "promotion_formula_list": [
  335 + {
  336 + "promotion": "商品金额",
  337 + "promotion_amount": "¥369.00"
  338 + }
  339 + ],
  340 + "selected_goods_count": 1,
  341 + "shipping_cost": 10,
  342 + "str_discount_amount": "¥50.00",
  343 + "str_order_amount": "¥369.00"
  344 + },
  345 + "sold_out_goods_list": []
  346 + }
  347 + },
  348 + "md5": "d222cf08c9d43d0c5f3ab31d278cabd8",
  349 + "message": "cart goods list."
  350 +}
  351 +```
  352 +
  353 +
  354 +### 获取待处理订单总数
  355 +
  356 +#### 说明
  357 +根据获取待处理订单总数
  358 +#### 请求参数
  359 +| Param Name | Param Value | Desc |
  360 +| ---------- | ----------- | ---- |
  361 +| method | web.SpaceOrders.getPendingOrderCount| 请求方法 |
  362 +| uid | 5772257 | |
  363 +
  364 +#### 响应内容
  365 +
  366 +```json
  367 +{
  368 + "code": 200,
  369 + "message": "操作成功"
  370 + "data": {
  371 + "count": 100
  372 + }
  373 +}
  374 +```
1 -### 我的订单  
2 -  
3 -#### 说明  
4 -我的订单  
5 -#### 请求参数  
6 -| Param Name | Param Value | Desc|  
7 -| :-------- | --------------:|----:|  
8 -| method | app.SpaceOrders.get| 请求方法 |  
9 -| type | 1 | 订单类型 |  
10 -| page | 1 | 页数 |  
11 -| limit | 10 | 每页大小 |  
12 -  
13 -#### 响应内容  
14 -```json  
15 -{  
16 -"code":200,  
17 -"message":"ok",  
18 -"data":[]  
19 -}  
20 -```  
21 -  
22 -### 根据订单号取消订单  
23 -  
24 -#### 说明  
25 -根据订单号取消订单  
26 -#### 请求参数  
27 -| Param Name | Param Value | Desc|  
28 -| :-------- | --------------:|----:|  
29 -| method | app.SpaceOrders.close| 请求方法 |  
30 -| order_code | 1061003682 | 订单号 |  
31 -  
32 -#### 响应内容  
33 -```json  
34 -{  
35 -"code":200,  
36 -"message":"订单取消成功"  
37 -}  
38 -```  
39 -  
40 -### 根据订单号确认订单  
41 -  
42 -#### 说明  
43 -根据订单号确认订单  
44 -#### 请求参数  
45 -| Param Name | Param Value | Desc|  
46 -| :-------- | --------------:|----:|  
47 -| method | app.SpaceOrders.confirm| 请求方法 |  
48 -| order_code | 1061003682 | 订单号 |  
49 -  
50 -#### 响应内容  
51 -```json  
52 -{  
53 -"code":200,  
54 -"message":"订单确认成功"  
55 -}  
56 -```  
57 -  
58 -  
59 -### 获取电子票列表-app.SpaceOrders.getQrByOrderCode  
60 -  
61 -  
62 -  
63 -#### 说明  
64 -根据订单号获取电子票列表  
65 -#### 请求参数  
66 -| Param Name | Param Value | Desc|  
67 -| :-------- | --------------:|----:|  
68 -| method | app.SpaceOrders.getQrByOrderCode| 请求方法 |  
69 -| order_code | 1061003682 | 订单号 |  
70 -  
71 -#### 响应内容  
72 -```json  
73 -{  
74 - "code": 200,  
75 - "data": {  
76 - "ticks": [{  
77 - "ticket_code":"8611779901",  
78 - "passkit":"Y"  
79 - }],  
80 - "title": "FURY ANIMALS Normal迷彩系列BUNNY短袖TEE"  
81 - },  
82 - "md5": "24aff7ba505dccb63a14b5d78ae22821",  
83 - "message": "ok"  
84 -}  
85 -```  
86 -##### 响应内容描述  
87 -| Param Name | Param Type | Desc |  
88 -| ---------- | ---------- | ---- |  
89 -| title | string | 商品名称 |  
90 -| ticks | json | 电子票 |  
91 -| ticket_code| string | |  
92 -| passkit | string | |  
93 -  
94 -### 获取YOHOGift  
95 -  
96 -#### 说明  
97 -根据skn获取yohoGift  
98 -#### 请求参数  
99 -| Param Name | Param Value | Desc|  
100 -| :-------- | --------------:|----:|  
101 -| method | web.Shopping.yohoGift| 请求方法 |  
102 -| skn_list | [50001829,50002280]| skn列表 |  
103 -  
104 -#### 响应内容  
105 -```json  
106 - {  
107 - "alg": "SALT_MD5",  
108 - "code": 200,  
109 - "data":  
110 - [  
111 - {  
112 - "default_pic": "http://img11.static.yhbimg.com/goodsimg/2012/03/02/17/019a0794f1eb1ad77ce5d8a2c2b2cf2e50.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",  
113 - "id": 3,  
114 - "price":  
115 - {  
116 - "sales_price": 250,  
117 - "yoho_coin_num": 0  
118 - },  
119 - "product_name": "OVERKILL 天使山羊TEE",  
120 - "storage": 0,  
121 - "storage_list":  
122 - [  
123 - {  
124 - "erp_sku_id": 102009,  
125 - "goods_dimension_id": 201,  
126 - "goods_id": 3,  
127 - "product_id": 3,  
128 - "size":  
129 - {  
130 - "size_name": "L"  
131 - },  
132 - "storage_num": 0  
133 - },  
134 - {  
135 - "erp_sku_id": 102010,  
136 - "goods_dimension_id": 203,  
137 - "goods_id": 3,  
138 - "product_id": 3,  
139 - "size":  
140 - {  
141 - "size_name": "M"  
142 - },  
143 - "storage_num": 0  
144 - },  
145 - {  
146 - "erp_sku_id": 102012,  
147 - "goods_dimension_id": 211,  
148 - "goods_id": 3,  
149 - "product_id": 3,  
150 - "size":  
151 - {  
152 - "size_name": "XL"  
153 - },  
154 - "storage_num": 0  
155 - }  
156 - ],  
157 - "url": "http://www.yohobuy.com/product/pro_3_3/OVERKILL TianShiShanYangTEE.html"  
158 - },  
159 - {  
160 - "default_pic": "http://img10.static.yhbimg.com/goodsimg/2011/06/23/04/0158a984a768a351328138ea3671e270de.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",  
161 - "id": 5,  
162 - "price":  
163 - {  
164 - "sales_price": 138,  
165 - "yoho_coin_num": 0  
166 - },  
167 - "product_name": "MANIA TAKI X 圆领印花短袖TEE",  
168 - "storage": 0,  
169 - "storage_list":  
170 - [  
171 - {  
172 - "erp_sku_id": 102015,  
173 - "goods_dimension_id": 213,  
174 - "goods_id": 5,  
175 - "product_id": 5,  
176 - "size":  
177 - {  
178 - "size_name": "XS"  
179 - },  
180 - "storage_num": 0  
181 - }  
182 - ],  
183 - "url": "http://www.yohobuy.com/product/pro_5_5/MANIA TAKI X YuanLingYinHuaDuanXiuTEE.html"  
184 - }  
185 - ],  
186 - "md5": "d6e4c90434e98a90555d864cf4798679",  
187 - "message": "操作成功"  
188 - }  
189 -```  
190 -  
191 -### 购物车列表  
192 -  
193 -#### 说明  
194 -  
195 -#### 请求参数  
196 -| Param Name | Param Value | Desc|  
197 -| :-------- | --------------:|----:|  
198 -| method | app.Shopping.cart| 请求方法 |  
199 -| shopping_key | 9c101f734768105aafc792d460d12206 | |  
200 -| uid | 10166061 | |  
201 -  
202 -#### 响应内容  
203 -```json  
204 -{  
205 - "code": 200,  
206 - "data": {  
207 - "advance_cart_data": {  
208 - "gift_list": [],  
209 - "goods_list": [],  
210 - "price_gift": [],  
211 - "promotion_info": [],  
212 - "shopping_cart_data": {  
213 - "discount_amount": 0,  
214 - "fast_shopping_cost": 0,  
215 - "gain_yoho_coin": 0,  
216 - "goods_count": 0,  
217 - "last_order_amount": 0,  
218 - "order_amount": 0,  
219 - "promotion_formula": "总计¥0.00=商品金额¥0.00",  
220 - "promotion_formula_list": [  
221 - {  
222 - "promotion": "商品金额",  
223 - "promotion_amount": "¥0.00"  
224 - }  
225 - ],  
226 - "selected_goods_count": 0,  
227 - "shipping_cost": 0,  
228 - "str_discount_amount": "¥0.00",  
229 - "str_order_amount": "¥0.00"  
230 - },  
231 - "sold_out_goods_list": []  
232 - },  
233 - "ordinary_cart_data": {  
234 - "gift_list": [],  
235 - "goods_list": [  
236 - {  
237 - "attribute": "1",  
238 - "brand_id": "350",  
239 - "buy_limit": 0,  
240 - "buy_number": "1",  
241 - "color_id": "7",  
242 - "color_name": "蓝色",  
243 - "expect_arrival_time": "",  
244 - "fit_promotions": [  
245 - "8579",  
246 - "8479",  
247 - "8477",  
248 - "8475"  
249 - ],  
250 - "get_yoho_coin": "0",  
251 - "goods_id": "404795",  
252 - "goods_images": "http://....jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",  
253 - "goods_type": "ordinary",  
254 - "is_advance": "N",  
255 - "is_jit": "N",  
256 - "is_limited": "N",  
257 - "is_outlets": "N",  
258 - "is_special": "N",  
259 - "last_price": "319.0",  
260 - "last_vip_price": 369,  
261 - "market_price": 369,  
262 - "max_sort_id": "7",  
263 - "middle_sort_id": "49",  
264 - "product_id": 314449,  
265 - "product_name": "MACROPUS 复古帆布系列 双肩包(男女通用)",  
266 - "product_skc": "306652",  
267 - "product_skn": "51174830",  
268 - "product_sku": "967008",  
269 - "promotion_flag": "103",  
270 - "promotion_id": "0",  
271 - "real_price": 319,  
272 - "real_vip_price": 0,  
273 - "sale_price": 0,  
274 - "sales_price": 369,  
275 - "selected": "Y",  
276 - "shop_id": 0,  
277 - "shopping_cart_goods_id": "94305847",  
278 - "shopping_cart_id": "130769237",  
279 - "size_id": "199",  
280 - "size_name": "F",  
281 - "small_sort_id": "152",  
282 - "storage_number": "99",  
283 - "str_subtotal": "¥369.00",  
284 - "subtotal": 369,  
285 - "supplier_id": 0,  
286 - "uid": "10166061",  
287 - "vip1_price": "350.55",  
288 - "vip2_price": "332.10",  
289 - "vip3_price": "324.72",  
290 - "vip_discount": 1,  
291 - "vip_discount_money": 0,  
292 - "vip_discount_type": "1",  
293 - "vip_price": 0,  
294 - "yoho_coin_num": "0"  
295 - }  
296 - ],  
297 - "price_gift": [  
298 - {  
299 - "gift_price": 39,  
300 - "goods_list": [  
301 - {  
302 - "goods_images": "http://...jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",  
303 - "last_price": 39,  
304 - "market_price": 90,  
305 - "product_id": 269401,  
306 - "product_name": "VOCHIC 欧式多用抗菌艺术砧板",  
307 - "product_skn": 51150012,  
308 - "sales_price": 49,  
309 - "storage_number": 150  
310 - }  
311 - ],  
312 - "max_select_number": "1",  
313 - "promotion_id": 8475,  
314 - "promotion_title": "【全场39元加价购】",  
315 - "promotion_type": "Needpaygift"  
316 - }  
317 - ],  
318 - "promotion_info": [  
319 - {  
320 - "cutdown_amount": 50,  
321 - "promotion_id": 8579,  
322 - "promotion_title": "【包配随行】满¥299减¥50",  
323 - "promotion_type": "Cashreduce"  
324 - }  
325 - ],  
326 - "shopping_cart_data": {  
327 - "discount_amount": 50,  
328 - "fast_shopping_cost": 15,  
329 - "gain_yoho_coin": 0,  
330 - "goods_count": 1,  
331 - "last_order_amount": 319,  
332 - "order_amount": 369,  
333 - "promotion_formula": "总计¥319.00=商品金额¥369.00-活动金额¥50.00",  
334 - "promotion_formula_list": [  
335 - {  
336 - "promotion": "商品金额",  
337 - "promotion_amount": "¥369.00"  
338 - }  
339 - ],  
340 - "selected_goods_count": 1,  
341 - "shipping_cost": 10,  
342 - "str_discount_amount": "¥50.00",  
343 - "str_order_amount": "¥369.00"  
344 - },  
345 - "sold_out_goods_list": []  
346 - }  
347 - },  
348 - "md5": "d222cf08c9d43d0c5f3ab31d278cabd8",  
349 - "message": "cart goods list."  
350 -}  
351 -```  
352 -  
353 -  
354 -### 获取待处理订单总数  
355 -  
356 -#### 说明  
357 -根据获取待处理订单总数  
358 -#### 请求参数  
359 -| Param Name | Param Value | Desc |  
360 -| ---------- | ----------- | ---- |  
361 -| method | web.SpaceOrders.getPendingOrderCount| 请求方法 |  
362 -| uid | 5772257 | |  
363 -  
364 -#### 响应内容  
365 -  
366 -```json  
367 -{  
368 - "code": 200,  
369 - "message": "操作成功"  
370 - "data": {  
371 - "count": 100  
372 - }  
373 -}  
374 -```