Authored by mali

接口

  1 +## 查询价格列表接口
  2 +
  3 +> 接口名: '/product/queryProductPriceList'
  4 +
  5 +### 入参
  6 +
  7 +-------------------------
  8 +|属性名称|类型|例子|说明|
  9 +|--------|----|----|----|
  10 +|product_skn|Number|60000050|商品的skn|
  11 +|shop_id|Number|43|店铺Id|
  12 +|brand_id|Number|43|品牌id|
  13 +|supplier_id|Number|43|供应商Id|
  14 +|is_jit|String|"N"|是否是代销不入库 Y 或者 N|
  15 +|is_auditing|Number|200|商品状态|
  16 +|stock|Number|1|有库存为1 无填写 0|
  17 +|gender|Number|1|性别 1代表男性,2代表女性 3代表通用|
  18 +|max_sort_id|Number|1|大分类的Id|
  19 +|middle_sort_id|Number|12|中分类Id|
  20 +|small_sort_id|Number|111|小分类的Id|
  21 +|page|Number|1|当前页数 从1开始|
  22 +|size|Number|10|每页显示条数,默认10|
  23 +---------------------
  24 +
  25 +### 返回
  26 +
  27 +``` json
  28 +{
  29 + "code": 200,
  30 + "data": {
  31 + "content": [
  32 + {
  33 + "brand_id": 175,
  34 + "brand_name": "团一",
  35 + "founder": 9278,
  36 + "max_sort_id": 10,
  37 + "max_sort_name": "创意生活",
  38 + "middle_sort_id": 101,
  39 + "middle_sort_name": "文具",
  40 + "product_name": "团一复古花纹满本图案牛皮纸笔记本",
  41 + "product_pic_url": "http://img12.static.yhbimg.com/goodsimg/2011/06/24/13/02e571a64cea3ea8e734f8f0aae790fb4f.jpg?imageView/0/w/60/h/60",
  42 + "product_skn": 50000055,
  43 + "retail_price": 29,
  44 + "return_coin": 300,
  45 + "sales_price": 29,
  46 + "small_sort_id": 111,
  47 + "small_sort_name": "本子",
  48 + "supplier_id": 0,
  49 + "updateTime": "2016-02-02 10:37:43",
  50 + "vip1_price": 0,
  51 + "vip2_price": 0,
  52 + "vip3_price": 0,
  53 + "vip_discount_type": 1,
  54 + "vip_price": 0
  55 + },
  56 + {
  57 + "brand_id": 187,
  58 + "brand_name": "顽",
  59 + "founder": 9278,
  60 + "max_sort_id": 8,
  61 + "max_sort_name": "服配",
  62 + "middle_sort_id": 66,
  63 + "middle_sort_name": "配饰",
  64 + "product_name": "PLAY顽植物大战僵尸坚果墙挂饰",
  65 + "product_pic_url": "http://img10.static.yhbimg.com/goodsimg/2011/06/23/05/01bda4fc443c96aa3a2e9287c3c17be87a.jpg?imageView/0/w/60/h/60",
  66 + "product_skn": 50000056,
  67 + "retail_price": 18,
  68 + "return_coin": 0,
  69 + "sales_price": 18,
  70 + "small_sort_id": 305,
  71 + "small_sort_name": "挂饰",
  72 + "supplier_id": 0,
  73 + "updateTime": "2016-02-02 10:37:43",
  74 + "vip1_price": 0,
  75 + "vip2_price": 0,
  76 + "vip3_price": 0,
  77 + "vip_discount_type": 1,
  78 + "vip_price": 0
  79 + }
  80 + ],
  81 + "number": 1,
  82 + "size": 2,
  83 + "totalElements": 2,
  84 + "totalPages": 1
  85 + },
  86 + "md5": "9a92b3c94d9676a8089169ee46ebce4a",
  87 + "message": "Product Price List."
  88 +}
  89 +
  90 +```
  91 +
1 一、查询价格列表接口 92 一、查询价格列表接口
2 接口链接:http://172.16.6.227:8083/yohobuy-platform-web/product/queryProductPriceList 93 接口链接:http://172.16.6.227:8083/yohobuy-platform-web/product/queryProductPriceList
3 类型:POST请求 94 类型:POST请求
4 请求参数:{"product_skn" : 50000060, "shop_id" : 35, "brand_id" : 137, "supplier_id" : 0, "is_jit" : "N", "is_auditing" : 200, "stock" : 1, "gender": "3", "max_sort_id" : 7, "middle_sort_id": 58, "smallSortId" :161, "page": 10, "size" :100} 95 请求参数:{"product_skn" : 50000060, "shop_id" : 35, "brand_id" : 137, "supplier_id" : 0, "is_jit" : "N", "is_auditing" : 200, "stock" : 1, "gender": "3", "max_sort_id" : 7, "middle_sort_id": 58, "smallSortId" :161, "page": 10, "size" :100}
5 -  
6 - 参数说明:product_skn 商品的skn 96 + 参数说明:product_skn 商品的skn 整型
7 shop_id 店铺Id 97 shop_id 店铺Id
8 brand_id 品牌Id 98 brand_id 品牌Id
9 supplier_id 供应商Id 99 supplier_id 供应商Id
@@ -18,7 +108,7 @@ @@ -18,7 +108,7 @@
18 size :每页显示条数 108 size :每页显示条数
19 109
20 返回 : 110 返回 :
21 - { 111 +{
22 "code": 200, 112 "code": 200,
23 "data": { 113 "data": {
24 "content": [ 114 "content": [