行业区域政企通
domain说明
序号 | 系统 | 环境 | 地址 | 备注 |
---|---|---|---|---|
1 | 卓易政企通 | 测试 | https://test-gateway.eazytec-cloud.com | 适用【园企通】【行业政企通】【乡镇政企通】【协会政企通】 |
2 | 卓易政企通 | 线上 | https://gateway.eazytec-cloud.com | 适用【园企通】【行业政企通】【乡镇政企通】【协会政企通】 |
3 | 宜兴政企通 | 测试 | https://test-gateway.eazytec-cloud.com/YX | 适用【宜兴政企通】 |
4 | 宜兴政企通 | 线上 | https://gateway.eazytec-cloud.com/YX | 适用【宜兴政企通】 |
5 | 宜兴政企通 | 线上-政务外网 | http://10.36.12.1:8000/YX(vpn) http://2.18.243.11:8000/YX(政务外网) | 适用【宜兴政企通-政务外网】 |
6 | 江苏政企通 | 测试 | https://test-gateway.eazytec-cloud.com/JS | 适用【江苏政企通】 |
7 | 江苏政企通 | 线上 | https://gateway.eazytec-cloud.com/JS | 适用【江苏政企通】 |
审批执法一体化政企通
domain说明
序号 | 系统 | 环境 | 地址 | 备注 |
---|---|---|---|---|
1 | 审批执法-江苏省 | 线上 | https://gateway.jsspzf.com | 适用【审批执法一体化:江苏省】 |
2 | 审批执法-新吴 | 线上 | http://36.156.152.86:8000 | 临时开放的互联网地址,后期会有互联网域名和政务外网ip之分 |
部门相关接口
序号 | 接口详情 | 地址 |
---|---|---|
1.1 | 部门树 | {domain}/AGCS_zqc/v3/zqtGov/dept/departmentTree/{userId} |
1.2 | 部门人员树 | {domain}/AGCS_zqc/v3/zqtGov/dept/departUserTree/{orgId} |
1.3 | 新增子部门 | {domain}/AGCS_zqc/v3/zqtGov/dept/department/create |
1.4 | 编辑部门(只支持修改部门名称) | {domain}/AGCS_zqc/v3/zqtGov/dept/department/update |
1.5 | 删除部门 | {domain}/AGCS_zqc/v3/zqtGov/dept/department/delete/{departmentId} |
1.6 | 根据政府labelId获取部门树 | {domain}/AGCS_zqc/v3_3/gov_dept/tree/{labelId} |
1.7 | 根据部门id获取当前的部门详情 | {domain}/AGCS_zqc/v3_3/gov_dept/detail |
1.8 | 根据政府labelId及部门id获取当前部门的人员信息 | {domain}/AGCS_zqc/v3_3/gov_user/own/list/{labelId}/{deptId} |
接口: 1.1 部门树
请求URL
{domain}/AGCS_zqc/v3/zqtGov/dept/departmentTree/{userId}
请求方式
GET
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Authorization | Bearer+空格+token | Bearer XXXXXX | 是 |
- 请求Path参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
userId | 用户id | String | 030cf1fd-9e07-434d-b7a6-55eb5207d97c | 是 |
- 返回
返回成功
{
"data": [
{
"children": [
{
"children": [],
"companyId": 1,
"createById": "cb18239d-e809-44d1-a2ca-5abbc21cfa19",
"createByName": "小",
"ctime": 1533283729680,
"deptCode": "00010001",
"deptNum": 2,
"depthiding": "0",
"hasChild": false,
"id": "0d5884f6-c4fb-4f94-b6be-f13ff0b1367c",
"isdel": "0",
"level": 2,
"name": "eee",
"orders": 1,
"parentid": "01eef300-0152-46fb-bf8a-9e6cd5ee4028"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1533631799560,
"deptCode": "00010002",
"deptNum": 1,
"depthiding": "0",
"hasChild": false,
"id": "1ce11b6a-e62b-47e6-a2aa-e0a1a4fdbfda",
"isdel": "0",
"level": 2,
"name": "111",
"orders": 2,
"parentid": "01eef300-0152-46fb-bf8a-9e6cd5ee4028"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1533631849945,
"deptCode": "00010004",
"deptNum": 0,
"depthiding": "0",
"hasChild": false,
"id": "34018ec8-14a7-4e4b-9e67-20bf2f6b6302",
"isdel": "0",
"level": 2,
"name": "333",
"orders": 4,
"parentid": "01eef300-0152-46fb-bf8a-9e6cd5ee4028"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1533635316709,
"deptCode": "00010005",
"deptNum": 0,
"depthiding": "0",
"hasChild": false,
"id": "71b4731b-f14d-41a6-938f-e6130dc75c9c",
"isdel": "0",
"level": 2,
"name": "11",
"orders": 5,
"parentid": "01eef300-0152-46fb-bf8a-9e6cd5ee4028"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1533689308674,
"deptCode": "00010006",
"deptNum": 0,
"depthiding": "0",
"hasChild": false,
"id": "d0ea5f45-92c0-41ff-b366-2d37a05ca8a9",
"isdel": "0",
"level": 2,
"name": "444",
"orders": 6,
"parentid": "01eef300-0152-46fb-bf8a-9e6cd5ee4028"
}
],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1530664071899,
"deptCode": "0001",
"deptNum": 6,
"depthiding": "0",
"hasChild": true,
"id": "01eef300-0152-46fb-bf8a-9e6cd5ee4028",
"isdel": "0",
"level": 1,
"name": "主任",
"orders": 1,
"parentid": "0"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1530667491586,
"deptCode": "0002",
"deptNum": 1,
"depthiding": "0",
"hasChild": false,
"id": "3b681c8c-b641-45df-8b06-69045e617136",
"isdel": "0",
"level": 1,
"name": "书记",
"orders": 2,
"parentid": "0"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1530668972593,
"deptCode": "0003",
"deptNum": 1,
"depthiding": "0",
"hasChild": false,
"id": "fe579a38-bf46-4805-9358-f2a1df7d1fb8",
"isdel": "0",
"level": 1,
"name": "副主任",
"orders": 3,
"parentid": "0"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1530670515960,
"deptCode": "0004",
"deptNum": 1,
"depthiding": "0",
"hasChild": false,
"id": "93e48a42-1bc3-45ff-8fe1-95573625c03e",
"isdel": "0",
"level": 1,
"name": "党委办公室",
"orders": 4,
"parentid": "0"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1530671251592,
"deptCode": "0005",
"deptNum": 1,
"depthiding": "0",
"hasChild": false,
"id": "b0679784-d4cc-4496-979d-b1627caa6de6",
"isdel": "0",
"level": 1,
"name": "工 会",
"orders": 5,
"parentid": "0"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1530672635700,
"deptCode": "0006",
"deptNum": -7,
"depthiding": "0",
"hasChild": false,
"id": "e491f93d-b0d0-4fa8-af11-e13b1c46016c",
"isdel": "0",
"level": 1,
"name": "综合管理部",
"orders": 6,
"parentid": "0"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1530673726885,
"deptCode": "0007",
"deptNum": 3,
"depthiding": "0",
"hasChild": false,
"id": "8f3289dd-a5b2-41dc-ba51-36026a8cebce",
"isdel": "0",
"level": 1,
"name": "财务审计部",
"orders": 7,
"parentid": "0"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1530673752975,
"deptCode": "0010",
"deptNum": 3,
"depthiding": "0",
"hasChild": false,
"id": "b9179ffa-c6ed-4e6f-99d7-284c64117ada",
"isdel": "0",
"level": 1,
"name": "科技创新部",
"orders": 7,
"parentid": "0"
},
{
"children": [
{
"children": [],
"companyId": 1,
"createById": "b139158d-3e79-44a0-ad47-3e1ac00c6d93",
"createByName": "高庆飞",
"ctime": 1533193329665,
"deptCode": "00080001",
"deptNum": 7,
"depthiding": "0",
"hasChild": false,
"id": "689b07ba-a8ba-4f77-8495-8ddc6a7a014e",
"isdel": "0",
"level": 2,
"name": "测试",
"orders": 1,
"parentid": "b288f224-6a66-440c-8fc5-6049d360bb14"
}
],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1530673736812,
"deptCode": "0008",
"deptNum": 11,
"depthiding": "0",
"hasChild": true,
"id": "b288f224-6a66-440c-8fc5-6049d360bb14",
"isdel": "0",
"level": 1,
"name": "经济发展部",
"orders": 8,
"parentid": "0"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1530673744947,
"deptCode": "0009",
"deptNum": 8,
"depthiding": "0",
"hasChild": false,
"id": "aa51526d-a7e7-4f0b-831b-e0eb870fe77c",
"isdel": "0",
"level": 1,
"name": "招商部",
"orders": 9,
"parentid": "0"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1530673773161,
"deptCode": "0012",
"deptNum": 3,
"depthiding": "0",
"hasChild": false,
"id": "1c62b001-b00f-4cd7-a1d3-9496c4b1ef58",
"isdel": "0",
"level": 1,
"name": "工程建设部",
"orders": 10,
"parentid": "0"
},
{
"children": [],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1530673760828,
"deptCode": "0011",
"deptNum": 9,
"depthiding": "0",
"hasChild": false,
"id": "b8bcee73-0824-4702-b7c4-adc4bef90c84",
"isdel": "0",
"level": 1,
"name": "规划与园区运营部",
"orders": 10,
"parentid": "0"
}
],
"msg": "success",
"status": 200
}
参数 | 描述 | 格式 |
---|---|---|
status | 内部的状态码 | 整数 |
msg | 成功或失败的消息说明 | string |
data | 请求成功时表示部门树列表,请求失败会返回失败原因! | string |
接口: 1.2 部门人员树
请求URL
{domain}/AGCS_zqc/v3/zqtGov/dept/departUserTree/{orgId}
请求方式
GET
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Authorization | Bearer+空格+token | Bearer XXXXXX | 是 |
- 请求Path参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
orgId | 政府id | Long | 1 | 是 |
- 返回
返回成功
{
"data": [
{
"children": [
{
"deptCode": "0001",
"id": "f51b0925-d687-4b10-9260-2334ed8a4a6a",
"isUser": true,
"name": "吴东越"
},
{
"children": [],
"deptCode": "00010001",
"id": "0d5884f6-c4fb-4f94-b6be-f13ff0b1367c",
"isUser": false,
"name": "eee",
"pId": "01eef300-0152-46fb-bf8a-9e6cd5ee4028"
},
{
"children": [],
"deptCode": "00010002",
"id": "1ce11b6a-e62b-47e6-a2aa-e0a1a4fdbfda",
"isUser": false,
"name": "111",
"pId": "01eef300-0152-46fb-bf8a-9e6cd5ee4028"
},
{
"children": [],
"deptCode": "00010004",
"id": "34018ec8-14a7-4e4b-9e67-20bf2f6b6302",
"isUser": false,
"name": "333",
"pId": "01eef300-0152-46fb-bf8a-9e6cd5ee4028"
},
{
"children": [],
"deptCode": "00010005",
"id": "71b4731b-f14d-41a6-938f-e6130dc75c9c",
"isUser": false,
"name": "11",
"pId": "01eef300-0152-46fb-bf8a-9e6cd5ee4028"
},
{
"children": [],
"deptCode": "00010006",
"id": "d0ea5f45-92c0-41ff-b366-2d37a05ca8a9",
"isUser": false,
"name": "444",
"pId": "01eef300-0152-46fb-bf8a-9e6cd5ee4028"
}
],
"deptCode": "0001",
"id": "01eef300-0152-46fb-bf8a-9e6cd5ee4028",
"isUser": false,
"name": "主任",
"pId": "0"
},
{
"children": [
{
"deptCode": "0002",
"id": "5386b09d-d0e7-44cc-9e50-258196530e14",
"isUser": true,
"name": "刘慰生"
}
],
"deptCode": "0002",
"id": "3b681c8c-b641-45df-8b06-69045e617136",
"isUser": false,
"name": "书记",
"pId": "0"
},
{
"children": [
{
"deptCode": "0003",
"id": "1da12eab-80c2-4e93-a193-ce4209d7061d",
"isUser": true,
"name": "胡 俊"
},
{
"deptCode": "0003",
"id": "834eaeed-8f90-4033-804e-581bc940c89b",
"isUser": true,
"name": "谢文章"
},
{
"deptCode": "0003",
"id": "d69d5eb9-f1fc-429c-826e-2848e235bcfc",
"isUser": true,
"name": "周 荣"
},
{
"deptCode": "0003",
"id": "dff8783f-3aca-446e-bd03-59c96413e6fb",
"isUser": true,
"name": "魏 东"
}
],
"deptCode": "0003",
"id": "fe579a38-bf46-4805-9358-f2a1df7d1fb8",
"isUser": false,
"name": "副主任",
"pId": "0"
},
{
"children": [
{
"deptCode": "0004",
"id": "083f59f8-3226-4207-8718-ee6bc0d6ef88",
"isUser": true,
"name": "刘宁晖"
}
],
"deptCode": "0004",
"id": "93e48a42-1bc3-45ff-8fe1-95573625c03e",
"isUser": false,
"name": "党委办公室",
"pId": "0"
},
{
"children": [
{
"deptCode": "0005",
"id": "31cdaac0-68d4-47d1-867a-c35c58eda5ab",
"isUser": true,
"name": "周红梅"
}
],
"deptCode": "0005",
"id": "b0679784-d4cc-4496-979d-b1627caa6de6",
"isUser": false,
"name": "工 会",
"pId": "0"
},
{
"children": [
{
"deptCode": "0006",
"id": "17a25a3c-8dc2-481d-b391-05375a2e16d3",
"isUser": true,
"name": "薛信莉"
},
{
"deptCode": "0006",
"id": "2bc8ccb5-ef9c-4e6b-b01e-512bf07acf72",
"isUser": true,
"name": "何媛玲"
},
{
"deptCode": "0006",
"id": "469a9e57-9289-478d-a22b-debacde27ba0",
"isUser": true,
"name": "陈光明"
},
{
"deptCode": "0006",
"id": "606f1326-d32f-498e-9a7b-c2e4e3cac990",
"isUser": true,
"name": "刘国俊"
},
{
"deptCode": "0006",
"id": "63ad3858-21fe-449a-8741-5060c314578c",
"isUser": true,
"name": "朱珊珊"
},
{
"deptCode": "0006",
"id": "c6e06b3c-1bec-4788-b5b9-a6aad1eab3bd",
"isUser": true,
"name": "严 燕"
},
{
"deptCode": "0006",
"id": "f02086f1-c9e8-4049-aeb8-ed514d520a0a",
"isUser": true,
"name": "夏文婷"
},
{
"deptCode": "0006",
"id": "fd447dd7-216b-4825-8d05-42f8f9a06c23",
"isUser": true,
"name": "孟 沁"
}
],
"deptCode": "0006",
"id": "e491f93d-b0d0-4fa8-af11-e13b1c46016c",
"isUser": false,
"name": "综合管理部",
"pId": "0"
},
{
"children": [
{
"deptCode": "0007",
"id": "5cbd16fa-6cec-4272-92a2-02747b56fa8d",
"isUser": true,
"name": "宫 静"
},
{
"deptCode": "0007",
"id": "6b6078f3-b8d9-4ccf-b42e-39c0e6dbf9f6",
"isUser": true,
"name": "胡维祺"
},
{
"deptCode": "0007",
"id": "85d75ed5-56a4-49b4-8c32-a3d98f21cd3e",
"isUser": true,
"name": "丁建华"
},
{
"deptCode": "0007",
"id": "a6702110-b86f-4939-b8c9-ebb72da22daa",
"isUser": true,
"name": "庄海韵"
},
{
"deptCode": "0007",
"id": "a9dc9fc8-a612-426e-9c0b-61c2c7e38ae5",
"isUser": true,
"name": "胡 玥"
},
{
"deptCode": "0007",
"id": "ad7a957c-d792-456a-a548-b6f4b78dc85a",
"isUser": true,
"name": "姚 阳"
},
{
"deptCode": "0007",
"id": "d1aabb61-7c3b-46e2-84d6-3f63a86998b2",
"isUser": true,
"name": "王艳华"
},
{
"deptCode": "0007",
"id": "d2e76a6d-3c9b-4de3-b208-93a9adc5cc0f",
"isUser": true,
"name": "张 吉"
}
],
"deptCode": "0007",
"id": "8f3289dd-a5b2-41dc-ba51-36026a8cebce",
"isUser": false,
"name": "财务审计部",
"pId": "0"
},
{
"children": [
{
"deptCode": "0010",
"id": "1d9a22e2-a554-4609-9a10-8007f30e5422",
"isUser": true,
"name": "胡晓靓"
},
{
"deptCode": "0010",
"id": "4676df23-a077-4201-9d1a-905163d9f6b1",
"isUser": true,
"name": "邓焱芳"
},
{
"deptCode": "0010",
"id": "487f69b1-13c0-4559-81e8-55679940c6bd",
"isUser": true,
"name": "张义鑫"
},
{
"deptCode": "0010",
"id": "855b5c9b-c000-4f57-81e3-e33cec37586f",
"isUser": true,
"name": "马 超"
},
{
"deptCode": "0010",
"id": "965ccb25-5ece-488b-8438-2e5f12ea23de",
"isUser": true,
"name": "罗文妍"
},
{
"deptCode": "0010",
"id": "df54af0c-4cbf-45f2-b109-9e945141aa70",
"isUser": true,
"name": "吴德清"
},
{
"deptCode": "0010",
"id": "e67f6385-6482-4abe-90e3-3a584d7987d8",
"isUser": true,
"name": "邢 天"
}
],
"deptCode": "0010",
"id": "b9179ffa-c6ed-4e6f-99d7-284c64117ada",
"isUser": false,
"name": "科技创新部",
"pId": "0"
},
{
"children": [
{
"deptCode": "0008",
"id": "030cf1fd-9e07-434d-b7a6-55eb5207d97c",
"isUser": true,
"name": "马千"
},
{
"deptCode": "0008",
"id": "0315be8e-4570-449d-a2e3-b7ae20c1d3b4",
"isUser": true,
"name": "殷松银"
},
{
"deptCode": "0008",
"id": "3a2ef317-5a58-4ffa-94be-fb3728960398",
"isUser": true,
"name": "孙 权"
},
{
"deptCode": "0008",
"id": "54e4c477-8c31-4ccf-b42b-ef1b24fd28e0",
"isUser": true,
"name": "莫晓刚"
},
{
"deptCode": "0008",
"id": "8e07d2a2-0a96-4d7c-bde2-627703564ac5",
"isUser": true,
"name": "张荣娟"
},
{
"deptCode": "0008",
"id": "948ef500-5781-4e7e-acf5-47c9b2c579a4",
"isUser": true,
"name": "田 青"
},
{
"deptCode": "0008",
"id": "ae210dbc-691d-4be0-b5e2-2778e7f27b80",
"isUser": true,
"name": "陆婧婧"
},
{
"deptCode": "0008",
"id": "b139158d-3e79-44a0-ad47-3e1ac00c6d93",
"isUser": true,
"name": "高庆飞"
},
{
"deptCode": "0008",
"id": "c9a4bcb8-288a-48f7-af37-3c0075c4708c",
"isUser": true,
"name": "虞 昊"
},
{
"deptCode": "0008",
"id": "ef0af534-048f-475b-aaa4-84ff9af3b6d9",
"isUser": true,
"name": "刘晋雄"
},
{
"children": [
{
"deptCode": "00080001",
"id": "4c7678e2-9488-43a4-9ce7-77d4d82ec538",
"isUser": true,
"name": "李冬冬"
},
{
"deptCode": "00080001",
"id": "51aeb43e-7c8a-4089-bf4d-7eb08caa7894",
"isUser": true,
"name": "张大干"
},
{
"deptCode": "00080001",
"id": "7522eaac-769a-466b-a22c-3da6124c01e6",
"isUser": true,
"name": "单单群"
},
{
"deptCode": "00080001",
"id": "8aa133bf-0027-4562-8b78-af0e6d32b01c",
"isUser": true,
"name": "高峰"
},
{
"deptCode": "00080001",
"id": "b747c563-b964-4e88-82c7-8fbfe8f23d1e",
"isUser": true,
"name": "单群"
},
{
"deptCode": "00080001",
"id": "cb18239d-e809-44d1-a2ca-5abbc21cfa19",
"isUser": true,
"name": "小"
},
{
"deptCode": "00080001",
"id": "e346f055-d51b-4bd4-9a50-b547a9bf2d0b",
"isUser": true,
"name": "单一群"
},
{
"deptCode": "00080001",
"id": "e536bf69-2e8b-4057-892f-de58fa1f5d50",
"isUser": true,
"name": "王佳杰"
}
],
"deptCode": "00080001",
"id": "689b07ba-a8ba-4f77-8495-8ddc6a7a014e",
"isUser": false,
"name": "测试",
"pId": "b288f224-6a66-440c-8fc5-6049d360bb14"
}
],
"deptCode": "0008",
"id": "b288f224-6a66-440c-8fc5-6049d360bb14",
"isUser": false,
"name": "经济发展部",
"pId": "0"
},
{
"children": [
{
"deptCode": "0009",
"id": "07d20538-9254-4811-91b8-08ddc719332a",
"isUser": true,
"name": "王淑珍"
},
{
"deptCode": "0009",
"id": "1ccbecf3-71ba-4f6f-b533-0a64554c57e1",
"isUser": true,
"name": "王 超"
},
{
"deptCode": "0009",
"id": "1f82b639-e029-4677-b2e4-7ecaca5be4b6",
"isUser": true,
"name": "王 静"
},
{
"deptCode": "0009",
"id": "26977fb6-ff9b-427e-933f-9852325201d0",
"isUser": true,
"name": "毛卉青"
},
{
"deptCode": "0009",
"id": "2d7a6285-540c-4185-b8da-bc0ff232d183",
"isUser": true,
"name": "张 伟"
},
{
"deptCode": "0009",
"id": "47abc0e1-4e72-4942-8d10-9a5751c75cb0",
"isUser": true,
"name": "李 涛2"
},
{
"deptCode": "0009",
"id": "6b9b0752-e135-4808-8a4a-00fb274d0b2c",
"isUser": true,
"name": "朱楠楠"
},
{
"deptCode": "0009",
"id": "a254dca5-2202-430c-a76e-b27039630817",
"isUser": true,
"name": "赵 华"
},
{
"deptCode": "0009",
"id": "a41ff867-efb6-4e43-99fd-6a263d577aa1",
"isUser": true,
"name": "鞠冰卿"
},
{
"deptCode": "0009",
"id": "b50a4abf-8b8f-472f-9643-de115f70b4ea",
"isUser": true,
"name": "张亚男"
}
],
"deptCode": "0009",
"id": "aa51526d-a7e7-4f0b-831b-e0eb870fe77c",
"isUser": false,
"name": "招商部",
"pId": "0"
},
{
"children": [
{
"deptCode": "0012",
"id": "2a4b99de-3f8f-4d95-b238-ab72f7c12235",
"isUser": true,
"name": "朱 曦"
},
{
"deptCode": "0012",
"id": "3b4609f9-9ecc-4f86-bef0-730c83dcab0e",
"isUser": true,
"name": "黄 翔"
},
{
"deptCode": "0012",
"id": "60621540-3d70-44cc-a848-0a29bb6ff041",
"isUser": true,
"name": "张仁祖"
},
{
"deptCode": "0012",
"id": "cb791f8f-5e19-4506-9ebd-461936e19ee1",
"isUser": true,
"name": "张正兵"
},
{
"deptCode": "0012",
"id": "da322c6d-b8b0-4543-9067-f3bd155547e7",
"isUser": true,
"name": "王 涛"
}
],
"deptCode": "0012",
"id": "1c62b001-b00f-4cd7-a1d3-9496c4b1ef58",
"isUser": false,
"name": "工程建设部",
"pId": "0"
},
{
"children": [
{
"deptCode": "0011",
"id": "088014ad-7e2d-4755-8885-b7f9b67cb334",
"isUser": true,
"name": "凌海洋"
},
{
"deptCode": "0011",
"id": "0c0eced1-ce60-4ccf-a085-21f1469622ef",
"isUser": true,
"name": "李 涛1"
},
{
"deptCode": "0011",
"id": "100e1bd9-2a5b-4794-b0f6-204e430f181c",
"isUser": true,
"name": "朱昭宇"
},
{
"deptCode": "0011",
"id": "204ed037-c7d6-4fd6-bd8f-7f9ff2168709",
"isUser": true,
"name": "邵树圣"
},
{
"deptCode": "0011",
"id": "32a2f356-ec44-443a-bdce-7b2399268e87",
"isUser": true,
"name": "郭 婷"
},
{
"deptCode": "0011",
"id": "35959958-ee1e-42a6-b9be-072ab7141af3",
"isUser": true,
"name": "孟凡芹"
},
{
"deptCode": "0011",
"id": "38e76c26-d351-407a-9b24-f353802fdb9c",
"isUser": true,
"name": "马 亮"
},
{
"deptCode": "0011",
"id": "445a5b5c-22a7-409c-ab9a-aec07f388306",
"isUser": true,
"name": "陶 花"
},
{
"deptCode": "0011",
"id": "5f722529-eb4e-4282-a246-97f22a0f4237",
"isUser": true,
"name": "王家庆"
},
{
"deptCode": "0011",
"id": "65d601e1-4b21-47ec-8ec3-100bd505d6d4",
"isUser": true,
"name": "张 瑞"
},
{
"deptCode": "0011",
"id": "6765788d-c9ce-4bca-a53e-b0d270e397c0",
"isUser": true,
"name": "陈 兵"
},
{
"deptCode": "0011",
"id": "773e8ee5-b66d-40fe-a473-cbaceb2b6995",
"isUser": true,
"name": "周滨群"
},
{
"deptCode": "0011",
"id": "a9dc2458-003c-4080-8b1b-d9f5c36b3d56",
"isUser": true,
"name": "方冬冬"
},
{
"deptCode": "0011",
"id": "b96e1ddd-85f1-4121-9875-0c3b52e0951e",
"isUser": true,
"name": "李 苏"
},
{
"deptCode": "0011",
"id": "d90a41a4-4a7c-40df-84cd-caa109dce3f2",
"isUser": true,
"name": "陈尔东"
},
{
"deptCode": "0011",
"id": "ee73cebb-09b5-4719-b608-f87732b6142d",
"isUser": true,
"name": "王智恒"
}
],
"deptCode": "0011",
"id": "b8bcee73-0824-4702-b7c4-adc4bef90c84",
"isUser": false,
"name": "规划与园区运营部",
"pId": "0"
}
],
"msg": "success",
"status": 200
}
参数 | 描述 | 格式 |
---|---|---|
status | 内部的状态码 | 整数 |
msg | 成功或失败的消息说明 | string |
data | 请求成功时表示部门人员树列表,请求失败会返回失败原因! | string |
接口: 1.3 新增子部门
请求URL
{domain}/AGCS_zqc/v3/zqtGov/dept/department/create
请求方式
POST
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Authorization | Bearer+空格+token | Bearer XXXXXX | 是 |
- 请求Query参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
userId | 用户id | String | 030cf1fd-9e07-434d-b7a6-55eb5207d97c | 是 |
- 请求Body
Type: raw
{
"name":"",
"parentid":"",
"companyId":""
}
示例
{
"name":"测试001001",
"parentid":"c486e220-d998-4075-923b-9a88e5959e8b",
"companyId":"1"
}
- 返回
返回成功
{
"data": {
"companyId": 1,
"createById": "030cf1fd-9e07-434d-b7a6-55eb5207d97c",
"createByName": "马千",
"ctime": 1541984866571,
"deptCode": "00130001",
"deptNum": 0,
"depthiding": "0",
"id": "6a347e3f-352a-4185-a240-61bbda3035f7",
"isdel": "0",
"level": 2,
"name": "测试001001",
"orders": 1,
"parentid": "c486e220-d998-4075-923b-9a88e5959e8b"
},
"msg": "success",
"status": 200
}
返回失败:601
{
"data": "创建部门失败",
"msg": "创建部门失败",
"status": 601
}
参数 | 描述 | 格式 |
---|---|---|
status | 内部的状态码 | 整数 |
msg | 成功或失败的消息说明 | string |
data | 请求成功时表示新增成功,请求失败会返回失败原因! | string |
接口: 1.4 编辑部门(只支持修改部门名称)
请求URL
{domain}/AGCS_zqc/v3/zqtGov/dept/department/update
请求方式
PUT
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Authorization | Bearer+空格+token | Bearer XXXXXX | 是 |
- 请求Query参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
userId | 用户id | String | 030cf1fd-9e07-434d-b7a6-55eb5207d97c | 是 |
- 请求Body
Type: raw
{
"name":"",
"id":""
}
示例
{
"name":"测试0101",
"id":"6a347e3f-352a-4185-a240-61bbda3035f7"
}
- 返回
返回成功
{
"data": {
"companyId": 1,
"createById": "030cf1fd-9e07-434d-b7a6-55eb5207d97c",
"createByName": "马千",
"ctime": 1541984866571,
"deptCode": "00130001",
"deptNum": 0,
"depthiding": "0",
"id": "6a347e3f-352a-4185-a240-61bbda3035f7",
"isdel": "0",
"level": 2,
"name": "测试0101",
"orders": 1,
"parentid": "c486e220-d998-4075-923b-9a88e5959e8b",
"updateById": "030cf1fd-9e07-434d-b7a6-55eb5207d97c",
"updateByName": "马千",
"uptime": 1541986062706
},
"msg": "success",
"status": 200
}
返回失败:602
{
"data": "编辑失败",
"msg": "编辑失败",
"status": 602
}
参数 | 描述 | 格式 |
---|---|---|
status | 内部的状态码 | 整数 |
msg | 成功或失败的消息说明 | string |
data | 请求成功时表示编辑成功,请求失败会返回失败原因! | string |
接口: 1.5 删除部门
请求URL
{domain}/AGCS_zqc/v3/zqtGov/dept/department/delete/{departmentId}
请求方式
DELETE
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Authorization | Bearer+空格+token | Bearer XXXXXX | 是 |
- 请求Path参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
departmentId | 部门id | String | c486e220-d998-4075-923b-9a88e5959e8b | 是 |
- 返回
返回成功
{
"data": 1,
"msg": "success",
"status": 200
}
返回失败:603
{
"data": "该部门下存在部门人员无法删除",
"msg": "该部门下存在部门人员无法删除",
"status": 603
}
返回失败:604
{
"data": "该部门下存在下级部门无法删除",
"msg": "该部门下存在下级部门无法删除",
"status": 603
}
返回失败:605
{
"data": "删除失败",
"msg": "删除失败",
"status": 605
}
参数 | 描述 | 格式 |
---|---|---|
status | 内部的状态码 | 整数 |
msg | 成功或失败的消息说明 | string |
data | 请求成功时表示删除成功,请求失败会返回失败原因! | string |
接口: 1.6 根据政府labelId获取部门树
请求URL
{domain}/AGCS_zqc/v3_3/gov_dept/tree/{labelId}
请求方式
GET
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Authorization | Bearer+空格+token | Bearer XXXXXX | 是 |
- 请求Query参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
isPub | 是否只展示公开部门(1-公开,0-全部) | int | 0 | 是 |
- 返回
返回成功
{
"data": [
{
"children": [
{
"children": [],
"companyId": 1,
"createById": "cb18239d-e809-44d1-a2ca-5abbc21cfa19",
"createByName": "小",
"ctime": 1533283729680,
"deptCode": "00010001",
"deptNum": 2,
"depthiding": "0",
"hasChild": false,
"id": "0d5884f6-c4fb-4f94-b6be-f13ff0b1367c",
"isdel": "0",
"level": 2,
"name": "eee",
"orders": 1,
"parentid": "01eef300-0152-46fb-bf8a-9e6cd5ee4028"
}
],
"companyId": 1,
"createById": "2ef14a97-99d7-4d07-956d-0de127bfa3fc",
"createByName": "test",
"ctime": 1530664071899,
"deptCode": "0001",
"deptNum": 6,
"depthiding": "0",
"hasChild": true,
"id": "01eef300-0152-46fb-bf8a-9e6cd5ee4028",
"isdel": "0",
"level": 1,
"name": "主任",
"orders": 1,
"parentid": "0"
}
],
"msg": "success",
"status": 200
}
参数 | 描述 | 格式 |
---|---|---|
status | 内部的状态码 | 整数 |
msg | 成功或失败的消息说明 | string |
data | 请求成功时表示部门树列表,请求失败会返回失败原因! | string |
接口: 1.7 根据部门id获取当前的部门详情
请求URL
{domain}/AGCS_zqc/v3_3/gov_dept/detail
请求方式
GET
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Authorization | Bearer+空格+token | Bearer XXXXXX | 是 |
- 请求Query参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
deptId | 部门id | string | df822d11-f582-4b81-9dd0-71f9bd023a5b | 是 |
- 返回
返回成功
{
"data": {
"companyId": 1,
"createById": "51746c78-08af-4ecc-a980-acd912a49500",
"createByName": "admin",
"ctime": 1548032998938,
"deptCode": "0018",
"deptNum": 0,
"depthiding": "0",
"id": "df822d11-f582-4b81-9dd0-71f9bd023a5b",
"isdel": "0",
"level": 1,
"name": "演示部门",
"orders": 14,
"parentid": "0",
"updateById": "51746c78-08af-4ecc-a980-acd912a49500",
"updateByName": "admin",
"uptime": 1553150838599
},
"msg": "success",
"status": 200
}
参数 | 描述 | 格式 |
---|---|---|
status | 内部的状态码 | 整数 |
msg | 成功或失败的消息说明 | string |
data | 请求成功时表示部门树列表,请求失败会返回失败原因! | string |
接口: 1.8 根据政府labelId及部门id获取当前部门的人员信息
请求URL
{domain}/AGCS_zqc/v3_3/gov_user/own/list/{labelId}/{deptId}
请求方式
GET
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Authorization | Bearer+空格+token | Bearer XXXXXX | 是 |
- 请求Path参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
labelId | 政府labelId | String | b486e220-d998-42b2-923b-9a827928ebsc02 | 是 |
deptId | 部门id | String | c486e220-d998-4075-923b-9a88e5959e8b | 是 |
- 返回
返回成功
{
"data": {
"curPage": 1,
"itemList": [
{
"baseId": "5cce822c-9560-4ba2-90e5-8577fb14ad41",
"birthday": "",
"companyId": 1,
"ctime": 1571964957362,
"email": "jianghr@njitrip.com",
"govUserDeptRelatedBeans": [
{
"deptId": "01eef300-0152-46fb-bf8a-9e6cd5ee4028",
"deptName": "园区领导",
"duty": "管办主任",
"dutyDetail": 1,
"id": "85e1123a-314d-4a00-a866-241b3542bc7c",
"isAdmin": 1,
"labelId": "5cce822c-9560-4ba2-90e5-8577fb14ad41",
"orders": 1,
"userId": "40fd0f9e-2230-4799-b4fc-72e79d6ad188"
}
],
"imId": "5533c2a9-b405-4a15-afac-10c3fb5d8d46",
"isAdmin": "1",
"isDisable": 0,
"landlinePhone": "58536516",
"lastLoginLabelId": "5cce822c-9560-4ba2-90e5-8577fb14ad41",
"locked": 0,
"orders": 1,
"password": "d68b792de5400dce847ece4f4ce762772a08b893",
"phones": [
"15895923699"
],
"realname": "蒋华荣",
"systemId": "97719c1d-85af-4ad2-a955-2df7ea1684e9",
"userId": "40fd0f9e-2230-4799-b4fc-72e79d6ad188",
"userType": "1",
"username": "15895923699"
}
],
"pageCount": 1,
"recordCount": 1
},
"msg": "success",
"status": 200
}
参数 | 描述 | 格式 |
---|---|---|
status | 内部的状态码 | 整数 |
msg | 成功或失败的消息说明 | string |
data | 请求成功时表示部门树列表,请求失败会返回失败原因! | string |