You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
### 修改供应商(UpdateSupplier)
|
|
|
|
|
|
|
|
此接口用于修改供应商
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 基本信息
|
|
|
|
|
|
|
|
方法:POST
|
|
|
|
|
|
|
|
URL: http://localhost:8033/open/UpdateSupplier
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 请求
|
|
|
|
|
|
|
|
请求参数
|
|
|
|
|
|
|
|
| 参数名 | 类型 | 必填 | 说明 |
|
|
|
|
| :-- | :-- | :-- | :-- |
|
|
|
|
| profile | string | 是 | 厂区编码 |
|
|
|
|
| supplierCode | string | 是 | 供应商编码 |
|
|
|
|
| descriptions | string | 是 | 供应商名称 |
|
|
|
|
| status | int | 否(默认启用) | 状态 0:不启用 1:启用 |
|
|
|
|
| country | string | 否 | 国家 |
|
|
|
|
| region | string | 否 | 省市 |
|
|
|
|
|
|
|
|
示例 1:修改供应商
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
"profile": "测试",
|
|
|
|
"supplierCode": "1045543weee",
|
|
|
|
"descriptions": "新的公司2",
|
|
|
|
"country": "china",
|
|
|
|
"region": "tianjing",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 响应
|
|
|
|
|
|
|
|
|
|
|
|
执行成功时,响应如下:
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"clock": "2023-07-05 13:52:01.290",
|
|
|
|
"status": "ok",
|
|
|
|
"data": {
|
|
|
|
"info": {
|
|
|
|
"supplierCode": "1045543weee",
|
|
|
|
"descriptions": "新的公司22",
|
|
|
|
"country": "china",
|
|
|
|
"region": "tianjing",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
执行报错:
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"clock": "2023-06-25 20:00:00.000",
|
|
|
|
"status": "exception",
|
|
|
|
"message": "执行失败",
|
|
|
|
"data": {}
|
|
|
|
}
|
|
|
|
```
|