查询部门名列表
GET
/depts/list请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{
"code": 20000,
"message": "查询成功",
"data": [
{
"dept_name": "部门11",
"dept_id": 1
},
{
"dept_name": "研发部",
"dept_id": 2
},
{
"dept_name": "销售部",
"dept_id": 3
},
{
"dept_name": "维修部",
"dept_id": 5
},
{
"dept_name": "新型研发部",
"dept_id": 6
},
{
"dept_name": "软件研发部",
"dept_id": 7
},
{
"dept_name": "硬件研发部",
"dept_id": 8
},
{
"dept_name": "人事部",
"dept_id": 12
},
{
"dept_name": "服务开发部",
"dept_id": 13
},
{
"dept_name": "小卖部",
"dept_id": 14
},
{
"dept_name": "技术部",
"dept_id": 15
},
{
"dept_name": "媒体部",
"dept_id": 16
}
]
}
最后修改时间: 1 年前