Showing
1 changed file
with
44 additions
and
93 deletions
@@ -89,96 +89,20 @@ | @@ -89,96 +89,20 @@ | ||
89 | 89 | ||
90 | ``` | 90 | ``` |
91 | 91 | ||
92 | -一、查询价格列表接口 | ||
93 | - 接口链接:http://172.16.6.227:8083/yohobuy-platform-web/product/queryProductPriceList | ||
94 | - 类型:POST请求 | ||
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} | ||
96 | - 参数说明:product_skn 商品的skn 整型 | ||
97 | - shop_id 店铺Id | ||
98 | - brand_id 品牌Id | ||
99 | - supplier_id 供应商Id | ||
100 | - is_jit 是否是代销不入库 | ||
101 | - is_auditing 上下架状态 1代表上架 0代表下架 | ||
102 | - stock 是否有库存,1代表有库存,0代表无库存 | ||
103 | - gender 性别 1代表男性,2代表女性 3代表通用 | ||
104 | - max_sort_id 大分类的Id | ||
105 | - middle_sort_id 中分类Id | ||
106 | - smallSortId 小分类的Id | ||
107 | - page : 当前页数 从1开始 | ||
108 | - size :每页显示条数 | ||
109 | - | ||
110 | - 返回 : | ||
111 | -{ | ||
112 | - "code": 200, | ||
113 | - "data": { | ||
114 | - "content": [ | ||
115 | - { | ||
116 | - "brand_id": 175, | ||
117 | - "brand_name": "团一", | ||
118 | - "founder": 9278, | ||
119 | - "max_sort_id": 10, | ||
120 | - "max_sort_name": "创意生活", | ||
121 | - "middle_sort_id": 101, | ||
122 | - "middle_sort_name": "文具", | ||
123 | - "product_name": "团一复古花纹满本图案牛皮纸笔记本", | ||
124 | - "product_pic_url": "http://img12.static.yhbimg.com/goodsimg/2011/06/24/13/02e571a64cea3ea8e734f8f0aae790fb4f.jpg?imageView/0/w/60/h/60", | ||
125 | - "product_skn": 50000055, | ||
126 | - "retail_price": 29, | ||
127 | - "return_coin": 300, | ||
128 | - "sales_price": 29, | ||
129 | - "small_sort_id": 111, | ||
130 | - "small_sort_name": "本子", | ||
131 | - "supplier_id": 0, | ||
132 | - "updateTime": "2016-02-02 10:37:43", | ||
133 | - "vip1_price": 0, | ||
134 | - "vip2_price": 0, | ||
135 | - "vip3_price": 0, | ||
136 | - "vip_discount_type": 1, | ||
137 | - "vip_price": 0 | ||
138 | - }, | ||
139 | - { | ||
140 | - "brand_id": 187, | ||
141 | - "brand_name": "顽", | ||
142 | - "founder": 9278, | ||
143 | - "max_sort_id": 8, | ||
144 | - "max_sort_name": "服配", | ||
145 | - "middle_sort_id": 66, | ||
146 | - "middle_sort_name": "配饰", | ||
147 | - "product_name": "PLAY顽植物大战僵尸坚果墙挂饰", | ||
148 | - "product_pic_url": "http://img10.static.yhbimg.com/goodsimg/2011/06/23/05/01bda4fc443c96aa3a2e9287c3c17be87a.jpg?imageView/0/w/60/h/60", | ||
149 | - "product_skn": 50000056, | ||
150 | - "retail_price": 18, | ||
151 | - "return_coin": 0, | ||
152 | - "sales_price": 18, | ||
153 | - "small_sort_id": 305, | ||
154 | - "small_sort_name": "挂饰", | ||
155 | - "supplier_id": 0, | ||
156 | - "updateTime": "2016-02-02 10:37:43", | ||
157 | - "vip1_price": 0, | ||
158 | - "vip2_price": 0, | ||
159 | - "vip3_price": 0, | ||
160 | - "vip_discount_type": 1, | ||
161 | - "vip_price": 0 | ||
162 | - } | ||
163 | - ], | ||
164 | - "number": 1, | ||
165 | - "size": 2, | ||
166 | - "totalElements": 2, | ||
167 | - "totalPages": 1 | ||
168 | - }, | ||
169 | - "md5": "9a92b3c94d9676a8089169ee46ebce4a", | ||
170 | - "message": "Product Price List." | ||
171 | -} | ||
172 | - | 92 | +## 查询所有的店铺信息 |
173 | 93 | ||
94 | +> 接口名: '/ShopsRest/queryAllShops' | ||
174 | 95 | ||
175 | -二: 查询所有的店铺信息 | 96 | +### 入参 |
176 | 97 | ||
177 | -请求链接:http://172.16.6.227:8083/yohobuy-platform-web/ShopsRest/queryAllShops | ||
178 | -请求参数:无 | 98 | +------------------------- |
99 | +|属性名称|类型|例子|说明| | ||
100 | +|--------|----|----|----| | ||
101 | +--------------------- | ||
179 | 102 | ||
180 | -返回 | 103 | +### 返回 |
181 | 104 | ||
105 | +``` json | ||
182 | { | 106 | { |
183 | "code": 200, | 107 | "code": 200, |
184 | "data": [ | 108 | "data": [ |
@@ -198,11 +122,23 @@ | @@ -198,11 +122,23 @@ | ||
198 | "message": "操作成功" | 122 | "message": "操作成功" |
199 | } | 123 | } |
200 | 124 | ||
125 | +``` | ||
201 | 126 | ||
202 | -三:查询所有的品牌列表 | ||
203 | -请求链接:http://172.16.6.227:8083/yohobuy-platform-web/erpproduct/brands/queryAllBrands | ||
204 | -请求参数:无 | ||
205 | -返回 | 127 | + |
128 | +## 查询所有的品牌列表 | ||
129 | + | ||
130 | +> 接口名: '/erpproduct/brands/queryAllBrands' | ||
131 | + | ||
132 | +### 入参 | ||
133 | + | ||
134 | +------------------------- | ||
135 | +|属性名称|类型|例子|说明| | ||
136 | +|--------|----|----|----| | ||
137 | +--------------------- | ||
138 | + | ||
139 | +### 返回 | ||
140 | + | ||
141 | +``` json | ||
206 | { | 142 | { |
207 | "code": 200, | 143 | "code": 200, |
208 | "data": [ | 144 | "data": [ |
@@ -226,10 +162,23 @@ | @@ -226,10 +162,23 @@ | ||
226 | "message": "Product Brand List." | 162 | "message": "Product Brand List." |
227 | } | 163 | } |
228 | 164 | ||
229 | -四:查询所有的供应商列表信息 | ||
230 | -请求链接:http://172.16.6.227:8083/yohobuy-platform-web/supplier/supplier/queryAllSupplier | ||
231 | -请求参数:无 | ||
232 | -响应: | 165 | +``` |
166 | + | ||
167 | + | ||
168 | +## 查询所有的供应商列表信息 | ||
169 | + | ||
170 | +> 接口名: '/supplier/supplier/queryAllSupplier' | ||
171 | + | ||
172 | +### 入参 | ||
173 | + | ||
174 | +------------------------- | ||
175 | +|属性名称|类型|例子|说明| | ||
176 | +|--------|----|----|----| | ||
177 | +--------------------- | ||
178 | + | ||
179 | +### 返回 | ||
180 | + | ||
181 | +``` json | ||
233 | { | 182 | { |
234 | "code": 200, | 183 | "code": 200, |
235 | "data": [ | 184 | "data": [ |
@@ -252,6 +201,8 @@ | @@ -252,6 +201,8 @@ | ||
252 | "message": "操作成功" | 201 | "message": "操作成功" |
253 | } | 202 | } |
254 | 203 | ||
204 | +``` | ||
205 | + | ||
255 | 五:查询商品是否是JIT配置 | 206 | 五:查询商品是否是JIT配置 |
256 | 请求链接:http://172.16.6.227:8083/yohobuy-platform-web/product/queryJitConfigList | 207 | 请求链接:http://172.16.6.227:8083/yohobuy-platform-web/product/queryJitConfigList |
257 | 请求参数:无 | 208 | 请求参数:无 |
-
Please register or login to post a comment