...
|
...
|
@@ -149,7 +149,13 @@ http://127.0.0.1:8081/gateway/purchase/delivery |
|
|
|
|
|
|
|
|
正常返回:
|
|
|
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "6d729d4b35f10fc73531210bd7ecff91",
|
|
|
"message": "success"
|
|
|
}
|
|
|
|
|
|
异常返回:
|
|
|
|
...
|
...
|
@@ -162,3 +168,81 @@ http://127.0.0.1:8081/gateway/purchase/delivery |
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
## 3、物流公司列表接口##
|
|
|
|
|
|
物流公司列表接口(/express/getExpressList)
|
|
|
|
|
|
#### 请求参数
|
|
|
无
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
|
|
|
请求示例
|
|
|
http://127.0.0.1:8081/gateway/express/getExpressList
|
|
|
## 请求样例数据
|
|
|
``` json
|
|
|
|
|
|
正常返回:
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": [
|
|
|
{
|
|
|
"companyName": "EMS",
|
|
|
"id": 2,
|
|
|
"isDoorService": "N",
|
|
|
"utl": "EMS"
|
|
|
},
|
|
|
{
|
|
|
"companyName": "宅急送",
|
|
|
"id": 5,
|
|
|
"isDoorService": "N",
|
|
|
"utl": "ZJS"
|
|
|
}
|
|
|
],
|
|
|
"md5": "eb1d1dcf8f37ca57c319930c61c251a0",
|
|
|
"message": "SUCCESS"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
## 4、外采单发货获取仓库信息接口##
|
|
|
|
|
|
外采单发货获取仓库信息接口(/purchase/queryBySupplierId)
|
|
|
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|----:|
|
|
|
|supplierId|int|否|2|供应商ID|
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
|
|
|
请求示例
|
|
|
http://127.0.0.1:8081/gateway/purchase/queryBySupplierId
|
|
|
## 请求样例数据
|
|
|
``` json
|
|
|
{
|
|
|
"supplierId":1702
|
|
|
}
|
|
|
|
|
|
|
|
|
正常返回:
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"adminName": "许凯",
|
|
|
"address": "南京市玄武区1号",
|
|
|
"phone": "13901065166",
|
|
|
"storehouseName": "南京1号仓库",
|
|
|
"id": 3,
|
|
|
"status": 1
|
|
|
},
|
|
|
"md5": "94e46f6032aba2fc6c3d81cea2cf0110",
|
|
|
"message": "SUCCESS"
|
|
|
}
|
|
|
|
|
|
``` |
...
|
...
|
|