...
|
...
|
@@ -89,96 +89,20 @@ |
|
|
|
|
|
```
|
|
|
|
|
|
一、查询价格列表接口
|
|
|
接口链接: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 整型
|
|
|
shop_id 店铺Id
|
|
|
brand_id 品牌Id
|
|
|
supplier_id 供应商Id
|
|
|
is_jit 是否是代销不入库
|
|
|
is_auditing 上下架状态 1代表上架 0代表下架
|
|
|
stock 是否有库存,1代表有库存,0代表无库存
|
|
|
gender 性别 1代表男性,2代表女性 3代表通用
|
|
|
max_sort_id 大分类的Id
|
|
|
middle_sort_id 中分类Id
|
|
|
smallSortId 小分类的Id
|
|
|
page : 当前页数 从1开始
|
|
|
size :每页显示条数
|
|
|
|
|
|
返回 :
|
|
|
{
|
|
|
"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."
|
|
|
}
|
|
|
|
|
|
## 查询所有的店铺信息
|
|
|
|
|
|
> 接口名: '/ShopsRest/queryAllShops'
|
|
|
|
|
|
二: 查询所有的店铺信息
|
|
|
### 入参
|
|
|
|
|
|
请求链接:http://172.16.6.227:8083/yohobuy-platform-web/ShopsRest/queryAllShops
|
|
|
请求参数:无
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
---------------------
|
|
|
|
|
|
返回
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [
|
...
|
...
|
@@ -198,11 +122,23 @@ |
|
|
"message": "操作成功"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
三:查询所有的品牌列表
|
|
|
请求链接:http://172.16.6.227:8083/yohobuy-platform-web/erpproduct/brands/queryAllBrands
|
|
|
请求参数:无
|
|
|
返回
|
|
|
|
|
|
## 查询所有的品牌列表
|
|
|
|
|
|
> 接口名: '/erpproduct/brands/queryAllBrands'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [
|
...
|
...
|
@@ -226,10 +162,23 @@ |
|
|
"message": "Product Brand List."
|
|
|
}
|
|
|
|
|
|
四:查询所有的供应商列表信息
|
|
|
请求链接:http://172.16.6.227:8083/yohobuy-platform-web/supplier/supplier/queryAllSupplier
|
|
|
请求参数:无
|
|
|
响应:
|
|
|
```
|
|
|
|
|
|
|
|
|
## 查询所有的供应商列表信息
|
|
|
|
|
|
> 接口名: '/supplier/supplier/queryAllSupplier'
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [
|
...
|
...
|
@@ -252,6 +201,8 @@ |
|
|
"message": "操作成功"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
五:查询商品是否是JIT配置
|
|
|
请求链接:http://172.16.6.227:8083/yohobuy-platform-web/product/queryJitConfigList
|
|
|
请求参数:无
|
...
|
...
|
|