查询车间名列表
GET
/workshops/list请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{
"code": 20000,
"message": "查询成功",
"data": [
{
"workshop_id": 1,
"workshop_name": "新车间1"
},
{
"workshop_id": 2,
"workshop_name": "车间2"
},
{
"workshop_id": 10,
"workshop_name": "车间5"
},
{
"workshop_id": 12,
"workshop_name": "车间4"
},
{
"workshop_id": 14,
"workshop_name": "车间1"
},
{
"workshop_id": 16,
"workshop_name": "车间7"
},
{
"workshop_id": 17,
"workshop_name": "车间8"
},
{
"workshop_id": 20,
"workshop_name": "车间11"
},
{
"workshop_id": 21,
"workshop_name": "车间12"
},
{
"workshop_id": 22,
"workshop_name": "车间13"
},
{
"workshop_id": 23,
"workshop_name": "车间14"
},
{
"workshop_id": 24,
"workshop_name": "车间15"
},
{
"workshop_id": 26,
"workshop_name": "新车间3"
},
{
"workshop_id": 27,
"workshop_name": "新车间6"
},
{
"workshop_id": 32,
"workshop_name": "车间20"
},
{
"workshop_id": 33,
"workshop_name": "车间21"
}
]
}
最后修改时间: 1 年前