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 | 适用【江苏政企通】 |
8 | 安可 | 测试 | http://192.168.16.163:8091 | 适用安可测试调试,后续路由中忽略/AGCS_zqc,token获取请教蒋超 |
待办中心
1. 获取政企通政府端首页待办或已办(分类展示)
2. 获取政企通政府端待办列表
3. 获取政企通政府端已办列表
4. 查询用户的待办或已办应用
5. 新增待办
6. 修改待办或已办
7. 批量删除待办或已办
8. 设置用户工作办理状态
9. 查询一条待办或已办
10. 获取政企通政府端办事中心所有列表
1. 获取政企通政府端首页待办或已办(分类展示)
请求URL
/AGCS_zqc/v3/work/todo/main
请求方式
GET
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Content-Type | application/json | application/json | 否 |
- 请求Query参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
pageNum | 分页时的当前页数 | int >=1 | 1 | 否,默认为1 |
pageSize | 分页时的每页记录数 | int >=1 | 10 | 否,默认为5 |
uid | 用户id | String | 1f82b639-e029-4677-b2e4-7ecaca5be4b6 | 是 |
orgId | 用户orgId | String | 5cce822c-9560-4ba2-90e5-8577fb14ad41 | 否 |
status | 用户工作办理状态 | int | 0 | 否 |
name | 标题模糊查询 | String | 标题模糊查询 | 否 |
- 返回
返回成功{ "data": { "itemList": [{ "appname": "租赁管理", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190308/d8337748-9fa4-4e0e-9942-12ac46087be9.png", "appid": "njsp-app-zlht", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190308/5a35fed9-091f-426e-8355-43a1f2998b5d.png", "list": [{ "appname":"ZQT_xxx", "clientName": "租赁管理", "clientid": "njsp-app-zlht", "content": "南京禾健生物科技有限公司新增合同审批", "createName": "姚强", "createdby": "26977fb6-ff9b-427e-933f-9852325201d0", "createdtime": 1560758520000, "id": 745, "level": 1, "name": "南京禾健生物科技有限公司新增审批", "pcurl": "https://jb-lease.eazytec-cloud.com/ruTask/edit?id=1&assignee=18951866121", "realname": "毛卉青", "status": 0, "url": "https://jb-lease-app.eazytec-cloud.com/task/detail/ruTask/1/18951866121" }, { "appname":"ZQT_xxx", "clientName": "租赁管理", "clientid": "njsp-app-zlht", "content": "中建环球投资控股集团有限公司新增合同审批", "createName": "姚强", "createdby": "f51b0925-d687-4b10-9260-2334ed8a4a6a", "createdtime": 1557220357000, "finishtime": 1557220383000, "id": 570, "level": 1, "name": "中建环球投资控股集团有限公司新增审批", "pcurl": "https://jb-lease.eazytec-cloud.com/hiTask/detail?id=2", "realname": "吴东越", "status": 1, "url": "https://jb-lease-app.eazytec-cloud.com/task/detail/hiTask/2" }] }], "pageNo": 1, "pageSize": 5, "totalNum": 1, "totalPage": 1 }, "msg": "success", "status": 200 }
字段 | 描述 |
---|---|
itemList中的appname | 应用名称 |
list中的appname | 在卓易云平台创建应用的英文名称 |
avatarBig | 应用大图标 |
appid | 应用id |
avatar | 应用小图标 |
clientName | 应用名称 |
clientid | 应用id |
content | 待办内容 |
createName | 自定义的创建人姓名 |
createdby | 创建人uid |
realname | 创建人用户真实姓名 |
createdtime | 创建时间 |
id | 工作id |
level | 级别 |
name | 待办名称标题 |
orgid | 用户orgid |
pcurl | PC端跳转待办详情链接 |
url | 手机端跳转待办详情链接 |
status | 工作状态 |
返回失败: 400(参数缺失)
{
"data": "缺少必要参数:uid不能为空" ,
"msg": "fail",
"status": 400
}
2. 获取政企通政府端待办列表
请求URL
/AGCS_zqc/v3/work/todo/list
请求方式
GET
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Content-Type | application/json | application/json | 否 |
- 请求Query参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
pageNum | 分页时的当前页数 | int >=1 | 1 | 否,默认为1 |
pageSize | 分页时的每页记录数 | int >=1 | 10 | 否,默认为10 |
uid | 接收人用户ID | String | 51746c78-08af-4ecc-a980-acd912a49500 | 是 |
orgId | 接收人组织ID (政企labelid/企业baseid) | String | 5cce822c-9560-4ba2-90e5-8577fb14ad41 | 否 |
clientId | 应用ID | String | zqtong-gov-app-gzxt | 否 |
name | 待办标题 | String | 否 |
- 返回
返回成功{ "data": { "itemList": [ { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/de6e8fcf-11e1-426a-88d9-93b8931b1930.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/78c15f08-fdf6-4f18-a85f-685dde73a033.png", "clientName": "协同招商", "clientid": "njsp-management-platform", "content": "990009协同招商测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562827361000, "id": 114, "level": 1, "name": "90000协同招商测试待237733办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/de6e8fcf-11e1-426a-88d9-93b8931b1930.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/78c15f08-fdf6-4f18-a85f-685dde73a033.png", "clientName": "协同招商", "clientid": "njsp-management-platform", "content": "999协同招商测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562827341000, "id": 113, "level": 1, "name": "999协同招商测试待237733办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/de6e8fcf-11e1-426a-88d9-93b8931b1930.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/78c15f08-fdf6-4f18-a85f-685dde73a033.png", "clientName": "协同招商", "clientid": "njsp-management-platform", "content": "888协同招商测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562827332000, "id": 112, "level": 1, "name": "888协同招商测试待237733办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/de6e8fcf-11e1-426a-88d9-93b8931b1930.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/78c15f08-fdf6-4f18-a85f-685dde73a033.png", "clientName": "协同招商", "clientid": "njsp-management-platform", "content": "协同招商测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825158000, "id": 110, "level": 1, "name": "协同招商测试待2333办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/de6e8fcf-11e1-426a-88d9-93b8931b1930.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/78c15f08-fdf6-4f18-a85f-685dde73a033.png", "clientName": "协同招商", "clientid": "njsp-management-platform", "content": "协同招商测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825155000, "id": 109, "level": 1, "name": "协同招商测试待2办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190311/cce8b0e7-dbdc-424f-bd6e-21546a23df2f.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190311/93d0b3db-3583-49d7-a945-e99766e04fd7.png", "clientName": "工作协同", "clientid": "zqtong-gov-app-gzxt", "content": "工作协同测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825123000, "id": 107, "level": 1, "name": "工作协同测试待2办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/fb8ff11f-1df9-4670-b6d5-55f9aeefaec7.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/dd89756a-7715-4597-affe-83497cd01fa5.png", "clientName": "经济指标KPI", "clientid": "zqtong-gov-app-njcheckindex", "content": "经济指标测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825087000, "id": 105, "level": 1, "name": "经济指标测试待3办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/fb8ff11f-1df9-4670-b6d5-55f9aeefaec7.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/dd89756a-7715-4597-affe-83497cd01fa5.png", "clientName": "经济指标KPI", "clientid": "zqtong-gov-app-njcheckindex", "content": "经济指标测试待办1题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825078000, "id": 103, "level": 1, "name": "经济指标测试待1办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190308/38221e16-e658-4581-85a9-bdb5f89cb1d0.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190308/6dc4e756-2695-4b54-bc26-626fb4735186.png", "clientName": "活动中心", "clientid": "zqtong-gov-app-activitymanage", "content": "second20190711待办标题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562824917000, "id": 101, "level": 1, "name": "second20190711待办标题", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" } ], "pageNo": 1, "pageSize": 10, "totalNum": 9, "totalPage": 1 }, "msg": "success", "status": 200 }
字段 | 描述 |
---|---|
clientid | 应用id |
clientName | 应用名称 |
avatarBig | 应用大图标 |
avatar | 应用小图标 |
content | 待办内容 |
createName | 自定义创建人姓名 |
createdby | 创建人uid |
realname | 创建人用户真实姓名 |
createdtime | 创建时间 |
id | 工作id |
level | 级别 |
name | 待办名称标题 |
pcurl | PC端跳转待办详情链接 |
url | 手机端跳转待办详情链接 |
appname | 在卓易云平台创建应用的英文名称 |
status | 工作状态 |
返回失败: 400(参数缺失)
{
"data": "缺少必要参数:uid不能为空" ,
"msg": "fail",
"status": 400
}
3. 获取政企通政府端已办列表
请求URL
/AGCS_zqc/v3/work/done/list
请求方式
GET
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Content-Type | application/json | application/json | 否 |
- 请求Query参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
pageNum | 分页时的当前页数 | int >=1 | 1 | 否,默认为1 |
pageSize | 分页时的每页记录数 | int >=1 | 10 | 否,默认为10 |
uid | 接收人用户ID | String | 51746c78-08af-4ecc-a980-acd912a49500 | 是 |
orgId | 接收人组织ID (政企labelid/企业baseid) | String | 5cce822c-9560-4ba2-90e5-8577fb14ad41 | 否 |
clientId | 应用ID | String | zqtong-gov-app-gzxt | 否 |
name | 待办标题 | String | 否 |
- 返回
返回成功{ "data": { "itemList": [ { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/de6e8fcf-11e1-426a-88d9-93b8931b1930.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/78c15f08-fdf6-4f18-a85f-685dde73a033.png", "clientName": "协同招商", "clientid": "njsp-management-platform", "content": "协同招商测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825162000, "id": 111, "level": 1, "name": "协同招商测试待237733办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190311/cce8b0e7-dbdc-424f-bd6e-21546a23df2f.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190311/93d0b3db-3583-49d7-a945-e99766e04fd7.png", "clientName": "工作协同", "clientid": "zqtong-gov-app-gzxt", "content": "工作协同测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825129000, "id": 108, "level": 1, "name": "工作协同测试待1办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190311/cce8b0e7-dbdc-424f-bd6e-21546a23df2f.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190311/93d0b3db-3583-49d7-a945-e99766e04fd7.png", "clientName": "工作协同", "clientid": "zqtong-gov-app-gzxt", "content": "工作协同测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825120000, "id": 106, "level": 1, "name": "工作协同测试待3办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/fb8ff11f-1df9-4670-b6d5-55f9aeefaec7.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/dd89756a-7715-4597-affe-83497cd01fa5.png", "clientName": "经济指标KPI", "clientid": "zqtong-gov-app-njcheckindex", "content": "经济指标测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825083000, "id": 104, "level": 1, "name": "经济指标测试待2办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190308/38221e16-e658-4581-85a9-bdb5f89cb1d0.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190308/6dc4e756-2695-4b54-bc26-626fb4735186.png", "clientName": "活动中心", "clientid": "zqtong-gov-app-activitymanage", "content": "three20190711待办标题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562824929000, "id": 102, "level": 1, "name": "threesecond20190711待办标题", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190308/38221e16-e658-4581-85a9-bdb5f89cb1d0.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190308/6dc4e756-2695-4b54-bc26-626fb4735186.png", "clientName": "活动中心", "clientid": "zqtong-gov-app-activitymanage", "content": "20190711待办标题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562824891000, "id": 100, "level": 1, "name": "20190711待办标题", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" } ], "pageNo": 1, "pageSize": 10, "totalNum": 6, "totalPage": 1 }, "msg": "success", "status": 200 }
字段 | 描述 |
---|---|
clientid | 应用id |
clientName | 应用名称 |
avatarBig | 应用大图标 |
avatar | 应用小图标 |
content | 待办内容 |
createName | 自定义创建人姓名 |
createdby | 创建人uid |
realname | 创建人用户真实姓名 |
createdtime | 创建时间 |
id | 工作id |
level | 级别 |
name | 待办名称标题 |
pcurl | PC端跳转待办详情链接 |
url | 手机端跳转待办详情链接 |
appname | 在卓易云平台创建应用的英文名称 |
status | 工作状态 |
返回失败: 400(参数缺失)
{
"data": "缺少必要参数:uid不能为空" ,
"msg": "fail",
"status": 400
}
4. 查询用户的待办或已办应用
请求URL
/AGCS_zqc/v3/work/getClients
请求方式
GET
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Content-Type | application/json | application/json | 否 |
- 请求Query参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
uid | 用户ID | String | 1f82b639-e029-4677-b2e4-7ecaca5be4b6 | 是 |
status | 待办已办状态(待办 0 或 已办 1,不传代表所有) | int | 0 | 否 |
- 返回
返回成功{ "data": { "zqtong-gov-app-gzxt": "工作协同" }, "msg": "success", "status": 200 }
5. 新增待办
请求URL
/AGCS_zqc/v3/work/save
请求方式
POST
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Content-Type | application/json | application/json | 否 |
请求Body
Type: raw{ "name": "String | 必填 | 待办标题", "level": "int | 可选 | 级别", "createdby": "String | 必填 |发送人用户ID", "receiver": [ { "uid": "String | 必填 |接收人用户ID", "orgid": "String | 必填 |接收人组织ID(政企labelid/企业baseid)" } ], "content": "String | 必填 | 待办内容", "clientid": "String | 必填 | 申请的clientID", "url": "String | 可选 | 手机端跳转待办详情链接", "pcurl": "String | 可选 | PC端跳转待办详情链接", "appname": "String | 可选 | 在卓易云平台创建应用的英文名称", "createName": "String | 可选 | 自定义创建人的姓名" }
示例
{ "name": "测试新增待办标题", "level": 1, "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "receiver": [ { "uid": "1f82b639-e029-4677-b2e4-7ecaca5be4b6", "orgid": "5cce822c-9560-4ba2-90e5-8577fb14ad41" }, { "uid": "51746c78-08af-4ecc-a980-acd912a49500", "orgid": "5cce822c-9560-4ba2-90e5-8577fb14ad41" } ], "content": "测试新增待办内容", "clientid": "zqtong-gov-app-gzxt", "url": "www.baidu.com", "pcurl": "www.baidu.com", "appname":"ZQT_xxx", "createName":"自定义创建人的姓名" }
返回
返回成功{ "data": { "workId": 175 }, "msg": "success", "status": 200 }
返回失败: 400(参数缺失)
{
"data": "缺少必要参数" ,
"msg": "fail",
"status": 400
}
返回失败: 600(新增或修改待办工作失败)
{
"data": "新增或修改待办工作失败" ,
"msg": "新增或修改待办工作失败",
"status": 600
}
6. 修改待办或已办
请求URL
/AGCS_zqc/v3/work/update
请求方式
POST
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Content-Type | application/json | application/json | 否 |
请求Body
Type: raw{ "id": "int | 必填 | 待办工作id", "name": "String | 可选 | 待办标题", "level": "int | 可选 | 级别", "createdby": "String | 可选 |发送人用户ID", "receiver": [ { "uid": "String | 可选 |接收人用户ID", "orgid": "String | 可选 |接收人组织ID(政企labelid/企业baseid)" } ], "content": "String | 可选 | 待办内容", "clientid": "String | 可选 | 申请的clientID", "url": "String | 可选 | 手机端跳转待办详情链接", "pcurl": "String | 可选 | PC端跳转待办详情链接", "appname": "String | 可选 | 在卓易云平台创建应用的英文名称", "createName": "String | 可选 | 自定义创建人的姓名" }
示例
{ "id": "176", "name": "测试修改待办", "level": 1, "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "receiver": [ { "uid": "1f82b639-e029-4677-b2e4-7ecaca5be4b6", "orgid": "5cce822c-9560-4ba2-90e5-8577fb14ad41" }, { "uid": "51746c78-08af-4ecc-a980-acd912a49500", "orgid": "5cce822c-9560-4ba2-90e5-8577fb14ad41" } ], "content": "测试修改待办内容", "clientid": "zqtong-gov-app-gzxt", "url": "www.baidu.com", "pcurl": "www.baidu.com", "appname": "ZQT_xxx", "createName":"自定义创建人的姓名" }
返回
返回成功{ "data": "修改工作成功", "msg": "success", "status": 200 }
返回失败: 600(新增或修改待办工作失败)
{
"data": "修改待办工作失败" ,
"msg": "修改待办工作失败",
"status": 600
}
7. 批量删除待办或已办
请求URL
/AGCS_zqc/v3/work/delete
请求方式
POST
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Content-Type | application/json | application/json | 否 |
请求Body
Type: raw
示例[158,159,160]
返回
返回成功{ "data": "删除成功" , "msg": "success", "status": 200 }
返回失败: 600(删除失败)
{ "data": "删除失败" , "msg": "fail", "status": 600 }
返回失败: 500(服务器内部错误)
{
"data": "异常信息" ,
"msg": "服务器内部错误",
"status": 500
}
返回失败: 400(参数缺失)
{
"data": "参数id为空" ,
"msg": "参数异常",
"status": 400
}
8. 设置用户工作办理状态
请求URL
/AGCS_zqc/v3/work/user/status
请求方式
POST
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Content-Type | application/json | application/json | 否 |
请求Body
Type: raw{ "uid": "String | 可选 |接收人用户ID(不填则代表修改该工作对应的所有办理人状态)", "workId": "int | 必填 | 工作id", "isChangeAll": "int | 可选 | 是否改变该工作对应所有人的办理状态( 0:否 ,1:是) ", "status": "int | 必填 | 工作状态(0:未办理, 1:已办理)" }
示例
{ "uid": "51746c78-08af-4ecc-a980-acd912a49500", "workId": 176, "isChangeAll": 0, "status": 1 }
返回
返回成功{ "data": "设置成功", "msg": "success", "status": 200 }
返回失败: 400(参数缺失)
{
"data": "body参数为空" ,
"msg": "参数异常",
"status": 400
}
返回失败: 600(设置失败)
{
"data": "设置失败" ,
"msg": "fail",
"status": 600
}
9. 查询一条待办或已办
请求URL
/AGCS_zqc/v3/work/getWorkById
请求方式
GET
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Content-Type | application/json | application/json | 否 |
- 请求Query参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
id | 工作id(workId) | int | 280 | 是 |
- 返回
返回成功{ "data": { "appname": "ZQT_xxx", "clientName": "租赁管理", "clientid": "njsp-app-zlht", "content": "【租赁管理】南京大通企业孵化器管理有限公司新增合同审批", "createName": "自定义创建人的姓名", "createdby": "d69d5eb9-f1fc-429c-826e-2848e235bcfc", "createdtime": 1554962013000, "finishtime": 1554962066000, "id": 280, "level": 1, "name": "南京大通企业孵化器管理有限公司新增审批", "pcurl": "https://jb-lease.eazytec-cloud.com/hiTask/detail?id=166", "realname": "周荣", "status": 1, "url": "https://jb-lease-app.eazytec-cloud.com/task/detail/hiTask/166" }, "msg": "success", "status": 200 }
返回失败: 400(参数缺失)
{
"data": "必填参数id为空" ,
"msg": "fail",
"status": 400
}
返回失败: 500(服务器内部错误)
{
"data": "服务器内部错误" ,
"msg": "服务器内部错误",
"status": 500
}
10. 获取政企通政府端办事中心所有列表
请求URL
/AGCS_zqc/v3/work/all/list
请求方式
GET
请求Header参数
key | value | 举例 | 是否必须 |
---|---|---|---|
Content-Type | application/json | application/json | 否 |
- 请求Query参数
参数 | 描述 | 格式 | 举例 | 是否必须 |
---|---|---|---|---|
pageNum | 分页时的当前页数 | int >=1 | 1 | 否,默认为1 |
pageSize | 分页时的每页记录数 | int >=1 | 10 | 否,默认为10 |
uid | 接收人用户ID | String | 51746c78-08af-4ecc-a980-acd912a49500 | 是 |
orgId | 接收人组织ID (政企labelid/企业baseid) | String | 5cce822c-9560-4ba2-90e5-8577fb14ad41 | 否 |
clientId | 应用ID | String | zqtong-gov-app-gzxt | 否 |
name | 待办标题 | String | 否 |
- 返回
返回成功{ "data": { "itemList": [ { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/de6e8fcf-11e1-426a-88d9-93b8931b1930.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/78c15f08-fdf6-4f18-a85f-685dde73a033.png", "clientName": "协同招商", "clientid": "njsp-management-platform", "content": "990009协同招商测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562827361000, "id": 114, "level": 1, "name": "90000协同招商测试待237733办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/de6e8fcf-11e1-426a-88d9-93b8931b1930.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/78c15f08-fdf6-4f18-a85f-685dde73a033.png", "clientName": "协同招商", "clientid": "njsp-management-platform", "content": "999协同招商测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562827341000, "id": 113, "level": 1, "name": "999协同招商测试待237733办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/de6e8fcf-11e1-426a-88d9-93b8931b1930.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/78c15f08-fdf6-4f18-a85f-685dde73a033.png", "clientName": "协同招商", "clientid": "njsp-management-platform", "content": "888协同招商测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562827332000, "id": 112, "level": 1, "name": "888协同招商测试待237733办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/de6e8fcf-11e1-426a-88d9-93b8931b1930.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/78c15f08-fdf6-4f18-a85f-685dde73a033.png", "clientName": "协同招商", "clientid": "njsp-management-platform", "content": "协同招商测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825162000, "id": 111, "level": 1, "name": "协同招商测试待237733办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/de6e8fcf-11e1-426a-88d9-93b8931b1930.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/78c15f08-fdf6-4f18-a85f-685dde73a033.png", "clientName": "协同招商", "clientid": "njsp-management-platform", "content": "协同招商测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825158000, "id": 110, "level": 1, "name": "协同招商测试待2333办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/de6e8fcf-11e1-426a-88d9-93b8931b1930.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/78c15f08-fdf6-4f18-a85f-685dde73a033.png", "clientName": "协同招商", "clientid": "njsp-management-platform", "content": "协同招商测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825155000, "id": 109, "level": 1, "name": "协同招商测试待2办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190311/cce8b0e7-dbdc-424f-bd6e-21546a23df2f.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190311/93d0b3db-3583-49d7-a945-e99766e04fd7.png", "clientName": "工作协同", "clientid": "zqtong-gov-app-gzxt", "content": "工作协同测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825129000, "id": 108, "level": 1, "name": "工作协同测试待1办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190311/cce8b0e7-dbdc-424f-bd6e-21546a23df2f.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190311/93d0b3db-3583-49d7-a945-e99766e04fd7.png", "clientName": "工作协同", "clientid": "zqtong-gov-app-gzxt", "content": "工作协同测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825123000, "id": 107, "level": 1, "name": "工作协同测试待2办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190311/cce8b0e7-dbdc-424f-bd6e-21546a23df2f.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190311/93d0b3db-3583-49d7-a945-e99766e04fd7.png", "clientName": "工作协同", "clientid": "zqtong-gov-app-gzxt", "content": "工作协同测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825120000, "id": 106, "level": 1, "name": "工作协同测试待3办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" }, { "appname": "ZQT_xxx", "avatar": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/icons/20190527/fb8ff11f-1df9-4670-b6d5-55f9aeefaec7.png", "avatarBig": "https://gateway.eazytec-cloud.com/EFS_gcs/app/gov/bigicons/20190527/dd89756a-7715-4597-affe-83497cd01fa5.png", "clientName": "经济指标KPI", "clientid": "zqtong-gov-app-njcheckindex", "content": "经济指标测试待办2题", "createName": "", "createdby": "51746c78-08af-4ecc-a980-acd912a49500", "createdtime": 1562825087000, "id": 105, "level": 1, "name": "经济指标测试待3办", "pcurl": "www.baidu.com", "realname": "admin", "status": 0, "url": "www.baidu.com" } ], "pageNo": 1, "pageSize": 10, "totalNum": 15, "totalPage": 2 }, "msg": "success", "status": 200 }
字段 | 描述 |
---|---|
clientid | 应用id |
clientName | 应用名称 |
avatarBig | 应用大图标 |
avatar | 应用小图标 |
content | 待办内容 |
createName | 自定义创建人姓名 |
createdby | 创建人uid |
realname | 创建人用户真实姓名 |
createdtime | 创建时间 |
id | 工作id |
level | 级别 |
name | 待办名称标题 |
pcurl | PC端跳转待办详情链接 |
url | 手机端跳转待办详情链接 |
appname | 在卓易云平台创建应用的英文名称 |
status | 工作状态 |
返回失败: 400(参数缺失)
{
"data": "缺少必要参数:uid不能为空" ,
"msg": "fail",
"status": 400
}