Update 外采单或者调拨单相关app接口.md
Showing
1 changed file
with
85 additions
and
1 deletions
@@ -149,7 +149,13 @@ http://127.0.0.1:8081/gateway/purchase/delivery | @@ -149,7 +149,13 @@ http://127.0.0.1:8081/gateway/purchase/delivery | ||
149 | 149 | ||
150 | 150 | ||
151 | 正常返回: | 151 | 正常返回: |
152 | - | 152 | +{ |
153 | + "alg": "SALT_MD5", | ||
154 | + "code": 200, | ||
155 | + "data": [], | ||
156 | + "md5": "6d729d4b35f10fc73531210bd7ecff91", | ||
157 | + "message": "success" | ||
158 | +} | ||
153 | 159 | ||
154 | 异常返回: | 160 | 异常返回: |
155 | 161 | ||
@@ -162,3 +168,81 @@ http://127.0.0.1:8081/gateway/purchase/delivery | @@ -162,3 +168,81 @@ http://127.0.0.1:8081/gateway/purchase/delivery | ||
162 | } | 168 | } |
163 | 169 | ||
164 | ``` | 170 | ``` |
171 | + | ||
172 | + | ||
173 | +## 3、物流公司列表接口## | ||
174 | + | ||
175 | +物流公司列表接口(/express/getExpressList) | ||
176 | + | ||
177 | +#### 请求参数 | ||
178 | +无 | ||
179 | + | ||
180 | +注意,通用的头部没有列出。 | ||
181 | + | ||
182 | +请求示例 | ||
183 | +http://127.0.0.1:8081/gateway/express/getExpressList | ||
184 | +## 请求样例数据 | ||
185 | +``` json | ||
186 | + | ||
187 | +正常返回: | ||
188 | +{ | ||
189 | + "alg": "SALT_MD5", | ||
190 | + "code": 200, | ||
191 | + "data": [ | ||
192 | + { | ||
193 | + "companyName": "EMS", | ||
194 | + "id": 2, | ||
195 | + "isDoorService": "N", | ||
196 | + "utl": "EMS" | ||
197 | + }, | ||
198 | + { | ||
199 | + "companyName": "宅急送", | ||
200 | + "id": 5, | ||
201 | + "isDoorService": "N", | ||
202 | + "utl": "ZJS" | ||
203 | + } | ||
204 | + ], | ||
205 | + "md5": "eb1d1dcf8f37ca57c319930c61c251a0", | ||
206 | + "message": "SUCCESS" | ||
207 | +} | ||
208 | + | ||
209 | +``` | ||
210 | + | ||
211 | + | ||
212 | +## 4、外采单发货获取仓库信息接口## | ||
213 | + | ||
214 | +外采单发货获取仓库信息接口(/purchase/queryBySupplierId) | ||
215 | + | ||
216 | +#### 请求参数 | ||
217 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 | | ||
218 | +|:-------| -----:|-----:|-----:|----:| | ||
219 | +|supplierId|int|否|2|供应商ID| | ||
220 | + | ||
221 | +注意,通用的头部没有列出。 | ||
222 | + | ||
223 | +请求示例 | ||
224 | +http://127.0.0.1:8081/gateway/purchase/queryBySupplierId | ||
225 | +## 请求样例数据 | ||
226 | +``` json | ||
227 | +{ | ||
228 | + "supplierId":1702 | ||
229 | +} | ||
230 | + | ||
231 | + | ||
232 | +正常返回: | ||
233 | +{ | ||
234 | + "alg": "SALT_MD5", | ||
235 | + "code": 200, | ||
236 | + "data": { | ||
237 | + "adminName": "许凯", | ||
238 | + "address": "南京市玄武区1号", | ||
239 | + "phone": "13901065166", | ||
240 | + "storehouseName": "南京1号仓库", | ||
241 | + "id": 3, | ||
242 | + "status": 1 | ||
243 | + }, | ||
244 | + "md5": "94e46f6032aba2fc6c3d81cea2cf0110", | ||
245 | + "message": "SUCCESS" | ||
246 | +} | ||
247 | + | ||
248 | +``` |
-
Please register or login to post a comment