diff --git a/inferface-document/productPrice.md b/inferface-document/productPrice.md index b0a0b4b..0102123 100644 --- a/inferface-document/productPrice.md +++ b/inferface-document/productPrice.md @@ -1,9 +1,99 @@ +## 查询价格列表接口 + +> 接口名: '/product/queryProductPriceList' + +### 入参 + +------------------------- +|属性名称|类型|例子|说明| +|--------|----|----|----| +|product_skn|Number|60000050|商品的skn| +|shop_id|Number|43|店铺Id| +|brand_id|Number|43|品牌id| +|supplier_id|Number|43|供应商Id| +|is_jit|String|"N"|是否是代销不入库 Y 或者 N| +|is_auditing|Number|200|商品状态| +|stock|Number|1|有库存为1 无填写 0| +|gender|Number|1|性别 1代表男性,2代表女性 3代表通用| +|max_sort_id|Number|1|大分类的Id| +|middle_sort_id|Number|12|中分类Id| +|small_sort_id|Number|111|小分类的Id| +|page|Number|1|当前页数 从1开始| +|size|Number|10|每页显示条数,默认10| +--------------------- + +### 返回 + +``` json +{ + "code": 200, + "data": { + "content": [ + { + "brand_id": 175, + "brand_name": "团一", + "founder": 9278, + "max_sort_id": 10, + "max_sort_name": "创意生活", + "middle_sort_id": 101, + "middle_sort_name": "文具", + "product_name": "团一复古花纹满本图案牛皮纸笔记本", + "product_pic_url": "http://img12.static.yhbimg.com/goodsimg/2011/06/24/13/02e571a64cea3ea8e734f8f0aae790fb4f.jpg?imageView/0/w/60/h/60", + "product_skn": 50000055, + "retail_price": 29, + "return_coin": 300, + "sales_price": 29, + "small_sort_id": 111, + "small_sort_name": "本子", + "supplier_id": 0, + "updateTime": "2016-02-02 10:37:43", + "vip1_price": 0, + "vip2_price": 0, + "vip3_price": 0, + "vip_discount_type": 1, + "vip_price": 0 + }, + { + "brand_id": 187, + "brand_name": "顽", + "founder": 9278, + "max_sort_id": 8, + "max_sort_name": "服配", + "middle_sort_id": 66, + "middle_sort_name": "配饰", + "product_name": "PLAY顽植物大战僵尸坚果墙挂饰", + "product_pic_url": "http://img10.static.yhbimg.com/goodsimg/2011/06/23/05/01bda4fc443c96aa3a2e9287c3c17be87a.jpg?imageView/0/w/60/h/60", + "product_skn": 50000056, + "retail_price": 18, + "return_coin": 0, + "sales_price": 18, + "small_sort_id": 305, + "small_sort_name": "挂饰", + "supplier_id": 0, + "updateTime": "2016-02-02 10:37:43", + "vip1_price": 0, + "vip2_price": 0, + "vip3_price": 0, + "vip_discount_type": 1, + "vip_price": 0 + } + ], + "number": 1, + "size": 2, + "totalElements": 2, + "totalPages": 1 + }, + "md5": "9a92b3c94d9676a8089169ee46ebce4a", + "message": "Product Price List." +} + +``` + 一、查询价格列表接口 接口链接:http://172.16.6.227:8083/yohobuy-platform-web/product/queryProductPriceList 类型:POST请求 - 请求参数:{"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} - - 参数说明:product_skn 商品的skn + 请求参数:{"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} + 参数说明:product_skn 商品的skn 整型 shop_id 店铺Id brand_id 品牌Id supplier_id 供应商Id @@ -18,7 +108,7 @@ size :每页显示条数 返回 : - { +{ "code": 200, "data": { "content": [