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.
|
|
|
### 列出组件规格下拉选项(ListModSize)
|
|
|
|
|
|
|
|
此接口用于获取列出组件规格下拉列表
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 基本信息
|
|
|
|
|
|
|
|
方法:POST
|
|
|
|
|
|
|
|
URL: http://localhost:8033/open/ListModSize
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 请求
|
|
|
|
|
|
|
|
请求参数
|
|
|
|
|
|
|
|
| 参数名 | 类型 | 必填 | 说明 |
|
|
|
|
| :-- | :-- | :-- | :-- |
|
|
|
|
| profile | string | 是 | 厂区代码 |
|
|
|
|
| search | string | 否 | 组件规格选项模糊查询 |
|
|
|
|
|
|
|
|
示例 1:模糊查询组件规格选项
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"data": {
|
|
|
|
"profile": "测试",
|
|
|
|
"search": "1728"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### 响应
|
|
|
|
|
|
|
|
响应字段
|
|
|
|
|
|
|
|
| 字段 | 类型 | 说明 |
|
|
|
|
| :-- | :-- | :-- |
|
|
|
|
| SourceId | string | id |
|
|
|
|
| sourceGroupName | string | 选项分组值 |
|
|
|
|
| sourceGroupDesc | string | 选项分组描述 |
|
|
|
|
| SourceValue | string | 选项值 |
|
|
|
|
| SourceDesc | string | 选项描述 |
|
|
|
|
|
|
|
|
查询成功时,响应如下:
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"clock": "2023-07-05 15:03:37.622",
|
|
|
|
"status": "ok",
|
|
|
|
"data": {
|
|
|
|
"list": [
|
|
|
|
{
|
|
|
|
"sourceId": 52,
|
|
|
|
"sourceGroupName": "MOD_SIZE",
|
|
|
|
"sourceGroupDesc": "组件规格",
|
|
|
|
"sourceDesc": "1728*1134*30",
|
|
|
|
"sourceValue": "1728*1134*30"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
查询报错:
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"clock": "2023-06-25 20:00:00.000",
|
|
|
|
"status": "exception",
|
|
|
|
"message": "查询错误",
|
|
|
|
"data": {}
|
|
|
|
}
|
|
|
|
```
|