| Version | Update Time | Status | Author | Description |
|---|---|---|---|---|
0.0.1 | 2022-01-12 19:50:00 | 创建文档 | codingliang | 初始化接口文档 |
1. 管理员模块
1.1. 管理员登录
Type: POST
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 测试用户名密码:admin/123456
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
userName | string | 用户名 | true | - |
password | string | 密码 | true | - |
Request-example:
curl -X POST -i http://192.168.161.230:8089/disease-command/adminInfo/login --data 'userName=耀杰.段&password=mv9ciy'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─userName | string | 用户名 | - |
└─userType | string | 用户类型 0超级管理员、1其他管理员 | - |
└─token | string | token | - |
└─expireTime | int64 | token过期时间 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"userName": "耀杰.段",
"userType": "gxwyvu",
"token": "44x81e",
"expireTime": 1716276354119
}
}1.2. 管理员列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 管理员列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/adminInfo/list?pageSize=10&orderField=l3r323&order=sikksz&curPage=1Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id,新增时不用传 | - |
└─userName | string | 用户名 | - |
└─adminType | string | 管理员类别 0超级管理员、1其他管理员 | - |
└─status | string | 状态 0冻结、1正常 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 209,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 314,
"userName": "耀杰.段",
"adminType": "baebdl",
"status": "jfc4et"
}
]
}
}1.3. 新增管理员
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 只有超级管理员才可以新增管理员
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不用传 | false | - |
userName | string | 用户名 | true | - |
password | string | 密码, 新增时不能为空 | false | - |
adminType | string | 管理员类别 0超级管理员、1其他管理员 | true | - |
status | string | 状态 0冻结、1正常 | true | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/adminInfo/save --data '{
"id": 669,
"userName": "耀杰.段",
"password": "tnxr1j",
"adminType": "dx7ak0",
"status": "ppu8jp"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "k3vkjm"
}1.4. 修改管理员
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 只有超级管理员才可以修改管理员
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不用传 | false | - |
userName | string | 用户名 | true | - |
password | string | 密码, 新增时不能为空 | false | - |
adminType | string | 管理员类别 0超级管理员、1其他管理员 | true | - |
status | string | 状态 0冻结、1正常 | true | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/adminInfo/update --data '{
"id": 841,
"userName": "耀杰.段",
"password": "rzrhtm",
"adminType": "xqp5n3",
"status": "oc6rdd"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "47kxlp"
}1.5. 删除管理员
Type: DELETE
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 只有超级管理员才可以删除管理员
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | 管理员id | true | - |
Request-example:
curl -X DELETE -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/adminInfo/delete/716Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "quufyo"
}2. 广播模块
2.1. 应急广播调度统计信息
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 应急广播调度统计信息
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/broadcast/statistics/infoResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id | - |
└─numOfDevice | int32 | 设备数量 | - |
└─rateOfInline | number | 设备在线率 设备数量*设备在线率=设备在线数量 | - |
└─numOfBroadcasts | int64 | 广播数目 | - |
└─broadcastDuration | int64 | 累计播放时长 单位:小时 | - |
└─broadcastTime | string | 播发时间段 时间段之间使用,分割 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 298,
"numOfDevice": 634,
"rateOfInline": 740,
"numOfBroadcasts": 446,
"broadcastDuration": 17,
"broadcastTime": "2024-05-21 15:25:54"
}
}2.2. 应急广播调度统计信息修改
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 应急广播调度统计信息修改
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | true | - |
numOfDevice | int32 | 设备数量 | true | - |
rateOfInline | number | 设备在线率 设备数量*设备在线率=设备在线数量 | true | - |
numOfBroadcasts | int64 | 广播数目 | true | - |
broadcastDuration | int64 | 累计播放时长 单位:小时 | false | - |
broadcastTime | string | 播发时间段 时间段之间使用,分割 | true | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/broadcast/statistics/update --data '{
"id": 686,
"numOfDevice": 891,
"rateOfInline": 835,
"numOfBroadcasts": 128,
"broadcastDuration": 491,
"broadcastTime": "2024-05-21 15:25:54"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "doy29m"
}2.3. 新增播发信息
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增播发信息
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不能为空 | false | - |
title | string | 播发标题 | true | - |
address | string | 播发地点 | true | - |
broadcastType | string | 广播类型 | true | - |
messageType | string | 消息类型 | true | - |
content | string | 播发内容 | true | - |
playTime | string | 播发时间 | false | - |
extraFile | string | 附件 | false | - |
extraFileShowUrl | string | 新增和修改时不需要传 | false | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/broadcast/record/add --data '{
"id": 404,
"title": "u6klik",
"address": "崔路20号, 寿光, 京 079572",
"broadcastType": "c1914h",
"messageType": "xsg4ks",
"content": "3bdfso",
"playTime": "2024-05-21 15:25:54",
"extraFile": "12qb9b",
"extraFileShowUrl": "www.xn---xn--5ft-c24oq615c.org"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "y3y6yl"
}2.4. 修改播发信息
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改播发信息
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不能为空 | false | - |
title | string | 播发标题 | true | - |
address | string | 播发地点 | true | - |
broadcastType | string | 广播类型 | true | - |
messageType | string | 消息类型 | true | - |
content | string | 播发内容 | true | - |
playTime | string | 播发时间 | false | - |
extraFile | string | 附件 | false | - |
extraFileShowUrl | string | 新增和修改时不需要传 | false | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/broadcast/record/update --data '{
"id": 852,
"title": "cg6jmc",
"address": "崔路20号, 寿光, 京 079572",
"broadcastType": "49u6rq",
"messageType": "bccy9u",
"content": "sgvtku",
"playTime": "2024-05-21 15:25:54",
"extraFile": "htqxqr",
"extraFileShowUrl": "www.xn---xn--5ft-c24oq615c.org"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "ho83l9"
}2.5. 播发记录
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 播发记录
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
title | string | 标题 模糊搜索 | false | - |
broadcastType | string | 广播类型 精确搜索 | false | - |
messageType | string | 消息类型 精确搜索 | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/broadcast/record/page?curPage=1&orderField=51ausl&broadcastType=0980ye&pageSize=10&title=uophxl&order=gn1ukz&messageType=mrl7weResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─numOfBroadcasts | int64 | 累计播发数量 单位:条 | - |
└─broadcastDuration | int64 | 播发时长 单位:小时 | - |
└─recordPage | object | 播发记录 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id,新增时不能为空 | - |
└─title | string | 播发标题 | - |
└─address | string | 播发地点 | - |
└─broadcastType | string | 广播类型 | - |
└─messageType | string | 消息类型 | - |
└─content | string | 播发内容 | - |
└─playTime | string | 播发时间 | - |
└─extraFile | string | 附件 | - |
└─extraFileShowUrl | string | 新增和修改时不需要传 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"numOfBroadcasts": 410,
"broadcastDuration": 261,
"recordPage": {
"totalCount": 81,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 909,
"title": "70e1wd",
"address": "崔路20号, 寿光, 京 079572",
"broadcastType": "j3f8h5",
"messageType": "6bxnob",
"content": "of7n9l",
"playTime": "2024-05-21 15:25:54",
"extraFile": "ezomow",
"extraFileShowUrl": "www.xn---xn--5ft-c24oq615c.org"
}
]
}
}
}2.6. 删除播发记录
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除播发记录
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 播发记录id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/broadcast/record/delete --data '[
215,
996
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "36cfgo"
}2.7. 播发详情
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 播发详情
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
recordId | int64 | No comments found. | true | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/broadcast/record/info/630Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id,新增时不能为空 | - |
└─title | string | 播发标题 | - |
└─address | string | 播发地点 | - |
└─broadcastType | string | 广播类型 | - |
└─messageType | string | 消息类型 | - |
└─content | string | 播发内容 | - |
└─playTime | string | 播发时间 | - |
└─extraFile | string | 附件 | - |
└─extraFileShowUrl | string | 新增和修改时不需要传 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 334,
"title": "9acjjz",
"address": "崔路20号, 寿光, 京 079572",
"broadcastType": "g0lro6",
"messageType": "szdpf1",
"content": "deijvg",
"playTime": "2024-05-21 15:25:54",
"extraFile": "hfclib",
"extraFileShowUrl": "www.xn---xn--5ft-c24oq615c.org"
}
}3. 消费类别统计
3.1. 消费类别统计列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 消费类别统计列表
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/consumptionCategoryStatistics/listResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id | - |
└─categoryName | string | 类别名称,类别名称不能修改 | - |
└─value | number | 消费值 单位:万元 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 588,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 212,
"categoryName": "耀杰.段",
"value": 133
}
]
}
}3.2. 消费类别统计修改
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 消费类别统计修改
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | true | - |
categoryName | string | 类别名称,类别名称不能修改 | false | - |
value | number | 消费值 单位:万元 | true | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/consumptionCategoryStatistics/update --data '{
"id": 99,
"categoryName": "耀杰.段",
"value": 310
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "nrm5oq"
}4. 检测统计
4.1. 检测列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 检测列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/detectionStatistics/list?order=atk8vd&orderField=528i0z&curPage=1&pageSize=10Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id | - |
└─statisticsDate | string | 统计日期 | - |
└─peopleType | string | 检测对象类别 | - |
└─detectionCount | int64 | 检测人数 | - |
└─abnormalCount | int64 | 异常人数 | - |
└─updateTime | string | 更新时间,不需要传 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 767,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 875,
"statisticsDate": "2024-05-21",
"peopleType": "dl4q7c",
"detectionCount": 512,
"abnormalCount": 557,
"updateTime": "2024-05-21 15:25:54"
}
]
}
}4.2. 新增检测数据
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增检测数据
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
statisticsDate | string | 统计日期 | true | - |
peopleType | string | 检测对象类别 | true | - |
detectionCount | int64 | 检测人数 | true | - |
abnormalCount | int64 | 异常人数 | true | - |
updateTime | string | 更新时间,不需要传 | false | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/detectionStatistics/save --data '{
"id": 531,
"statisticsDate": "2024-05-21",
"peopleType": "0bebow",
"detectionCount": 846,
"abnormalCount": 874,
"updateTime": "2024-05-21 15:25:54"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "kpnase"
}4.3. 批量新增检测数据
Type: POST
Author: codingliang
Content-Type: multipart/form-data
Description: 使用指定的模板上传
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
dateStr | string | 日期 yyyy-MM-dd | true | - |
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
file | file | 模板文件 | true | - |
Request-example:
curl -X POST -H 'Content-Type: multipart/form-data' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/detectionStatistics/saveByExcel/6z64vbResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "fanaww"
}4.4. 修改检测数据
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改检测数据
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
statisticsDate | string | 统计日期 | true | - |
peopleType | string | 检测对象类别 | true | - |
detectionCount | int64 | 检测人数 | true | - |
abnormalCount | int64 | 异常人数 | true | - |
updateTime | string | 更新时间,不需要传 | false | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/detectionStatistics/update --data '{
"id": 294,
"statisticsDate": "2024-05-21",
"peopleType": "v2oh4n",
"detectionCount": 277,
"abnormalCount": 900,
"updateTime": "2024-05-21 15:25:55"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "1fhwhi"
}4.5. 删除检测数据
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除检测数据
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 检测数据id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/detectionStatistics/delete --data '[
839,
102
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "iban2i"
}4.6. 最近检测情况统计
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 本接口用于大数据页面【重点环节-核酸检测】数据获取
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/detectionStatistics/infoOfLastResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─detectionCountOfLast | int64 | 最新检测人数 | - |
└─abnormalCountOfLast | int64 | 最新异常人数 | - |
└─detectionCountOfYear | int64 | 今年累计检测人数 | - |
└─abnormalCountOfYear | int64 | 今年累计异常人数 | - |
└─dataUpdateTime | string | 数据更新时间 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"detectionCountOfLast": 773,
"abnormalCountOfLast": 998,
"detectionCountOfYear": 973,
"abnormalCountOfYear": 603,
"dataUpdateTime": "2024-05-21 15:25:55"
}
}4.7. 最近检测情况统计详情
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 本接口用于大数据页面【重点环节-核酸检测-详情】数据获取
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/detectionStatistics/infoOfLastDetailResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | array | 接口调用返回数据 | - |
└─id | int64 | id | - |
└─statisticsDate | string | 统计日期 | - |
└─peopleType | string | 检测对象类别 | - |
└─detectionCount | int64 | 检测人数 | - |
└─abnormalCount | int64 | 异常人数 | - |
└─updateTime | string | 更新时间,不需要传 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": [
{
"id": 184,
"statisticsDate": "2024-05-21",
"peopleType": "9383t1",
"detectionCount": 784,
"abnormalCount": 229,
"updateTime": "2024-05-21 15:25:55"
}
]
}5. 值班安排
5.1. 当天值班安排列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 本接口用于客户端展示当天值班人员的安排
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/dutyArrangement/list?orderField=moht5s&pageSize=10&order=yfyz27&curPage=1Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id,新增时不需要传 | - |
└─dutyName | string | 值班人 | - |
└─dutyPhone | string | 值班人电话 | - |
└─dutyDept | string | 值班人部门 | - |
└─todayWork | string | 当天是否值班标识 1是、2否 | - |
└─sort | int32 | 排序 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 392,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 360,
"dutyName": "耀杰.段",
"dutyPhone": "17165399591",
"dutyDept": "gmc188",
"todayWork": "noqkua",
"sort": 640
}
]
}
}5.2. 值班安排列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 值班安排列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
todayWork | string | 1查当天值班、2查明天值班、不填查所有 | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/dutyArrangement/listOfGroup?todayWork=wup2eiResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | array | 接口调用返回数据 | - |
└─groupName | string | 组名 | - |
└─list | array | 值班人员列表 | - |
└─id | int64 | id,新增时不需要传 | - |
└─dutyName | string | 值班人 | - |
└─dutyPhone | string | 值班人电话 | - |
└─dutyDept | string | 值班人部门 | - |
└─todayWork | string | 当天是否值班标识 1是、2否 | - |
└─sort | int32 | 排序 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": [
{
"groupName": "耀杰.段",
"list": [
{
"id": 918,
"dutyName": "耀杰.段",
"dutyPhone": "17165399591",
"dutyDept": "xeo3z2",
"todayWork": "e9ynjk",
"sort": 365
}
]
}
]
}5.3. 新增值班安排
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增值班安排
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不需要传 | false | - |
dutyName | string | 值班人 | true | - |
dutyPhone | string | 值班人电话 | true | - |
dutyDept | string | 值班人部门 | true | - |
todayWork | string | 当天是否值班标识 1是、2否 | false | - |
sort | int32 | 排序 | false | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/dutyArrangement/save --data '{
"id": 429,
"dutyName": "耀杰.段",
"dutyPhone": "17165399591",
"dutyDept": "8h9ccr",
"todayWork": "mrchw6",
"sort": 395
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "polt3v"
}5.4. 修改值班安排
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改值班安排
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不需要传 | false | - |
dutyName | string | 值班人 | true | - |
dutyPhone | string | 值班人电话 | true | - |
dutyDept | string | 值班人部门 | true | - |
todayWork | string | 当天是否值班标识 1是、2否 | false | - |
sort | int32 | 排序 | false | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/dutyArrangement/update --data '{
"id": 176,
"dutyName": "耀杰.段",
"dutyPhone": "17165399591",
"dutyDept": "maffkm",
"todayWork": "m71i4o",
"sort": 297
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "e852jf"
}5.5. 删除值班安排
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除值班安排
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 安排id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/dutyArrangement/delete --data '[
68,
869
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "aoczbq"
}6. 紧急值班安排
6.1. 紧急值班安排列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 紧急值班安排列表
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/dutyArrangementOfUrgent/listResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | array | 接口调用返回数据 | - |
└─dayOfWeek | int32 | 星期 1-7分别代表周一到周日 | - |
└─dutyArrangements | array | 安排 | - |
└─dutyLevel | string | 职务等级 | - |
└─leaders | array | 领导列表 | - |
└─id | int64 | 安排id | - |
└─dutyName | string | 职务名称 | - |
└─leaderName | string | 领导名称 | - |
└─leaderPhone | string | 领导联系方式 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": [
{
"dayOfWeek": 288,
"dutyArrangements": [
{
"dutyLevel": "adwgot",
"leaders": [
{
"id": 577,
"dutyName": "耀杰.段",
"leaderName": "耀杰.段",
"leaderPhone": "17165399591"
}
]
}
]
}
]
}6.2. 新增值班安排(单独新增)
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增值班安排(单独新增)
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不需要传 | false | - |
dayOfWeek | string | 值班星期 使[1-7]分别代表周一到周日 | true | - |
dutyLevel | string | 职务等级 | true | - |
dutyName | string | 职务名称 | true | - |
leaderName | string | 领导名称 | true | - |
leaderPhone | string | 领导联系方式 | true | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/dutyArrangementOfUrgent/save --data '{
"id": 740,
"dayOfWeek": "lrd8qm",
"dutyLevel": "qap75b",
"dutyName": "耀杰.段",
"leaderName": "耀杰.段",
"leaderPhone": "17165399591"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "eakcdz"
}6.3. 新增值班安排(模板批量导入)
Type: POST
Author: codingliang
Content-Type: multipart/form-data
Description: 使用指定模板文件上传
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
file | file | 模板文件 | true | - |
Request-example:
curl -X POST -H 'Content-Type: multipart/form-data' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/dutyArrangementOfUrgent/saveByExcelResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "3zuygh"
}6.4. 修改值班安排
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改值班安排
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不需要传 | false | - |
dayOfWeek | string | 值班星期 使[1-7]分别代表周一到周日 | true | - |
dutyLevel | string | 职务等级 | true | - |
dutyName | string | 职务名称 | true | - |
leaderName | string | 领导名称 | true | - |
leaderPhone | string | 领导联系方式 | true | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/dutyArrangementOfUrgent/update --data '{
"id": 229,
"dayOfWeek": "94yajh",
"dutyLevel": "wxde7c",
"dutyName": "耀杰.段",
"leaderName": "耀杰.段",
"leaderPhone": "17165399591"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "ij7gd2"
}6.5. 删除值班安排
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除值班安排
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 值班安排id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/dutyArrangementOfUrgent/delete --data '[
421,
57
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "o9wvy6"
}6.6. 根据星期获取值班安排表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 本接口用于大数据页面【疫情值守-当日值班表】模块数据获取
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
dayOfWeek | int32 | 使用[1-7]分别代表周一到周日,如果不传,默认查询当天的值日安排 | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/dutyArrangementOfUrgent/dutyArrangementByDayOfWeek?dayOfWeek=736Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | array | 接口调用返回数据 | - |
└─dutyLevel | string | 职务等级 | - |
└─leaders | array | 领导列表 | - |
└─id | int64 | 安排id | - |
└─dutyName | string | 职务名称 | - |
└─leaderName | string | 领导名称 | - |
└─leaderPhone | string | 领导联系方式 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": [
{
"dutyLevel": "aquo93",
"leaders": [
{
"id": 981,
"dutyName": "耀杰.段",
"leaderName": "耀杰.段",
"leaderPhone": "17165399591"
}
]
}
]
}7. 应急处置统计
7.1. 应急处置信息
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 应急处置信息
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/emergencyDisposalStatistics/infoResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id | - |
└─numOfPutOutTheFire | int32 | 扑灭火灾次数 单位:次 | - |
└─numOfTransfer | int32 | 转移安置人员人数 单位:人次 | - |
└─numOfCure | int32 | 救治伤员人数 单位:人次 | - |
└─numOfImportantTarget | int32 | 保护重要目标次数 单位:次 | - |
└─numOfPublicSecurity | int32 | 维护社会治安次数 单位:次 | - |
└─numOfInfo | int32 | 发布信息次数 单位:次 | - |
└─numOfAftermath | int32 | 善后处置次数 单位:次 | - |
└─numOfFireClean | int32 | 火场清理次数 单位:次 | - |
└─numOfSmoke | int32 | 冒烟警告次数 单位:次 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 422,
"numOfPutOutTheFire": 750,
"numOfTransfer": 460,
"numOfCure": 339,
"numOfImportantTarget": 870,
"numOfPublicSecurity": 577,
"numOfInfo": 968,
"numOfAftermath": 974,
"numOfFireClean": 712,
"numOfSmoke": 100
}
}7.2. 应急处置信息修改
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 应急处置信息修改
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | true | - |
numOfPutOutTheFire | int32 | 扑灭火灾次数 单位:次 | true | - |
numOfTransfer | int32 | 转移安置人员人数 单位:人次 | true | - |
numOfCure | int32 | 救治伤员人数 单位:人次 | true | - |
numOfImportantTarget | int32 | 保护重要目标次数 单位:次 | true | - |
numOfPublicSecurity | int32 | 维护社会治安次数 单位:次 | true | - |
numOfInfo | int32 | 发布信息次数 单位:次 | true | - |
numOfAftermath | int32 | 善后处置次数 单位:次 | true | - |
numOfFireClean | int32 | 火场清理次数 单位:次 | true | - |
numOfSmoke | int32 | 冒烟警告次数 单位:次 | true | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/emergencyDisposalStatistics/update --data '{
"id": 457,
"numOfPutOutTheFire": 175,
"numOfTransfer": 289,
"numOfCure": 522,
"numOfImportantTarget": 3,
"numOfPublicSecurity": 34,
"numOfInfo": 596,
"numOfAftermath": 67,
"numOfFireClean": 256,
"numOfSmoke": 992
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "kont94"
}8. 防疫物资
8.1. 防疫物资列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 防疫物资列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/emergencySupplies/list?curPage=1&order=hcfehv&pageSize=10&orderField=0jaffiResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id | - |
└─type | string | 物资种类 | - |
└─suppliesName | string | 物资名称 | - |
└─suppliesNum | int32 | 物资数量 单位:件 | - |
└─suppliesRequireNum | int32 | 物资要求数量 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 821,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 641,
"type": "6y9yot",
"suppliesName": "耀杰.段",
"suppliesNum": 136,
"suppliesRequireNum": 9
}
]
}
}8.2. 新增防疫物资
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增防疫物资
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
type | string | 物资种类 | true | - |
suppliesName | string | 物资名称 | true | - |
suppliesNum | int32 | 物资数量 单位:件 | true | - |
suppliesRequireNum | int32 | 物资要求数量 | true | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/emergencySupplies/save --data '{
"id": 111,
"type": "e4ynnu",
"suppliesName": "耀杰.段",
"suppliesNum": 84,
"suppliesRequireNum": 800
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "qzlg40"
}8.3. 批量新增防疫物资
Type: POST
Author: codingliang
Content-Type: multipart/form-data
Description: 通过指定模板上传文件
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
file | file | 模板文件 | true | - |
Request-example:
curl -X POST -H 'Content-Type: multipart/form-data' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/emergencySupplies/saveByExcelResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "whmm6y"
}8.4. 修改防疫物资
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改防疫物资
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
type | string | 物资种类 | true | - |
suppliesName | string | 物资名称 | true | - |
suppliesNum | int32 | 物资数量 单位:件 | true | - |
suppliesRequireNum | int32 | 物资要求数量 | true | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/emergencySupplies/update --data '{
"id": 656,
"type": "v41q8g",
"suppliesName": "耀杰.段",
"suppliesNum": 900,
"suppliesRequireNum": 655
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "rzz99t"
}8.5. 删除防疫物资
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除防疫物资
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 物资id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/emergencySupplies/delete --data '[
272,
703
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "ve2j0v"
}8.6. 防控物资统计
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 用于大数据页面【应急储备-防控物资】模块数据获取
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/emergencySupplies/statisticsResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | array | 接口调用返回数据 | - |
└─typeName | string | 物资种类名称 | - |
└─nums | int64 | 物资数量 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": [
{
"typeName": "耀杰.段",
"nums": 290
}
]
}8.7. 防控物资列表详情
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 用于大数据页面【应急储备-防疫物资-防疫物资详情】模块数据获取
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/emergencySupplies/listDetail?order=1c71gb&pageSize=10&curPage=1&orderField=z45s4pResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─count | int64 | 物资总数 单位:件 | - |
└─page | object | 物资分页详情 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─type | string | 物资类别 | - |
└─supplies | array | 物资列表 | - |
└─suppliesName | string | 物资名称 | - |
└─suppliesNum | int32 | 物资现有数量 单位:件 | - |
└─suppliesRequireNum | int32 | 物资要求数量 单位:件 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"count": 643,
"page": {
"totalCount": 466,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"type": "e0c03c",
"supplies": [
{
"suppliesName": "耀杰.段",
"suppliesNum": 966,
"suppliesRequireNum": 89
}
]
}
]
}
}
}9. 应急队伍
9.1. 应急队伍列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description:
- 用于大数据页面【应急储备-应急队伍-队伍列表】模块数据获取;
- 用于管理端应急队伍列表。
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/emergencyTeam/list?curPage=1&order=t6osl1&pageSize=10&orderField=k2p36kResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id,新增时不用传 | - |
└─teamName | string | 队伍名称 | - |
└─dutyDesc | string | 职责描述 | - |
└─teamNum | int32 | 队伍数量 单位:队 | - |
└─teamNumOfPeople | int32 | 队伍人数 单位:人 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 62,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 228,
"teamName": "耀杰.段",
"dutyDesc": "h47sdy",
"teamNum": 166,
"teamNumOfPeople": 424
}
]
}
}9.2. 应急队伍成员列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description:
- 用于大数据页面【应急储备-应急队伍-队伍列表-成员列表】模块数据获取;
- 用于管理端应急队伍成员列表。
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
teamId | int64 | 队伍id | true | - |
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
teamNickName | string | 小队名称 | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/emergencyTeam/list/member/260?orderField=fw39x6&curPage=1&pageSize=10&teamNickName=jamika.tillman&order=x4498zResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id | - |
└─teamId | int64 | 队伍id | - |
└─teamNickname | string | 小队名称 | - |
└─memberName | string | 成员名称 | - |
└─dutyArea | string | 负责区域 | - |
└─dutyName | string | 职务 | - |
└─dutyDesc | string | 工作职责 | - |
└─memberPhone | string | 成员电话 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 154,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 899,
"teamId": 506,
"teamNickname": "jamika.tillman",
"memberName": "耀杰.段",
"dutyArea": "opu2t2",
"dutyName": "耀杰.段",
"dutyDesc": "yuyrav",
"memberPhone": "17165399591"
}
]
}
}9.3. 应急队伍成员列表V2
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description:
- 可用于大数据页面【应急储备-应急队伍-队伍列表-成员列表】模块数据获取;
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
teamId | int64 | 队伍id | true | - |
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
teamNickName | string | 小队名称 | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/emergencyTeam/list/member/693/v2?orderField=4trag6&teamNickName=jamika.tillman&order=wweii7&curPage=1&pageSize=10Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─teamNiceNames | array | 小队名称列表 | - |
└─page | object | 分页数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id | - |
└─teamId | int64 | 队伍id | - |
└─teamNickname | string | 小队名称 | - |
└─memberName | string | 成员名称 | - |
└─dutyArea | string | 负责区域 | - |
└─dutyName | string | 职务 | - |
└─dutyDesc | string | 工作职责 | - |
└─memberPhone | string | 成员电话 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"teamNiceNames": [
"7kqtof"
],
"page": {
"totalCount": 611,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 445,
"teamId": 887,
"teamNickname": "jamika.tillman",
"memberName": "耀杰.段",
"dutyArea": "b5gdjc",
"dutyName": "耀杰.段",
"dutyDesc": "75lt14",
"memberPhone": "17165399591"
}
]
}
}
}9.4. 新增应急队伍
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增应急队伍
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不用传 | false | - |
teamName | string | 队伍名称 | true | - |
dutyDesc | string | 职责描述 | false | - |
teamNum | int32 | 队伍数量 单位:队 | true | - |
teamNumOfPeople | int32 | 队伍人数 单位:人 | true | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/emergencyTeam/save --data '{
"id": 741,
"teamName": "耀杰.段",
"dutyDesc": "cu50wt",
"teamNum": 926,
"teamNumOfPeople": 312
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "07ufk4"
}9.5. 批量新增应急队伍
Type: POST
Author: codingliang
Content-Type: multipart/form-data
Description: 使用指定的模板文件上传
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
file | file | 模板文件 | true | - |
Request-example:
curl -X POST -H 'Content-Type: multipart/form-data' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/emergencyTeam/saveByExcelResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "f4am6o"
}9.6. 应急队伍修改
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 应急队伍修改
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不用传 | false | - |
teamName | string | 队伍名称 | true | - |
dutyDesc | string | 职责描述 | false | - |
teamNum | int32 | 队伍数量 单位:队 | true | - |
teamNumOfPeople | int32 | 队伍人数 单位:人 | true | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/emergencyTeam/update --data '{
"id": 233,
"teamName": "耀杰.段",
"dutyDesc": "h2xvuc",
"teamNum": 584,
"teamNumOfPeople": 529
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "pd0sjt"
}9.7. 应急队伍删除
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 应急队伍删除
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 队伍id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/emergencyTeam/delete --data '[
652,
748
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "yntcgh"
}9.8. 新增队伍成员
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增队伍成员
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
teamId | int64 | 队伍id | true | - |
teamNickname | string | 小队名称 | true | - |
memberName | string | 成员名称 | true | - |
dutyArea | string | 负责区域 | true | - |
dutyName | string | 职务 | true | - |
dutyDesc | string | 工作职责 | true | - |
memberPhone | string | 成员电话 | true | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/emergencyTeam/member/save --data '{
"id": 484,
"teamId": 567,
"teamNickname": "jamika.tillman",
"memberName": "耀杰.段",
"dutyArea": "kj6uhl",
"dutyName": "耀杰.段",
"dutyDesc": "ylybx9",
"memberPhone": "17165399591"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "cjhcxo"
}9.9. 批量新增队伍成员
Type: POST
Author: codingliang
Content-Type: multipart/form-data
Description: 批量新增队伍成员
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
teamId | int64 | 队伍id | true | - |
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
file | file | 模板文件 | true | - |
Request-example:
curl -X POST -H 'Content-Type: multipart/form-data' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/emergencyTeam/member/5/saveByExcelResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "u0hfip"
}9.10. 修改队伍成员
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改队伍成员
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
teamId | int64 | 队伍id | true | - |
teamNickname | string | 小队名称 | true | - |
memberName | string | 成员名称 | true | - |
dutyArea | string | 负责区域 | true | - |
dutyName | string | 职务 | true | - |
dutyDesc | string | 工作职责 | true | - |
memberPhone | string | 成员电话 | true | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/emergencyTeam/member/update --data '{
"id": 259,
"teamId": 931,
"teamNickname": "jamika.tillman",
"memberName": "耀杰.段",
"dutyArea": "k8xi8w",
"dutyName": "耀杰.段",
"dutyDesc": "xin84p",
"memberPhone": "17165399591"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "t18k7v"
}9.11. 删除队伍队员
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除队伍队员
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 队员id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/emergencyTeam/member/delete --data '[
390,
570
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "trxjgg"
}9.12. 应急队伍总览
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 用于大数据页面【应急储备-应急队伍】模块数据获取
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/emergencyTeam/statisticsResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─teamCount | int32 | 队伍数量 单位:队 | - |
└─peopleCount | int32 | 人数 单位:人 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"teamCount": 45,
"peopleCount": 950
}
}10. 活动策划
10.1. 活动策划列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 活动策划列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
startTime | string | 查询开始时间 yyyy-MM-dd HH:mm:ss | false | - |
endTime | string | 查询结束时间 yyyy-MM-dd HH:mm:ss | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/eventPlanning/list?orderField=is79qw&curPage=1&startTime=2024-05-21 15:25:56&endTime=2024-05-21 15:25:56&order=4wg8zg&pageSize=10Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id,新增时不需要传 | - |
└─title | string | 活动标题 | - |
└─startTime | string | 活动时间 yyyy-MM-dd HH:mm:ss | - |
└─publishTime | string | 发布时间 yyyy-MM-dd HH:mm:ss | - |
└─content | string | 活动内容,返回如果为null,请使用详情接口获取该字段数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 499,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 659,
"title": "l0livd",
"startTime": "2024-05-21 15:25:56",
"publishTime": "2024-05-21 15:25:56",
"content": "pxhbx4"
}
]
}
}10.2. 按月份分组活动策划列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 按月份分组活动策划列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
startTime | string | 查询开始时间 yyyy-MM-dd HH:mm:ss | false | - |
endTime | string | 查询结束时间 yyyy-MM-dd HH:mm:ss | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/eventPlanning/list/groupByMonth?curPage=1&endTime=2024-05-21 15:25:56&startTime=2024-05-21 15:25:56&orderField=a3jaf4&pageSize=10&order=trkh9bResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─month | string | 月份 | - |
└─plannings | array | 策划列表 | - |
└─id | int64 | id,新增时不需要传 | - |
└─title | string | 活动标题 | - |
└─startTime | string | 活动时间 yyyy-MM-dd HH:mm:ss | - |
└─publishTime | string | 发布时间 yyyy-MM-dd HH:mm:ss | - |
└─content | string | 活动内容,返回如果为null,请使用详情接口获取该字段数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 442,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"month": "5bfrhr",
"plannings": [
{
"id": 968,
"title": "2t3iat",
"startTime": "2024-05-21 15:25:56",
"publishTime": "2024-05-21 15:25:56",
"content": "xxxvse"
}
]
}
]
}
}10.3. 活动策划详情
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 活动策划详情
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | 活动策划id | true | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/eventPlanning/info/453Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id,新增时不需要传 | - |
└─title | string | 活动标题 | - |
└─startTime | string | 活动时间 yyyy-MM-dd HH:mm:ss | - |
└─publishTime | string | 发布时间 yyyy-MM-dd HH:mm:ss | - |
└─content | string | 活动内容,返回如果为null,请使用详情接口获取该字段数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 924,
"title": "r3otkd",
"startTime": "2024-05-21 15:25:56",
"publishTime": "2024-05-21 15:25:56",
"content": "l8zyem"
}
}10.4. 新增活动策划
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增活动策划
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不需要传 | false | - |
title | string | 活动标题 | true | - |
startTime | string | 活动时间 yyyy-MM-dd HH:mm:ss | true | - |
publishTime | string | 发布时间 yyyy-MM-dd HH:mm:ss | false | - |
content | string | 活动内容,返回如果为null,请使用详情接口获取该字段数据 | true | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/eventPlanning/save --data '{
"id": 791,
"title": "6drg6g",
"startTime": "2024-05-21 15:25:56",
"publishTime": "2024-05-21 15:25:56",
"content": "mbfg1i"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "95qbk2"
}10.5. 活动策划修改
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 活动策划修改
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不需要传 | false | - |
title | string | 活动标题 | true | - |
startTime | string | 活动时间 yyyy-MM-dd HH:mm:ss | true | - |
publishTime | string | 发布时间 yyyy-MM-dd HH:mm:ss | false | - |
content | string | 活动内容,返回如果为null,请使用详情接口获取该字段数据 | true | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/eventPlanning/update --data '{
"id": 972,
"title": "l9bho3",
"startTime": "2024-05-21 15:25:56",
"publishTime": "2024-05-21 15:25:56",
"content": "kdajzp"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "wp527i"
}10.6. 删除活动策划
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除活动策划
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 策划id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/eventPlanning/delete --data '[
806,
887
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "6zdf1v"
}11. 活动策划月度总结
11.1. 月度总结列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 月度总结列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
month | string | 月份 格式:yyyy-MM | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/eventPlanningMonthSummary/list?month=xi4mnk&curPage=1&pageSize=10&orderField=0k51cq&order=9xyisvResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id | - |
└─title | string | 标题 | - |
└─content | string | 内容 | - |
└─images | string | 图片 图片名称,多个图片之间使用,分割 | - |
└─month | string | 月份 yyyy-MM,不传默认当前月份 | - |
└─publishTime | string | 发布时间,不需要传 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 783,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 684,
"title": "avvhd7",
"content": "jrnevq",
"images": "rvrng1",
"month": "4gz67f",
"publishTime": "2024-05-21 15:25:56"
}
]
}
}11.2. 月度总结详情【根据id查询】
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 月度总结详情【根据id查询】
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | 月度总结详情 | true | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/eventPlanningMonthSummary/info/374Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id | - |
└─title | string | 标题 | - |
└─content | string | 内容 | - |
└─images | string | 图片 图片名称,多个图片之间使用,分割 | - |
└─month | string | 月份 yyyy-MM,不传默认当前月份 | - |
└─publishTime | string | 发布时间,不需要传 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 94,
"title": "7bv8ld",
"content": "90n5lq",
"images": "o9prik",
"month": "s2rwvp",
"publishTime": "2024-05-21 15:25:56"
}
}11.3. 月度总结详情【根据月份查询】
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 根据月份查询月度总结详情,日期格式yyyy-MM ,日期格式不正确不会返回正确的数据
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
month | string | 月份 格式:yyyy-MM | true | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/eventPlanningMonthSummary/px3n48/infoResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id | - |
└─title | string | 标题 | - |
└─content | string | 内容 | - |
└─images | string | 图片 图片名称,多个图片之间使用,分割 | - |
└─month | string | 月份 yyyy-MM,不传默认当前月份 | - |
└─publishTime | string | 发布时间,不需要传 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 717,
"title": "mtw7cd",
"content": "pm01f3",
"images": "k047cq",
"month": "1azrv1",
"publishTime": "2024-05-21 15:25:56"
}
}11.4. 新增月度总结
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增月度总结
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
title | string | 标题 | true | - |
content | string | 内容 | true | - |
images | string | 图片 图片名称,多个图片之间使用,分割 | false | - |
month | string | 月份 yyyy-MM,不传默认当前月份 | false | - |
publishTime | string | 发布时间,不需要传 | false | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/eventPlanningMonthSummary/save --data '{
"id": 809,
"title": "vhpq0y",
"content": "ustefc",
"images": "iakf95",
"month": "kbva57",
"publishTime": "2024-05-21 15:25:56"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "31cax5"
}11.5. 修改月度总结
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改月度总结
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
title | string | 标题 | true | - |
content | string | 内容 | true | - |
images | string | 图片 图片名称,多个图片之间使用,分割 | false | - |
month | string | 月份 yyyy-MM,不传默认当前月份 | false | - |
publishTime | string | 发布时间,不需要传 | false | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/eventPlanningMonthSummary/update --data '{
"id": 76,
"title": "hahl3i",
"content": "h78r8a",
"images": "5b6jfv",
"month": "94q91u",
"publishTime": "2024-05-21 15:25:56"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "0l0zhm"
}11.6. 删除月度总结
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除月度总结
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | No comments found.,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/eventPlanningMonthSummary/delete --data '[
36,
150
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "lwmos0"
}12. 医院发热门诊统计
12.1. 发热门诊统计列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 发热门诊统计列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/feverClinicOfHospitalStatistics/list?curPage=1&orderField=93asid&order=8nbdku&pageSize=10Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id | - |
└─statisticsDate | string | 统计日期 | - |
└─hospitalName | string | 医院名称 | - |
└─feverClinicCount | int64 | 发热人数 | - |
└─epidemicCount | int64 | 流病史人数 | - |
└─updateTime | string | 更新时间,不用传 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 717,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 905,
"statisticsDate": "2024-05-21",
"hospitalName": "耀杰.段",
"feverClinicCount": 81,
"epidemicCount": 176,
"updateTime": "2024-05-21 15:25:56"
}
]
}
}12.2. 新增发热门诊统计数据
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增发热门诊统计数据
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
datas | array | 数据集合 | true | - |
└─id | int64 | id | false | - |
└─statisticsDate | string | 统计日期 | true | - |
└─hospitalName | string | 医院名称 | true | - |
└─feverClinicCount | int64 | 发热人数 | true | - |
└─epidemicCount | int64 | 流病史人数 | true | - |
└─updateTime | string | 更新时间,不用传 | false | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/feverClinicOfHospitalStatistics/save --data '{
"datas": [
{
"id": 300,
"statisticsDate": "2024-05-21",
"hospitalName": "耀杰.段",
"feverClinicCount": 360,
"epidemicCount": 868,
"updateTime": "2024-05-21 15:25:56"
}
]
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "r7pn1w"
}12.3. 批量新增发热门诊统计数据
URL: http://192.168.161.230:8089/disease-command/feverClinicOfHospitalStatistics/saveByExcel/{dateStr}
Type: POST
Author: codingliang
Content-Type: multipart/form-data
Description: 使用指定模板上传数据
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
dateStr | string | 统计日期 yyyy-MM-dd | true | - |
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
file | file | 模板文件 | true | - |
Request-example:
curl -X POST -H 'Content-Type: multipart/form-data' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/feverClinicOfHospitalStatistics/saveByExcel/mqxh6bResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "htsdmi"
}12.4. 发热门诊数据修改
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 发热门诊数据修改
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
statisticsDate | string | 统计日期 | true | - |
hospitalName | string | 医院名称 | true | - |
feverClinicCount | int64 | 发热人数 | true | - |
epidemicCount | int64 | 流病史人数 | true | - |
updateTime | string | 更新时间,不用传 | false | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/feverClinicOfHospitalStatistics/update --data '{
"id": 332,
"statisticsDate": "2024-05-21",
"hospitalName": "耀杰.段",
"feverClinicCount": 981,
"epidemicCount": 942,
"updateTime": "2024-05-21 15:25:56"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "yugydd"
}12.5. 删除发热门诊数据
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除发热门诊数据
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 数据id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/feverClinicOfHospitalStatistics/delete --data '[
266,
515
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "ulfuy8"
}12.6. 发热门诊最新数据
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 本接口用于获取大数据页面【重点环境-发热门诊TOP6】模块数据
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/feverClinicOfHospitalStatistics/lastDataResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | array | 接口调用返回数据 | - |
└─id | int64 | id | - |
└─statisticsDate | string | 统计日期 | - |
└─hospitalName | string | 医院名称 | - |
└─feverClinicCount | int64 | 发热人数 | - |
└─epidemicCount | int64 | 流病史人数 | - |
└─updateTime | string | 更新时间,不用传 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": [
{
"id": 89,
"statisticsDate": "2024-05-21",
"hospitalName": "耀杰.段",
"feverClinicCount": 888,
"epidemicCount": 720,
"updateTime": "2024-05-21 15:25:56"
}
]
}13. 文件上传服务
13.1. 文件上传
Type: POST
Author: codingliang
Content-Type: multipart/form-data
Description: 文件上传
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
file | file | 文件内容 | true | - |
Request-example:
curl -X POST -H 'Content-Type: multipart/form-data' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/file/imageUploadResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─imageName | string | 图片名称 | - |
└─showUrl | string | 文件浏览路径 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"imageName": "耀杰.段",
"showUrl": "www.xn---xn--5ft-c24oq615c.org"
}
}13.2. 删除已经上传的文件
Type: DELETE
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 删除已经上传的文件
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
imageName | string | 文件名称 | true | - |
Request-example:
curl -X DELETE -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/file/delete/耀杰.段Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "602jye"
}14. 防火等级模块
14.1. 获取最新的防火等级记录
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description:
Ⅰ级(特别严重)红色警告,极其危险、极易燃烧,森林火险等级五级,连续20天以上晴天,相对湿度50%以下;
Ⅱ级(严重)橙色警告,高度危险、容易燃烧,森林火险等级四级,连续15天以上晴天,相对湿度50%-60%;
Ⅲ级(较重)黄色警告,中度危险、较易燃烧,森林火险等级三级,连续7天以上晴天,相对湿度60%-70%;
Ⅳ级(一般)蓝色警告,低度危险、难以燃烧,森林火险等级三级以下,连续7天以上晴天,相对湿度70%以上;
level1-4分别代表预警Ⅰ到Ⅳ级
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/fireRating/lastResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─Id | int64 | id | - |
└─level | string | 等级 1-4分别代表预警Ⅰ到Ⅳ级 | - |
└─updateTime | string | 更新时间 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"Id": 280,
"level": "68l8f8",
"updateTime": "2024-05-21 15:25:57"
}
}14.2. 历史防火等级列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 历史防火等级列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/fireRating/list?pageSize=10&curPage=1&order=6wz6at&orderField=z092eaResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─Id | int64 | id | - |
└─level | string | 等级 1-4分别代表预警Ⅰ到Ⅳ级 | - |
└─updateTime | string | 更新时间 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 285,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"Id": 923,
"level": "k4qjki",
"updateTime": "2024-05-21 15:25:57"
}
]
}
}14.3. 修改防火等级
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改防火等级
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
Id | int64 | id | false | - |
level | string | 等级 1-4分别代表预警Ⅰ到Ⅳ级 | true | - |
updateTime | string | 更新时间 | false | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/fireRating/update --data '{
"Id": 338,
"level": "r5ruty",
"updateTime": "2024-05-21 15:25:57"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "wce1ns"
}14.4. 更新当天的防火等级
Type: PUT
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 如果数据库中没有最新防火等级记录,或者记录是1小时之前的,则会重新查询当前天气状况后查询更新当前防火记录
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Request-example:
curl -X PUT -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/fireRating/updateTodayFireRatingResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "fgdwze"
}15. 隔离场所
15.1. 隔离场所列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description:
-用于大数据页面【应急储备-隔离场所-隔离场所列表】模块数据获取;
- 用于管理端隔离参数列表。
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/isolatedPlace/list?curPage=1&order=bex2c5&orderField=mib8el&pageSize=10Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id | - |
└─placeName | string | 场所名称 | - |
└─placeAddrDesc | string | 场所地点描述 | - |
└─inUse | string | 是否正在使用 1是、2否 | - |
└─currentIsolatedNums | int32 | 当前隔离人数 | - |
└─roomNums | int32 | 房间总数 | - |
└─roomNumsOfUsed | int32 | 已使用房间数 | - |
└─responsiblerName | string | 场所责任人名称 | - |
└─responsiblerPhone | string | 场所责任人电话 | - |
└─placePlan | string | 场所方案 | - |
└─placeImgName | string | 场所图片 多张图片使用,分割 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 950,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 543,
"placeName": "耀杰.段",
"placeAddrDesc": "dkphps",
"inUse": "93zzsc",
"currentIsolatedNums": 711,
"roomNums": 492,
"roomNumsOfUsed": 412,
"responsiblerName": "耀杰.段",
"responsiblerPhone": "17165399591",
"placePlan": "gzigi0",
"placeImgName": "耀杰.段"
}
]
}
}15.2. 新增隔离场所
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增隔离场所
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
placeName | string | 场所名称 | true | - |
placeAddrDesc | string | 场所地点描述 | true | - |
inUse | string | 是否正在使用 1是、2否 | true | - |
currentIsolatedNums | int32 | 当前隔离人数 | true | - |
roomNums | int32 | 房间总数 | true | - |
roomNumsOfUsed | int32 | 已使用房间数 | true | - |
responsiblerName | string | 场所责任人名称 | true | - |
responsiblerPhone | string | 场所责任人电话 | true | - |
placePlan | string | 场所方案 | true | - |
placeImgName | string | 场所图片 多张图片使用,分割 | false | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/isolatedPlace/save --data '{
"id": 711,
"placeName": "耀杰.段",
"placeAddrDesc": "0dt47g",
"inUse": "3pl4z9",
"currentIsolatedNums": 387,
"roomNums": 156,
"roomNumsOfUsed": 978,
"responsiblerName": "耀杰.段",
"responsiblerPhone": "17165399591",
"placePlan": "9ih79h",
"placeImgName": "耀杰.段"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "vcmfqp"
}15.3. 批量新增隔离场所
Type: POST
Author: codingliang
Content-Type: multipart/form-data
Description: 使用规定的模板文件上传
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
file | file | 模板文件 | true | - |
Request-example:
curl -X POST -H 'Content-Type: multipart/form-data' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/isolatedPlace/saveByExcelResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "2mjk92"
}15.4. 修改隔离场所
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改隔离场所
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
placeName | string | 场所名称 | true | - |
placeAddrDesc | string | 场所地点描述 | true | - |
inUse | string | 是否正在使用 1是、2否 | true | - |
currentIsolatedNums | int32 | 当前隔离人数 | true | - |
roomNums | int32 | 房间总数 | true | - |
roomNumsOfUsed | int32 | 已使用房间数 | true | - |
responsiblerName | string | 场所责任人名称 | true | - |
responsiblerPhone | string | 场所责任人电话 | true | - |
placePlan | string | 场所方案 | true | - |
placeImgName | string | 场所图片 多张图片使用,分割 | false | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/isolatedPlace/update --data '{
"id": 432,
"placeName": "耀杰.段",
"placeAddrDesc": "c2l72i",
"inUse": "ypnkzw",
"currentIsolatedNums": 373,
"roomNums": 420,
"roomNumsOfUsed": 131,
"responsiblerName": "耀杰.段",
"responsiblerPhone": "17165399591",
"placePlan": "d02gme",
"placeImgName": "耀杰.段"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "b4ibhr"
}15.5. 修改场地图片
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改场地图片
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
isolatedPlaceId | int64 | 场地id | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
imageNames | array | 图片名称,[array of string] | false |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/isolatedPlace/370/updateImages --data '[
"5lr637",
"u27zg5"
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "ab68bm"
}15.6. 删除隔离场所
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除隔离场所
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 场所id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/isolatedPlace/delete --data '[
800,
627
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "2d1kek"
}15.7. 隔离场所总览
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 用于大数据页面【应急储备-隔离场所】模块数据获取
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/isolatedPlace/statisticsResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─placeNums | int32 | 场所总数量 | - |
└─roomNums | int32 | 房间总数量 | - |
└─placeUsedNums | int32 | 场所已使用数量 | - |
└─roomUsedNums | int32 | 房间已使用数量 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"placeNums": 863,
"roomNums": 4,
"placeUsedNums": 918,
"roomUsedNums": 851
}
}16. 新闻聚焦
16.1. 新闻聚焦列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 新闻聚焦列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
startTime | string | 查询开始时间 yyyy-MM-dd HH:mm:ss | false | - |
endTime | string | 查询结束时间 yyyy-MM-dd HH:mm:ss | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/newsFocus/list?order=521ve9&pageSize=10&startTime=2024-05-21 15:25:57&endTime=2024-05-21 15:25:57&orderField=ijapsu&curPage=1Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id,新增时不用传 | - |
└─title | string | 标题 | - |
└─publishTime | string | 发布时间 yyyy-MM-dd HH:mm:ss | - |
└─source | string | 来源 | - |
└─content | string | 内容 | - |
└─image | string | 图片 | - |
└─imageName | string | 图片名称 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 791,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 431,
"title": "cnjojs",
"publishTime": "2024-05-21 15:25:57",
"source": "u9xqfs",
"content": "ws7t79",
"image": "gz17yr",
"imageName": "耀杰.段"
}
]
}
}16.2. 新闻聚焦详细信息
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 新闻聚焦详细信息
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | 新闻id | true | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/newsFocus/info/167Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id,新增时不用传 | - |
└─title | string | 标题 | - |
└─publishTime | string | 发布时间 yyyy-MM-dd HH:mm:ss | - |
└─source | string | 来源 | - |
└─content | string | 内容 | - |
└─image | string | 图片 | - |
└─imageName | string | 图片名称 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 409,
"title": "vnzano",
"publishTime": "2024-05-21 15:25:57",
"source": "igzu49",
"content": "vnl2du",
"image": "snwvuw",
"imageName": "耀杰.段"
}
}16.3. 新增新闻聚焦
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增新闻聚焦
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不用传 | false | - |
title | string | 标题 | true | - |
publishTime | string | 发布时间 yyyy-MM-dd HH:mm:ss | false | - |
source | string | 来源 | true | - |
content | string | 内容 | true | - |
image | string | 图片 | true | - |
imageName | string | 图片名称 | false | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/newsFocus/save --data '{
"id": 602,
"title": "q5ooyx",
"publishTime": "2024-05-21 15:25:57",
"source": "h7ek1i",
"content": "mcpoos",
"image": "1l66jb",
"imageName": "耀杰.段"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "eyt7nt"
}16.4. 新闻聚焦修改
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新闻聚焦修改
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不用传 | false | - |
title | string | 标题 | true | - |
publishTime | string | 发布时间 yyyy-MM-dd HH:mm:ss | false | - |
source | string | 来源 | true | - |
content | string | 内容 | true | - |
image | string | 图片 | true | - |
imageName | string | 图片名称 | false | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/newsFocus/update --data '{
"id": 478,
"title": "nqiixf",
"publishTime": "2024-05-21 15:25:57",
"source": "v8g9y7",
"content": "19bjsm",
"image": "k6ah3u",
"imageName": "耀杰.段"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "0ae01k"
}16.5. 删除新闻聚焦
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除新闻聚焦
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | ids集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/newsFocus/delete --data '[
844,
703
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "nb88sc"
}17. 停车场信息
17.1. 停车场列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 停车场列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
keyword | string | 关键字搜索 支持根据名称模糊搜索 | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/parking/page?pageSize=10&order=48c1c0&orderField=8b8if4&keyword=w55yeh&curPage=1Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id | - |
└─name | string | 名称 | - |
└─addrDesc | string | 地址 | - |
└─openTime | string | 营业时间 | - |
└─capacity | int32 | 容量 | - |
└─longitudeAndLatitude | string | 经纬度 经纬度之间使用,分割 | - |
└─status | string | 状态 1正常开放,2未开放 | - |
└─sort | int32 | 排序 | - |
└─thirdOpenFlag | string | 第三方对接标识 程序内部使用,不需要在管理系统展示 | - |
└─thirdOpenId | string | 第三方对接id 程序内部使用,不需要在管理系统展示 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 825,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 423,
"name": "耀杰.段",
"addrDesc": "dpkb9k",
"openTime": "2024-05-21 15:25:54",
"capacity": 925,
"longitudeAndLatitude": "sabtdt",
"status": "vtt4ci",
"sort": 574,
"thirdOpenFlag": "db4mv8",
"thirdOpenId": "54"
}
]
}
}17.2. 停车场列表精简信息
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 停车场列表精简信息
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/parking/listMiniResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | array | 接口调用返回数据 | - |
└─id | int64 | id | - |
└─name | string | 停车场名称 | - |
└─longitudeAndLatitude | string | 经纬度 经纬度之间使用,分割 | - |
└─flag | string | 实时数据对接标识 -1未对接、其他表示已对接 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": [
{
"id": 919,
"name": "耀杰.段",
"longitudeAndLatitude": "iho6jp",
"flag": "y3s1mh"
}
]
}17.3. 停车场详情
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 停车场详情
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | No comments found. | true | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/parking/info/610Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id | - |
└─name | string | 名称 | - |
└─addrDesc | string | 地址 | - |
└─openTime | string | 营业时间 | - |
└─capacity | int32 | 容量 | - |
└─longitudeAndLatitude | string | 经纬度 经纬度之间使用,分割 | - |
└─status | string | 状态 1正常开放,2未开放 | - |
└─sort | int32 | 排序 | - |
└─thirdOpenFlag | string | 第三方对接标识 程序内部使用,不需要在管理系统展示 | - |
└─thirdOpenId | string | 第三方对接id 程序内部使用,不需要在管理系统展示 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 660,
"name": "耀杰.段",
"addrDesc": "f5jmft",
"openTime": "2024-05-21 15:25:54",
"capacity": 806,
"longitudeAndLatitude": "a9qg6p",
"status": "ufzacb",
"sort": 539,
"thirdOpenFlag": "gr9naq",
"thirdOpenId": "54"
}
}17.4. 新增停车场
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增停车场
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
name | string | 名称 | true | - |
addrDesc | string | 地址 | true | - |
openTime | string | 营业时间 | true | - |
capacity | int32 | 容量 | true | - |
longitudeAndLatitude | string | 经纬度 经纬度之间使用,分割 | true | - |
status | string | 状态 1正常开放,2未开放 | false | - |
sort | int32 | 排序 | false | - |
thirdOpenFlag | string | 第三方对接标识 程序内部使用,不需要在管理系统展示 | false | - |
thirdOpenId | string | 第三方对接id 程序内部使用,不需要在管理系统展示 | false | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/parking/save --data '{
"id": 666,
"name": "耀杰.段",
"addrDesc": "bqmdli",
"openTime": "2024-05-21 15:25:54",
"capacity": 395,
"longitudeAndLatitude": "n0ayds",
"status": "heb38f",
"sort": 730,
"thirdOpenFlag": "l5unfq",
"thirdOpenId": "54"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "mcv8lx"
}17.5. 修改停车场
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改停车场
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
name | string | 名称 | true | - |
addrDesc | string | 地址 | true | - |
openTime | string | 营业时间 | true | - |
capacity | int32 | 容量 | true | - |
longitudeAndLatitude | string | 经纬度 经纬度之间使用,分割 | true | - |
status | string | 状态 1正常开放,2未开放 | false | - |
sort | int32 | 排序 | false | - |
thirdOpenFlag | string | 第三方对接标识 程序内部使用,不需要在管理系统展示 | false | - |
thirdOpenId | string | 第三方对接id 程序内部使用,不需要在管理系统展示 | false | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/parking/update --data '{
"id": 57,
"name": "耀杰.段",
"addrDesc": "gwfl8u",
"openTime": "2024-05-21 15:25:54",
"capacity": 295,
"longitudeAndLatitude": "p7xk4z",
"status": "2z8bmc",
"sort": 650,
"thirdOpenFlag": "rvw01s",
"thirdOpenId": "54"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "qd35d9"
}17.6. 删除停车场
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除停车场
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | No comments found.,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/parking/delete --data '[
660,
498
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "c6bhab"
}17.7. 停车场实时数据
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 停车场实时数据
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
parkingId | int64 | 停车场id | true | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/parking/realData/776Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id | - |
└─name | string | 停车场名称 | - |
└─openTime | string | 开放时间段 | - |
└─status | string | 状态 1正常开放,2未开放 | - |
└─numOfFree | int32 | 空闲车位 | - |
└─numOfUsed | int32 | 已用车位 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 415,
"name": "耀杰.段",
"openTime": "2024-05-21 15:25:54",
"status": "wk9v05",
"numOfFree": 77,
"numOfUsed": 259
}
}17.8. server02服务商停车场实时数据上传
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: server02服务商停车场使用本接口实时上传停车场数据,一次性上传[1-256]之内条数据,超出拒绝上传
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | string | 第三方停车id | true | - |
name | string | 停车场名称 | true | - |
address | string | 停车场地址 | true | - |
total | int32 | 车位总数 | true | - |
remainder | int32 | 车位余量 | true | - |
lng | string | 经度 | true | - |
lat | string | 纬度 | true | - |
status | boolean | 状态 启用,停用 | true | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/parking/realTimeDataUpdate/server02 --data '[
{
"id": "54",
"name": "耀杰.段",
"address": "崔路20号, 寿光, 京 079572",
"total": 287,
"remainder": 654,
"lng": "iu6mra",
"lat": "ex8jzg",
"status": true
}
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "zigki3"
}18. 人和物检测统计
18.1. 人和物检测统计列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 人和物检测统计列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/peopleAndGoodsDetectionStatistics/list?orderField=qsb0e3&curPage=1&pageSize=10&order=1mke41Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id | - |
└─statisticsDate | string | 统计日期 | - |
└─typeName | string | 种类名称 | - |
└─slaughterCount | int64 | 屠宰数量 | - |
└─productionProcessingCount | int64 | 生产加工数量 | - |
└─storageTransportationCount | int64 | 储存运输数量 | - |
└─businessMarketingCount | int64 | 经营营销数量 | - |
└─detectionCount | int64 | 检测总数量 | - |
└─abnormalCount | int64 | 异常总数量 | - |
└─updateTime | string | 更新时间,不需要传 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 526,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 986,
"statisticsDate": "2024-05-21",
"typeName": "耀杰.段",
"slaughterCount": 907,
"productionProcessingCount": 273,
"storageTransportationCount": 520,
"businessMarketingCount": 143,
"detectionCount": 320,
"abnormalCount": 565,
"updateTime": "2024-05-21 15:25:57"
}
]
}
}18.2. 新增人和物检测统计
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增人和物检测统计
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
datas | array | 数据集合 | true | - |
└─id | int64 | id | false | - |
└─statisticsDate | string | 统计日期 | true | - |
└─typeName | string | 种类名称 | true | - |
└─slaughterCount | int64 | 屠宰数量 | true | - |
└─productionProcessingCount | int64 | 生产加工数量 | true | - |
└─storageTransportationCount | int64 | 储存运输数量 | true | - |
└─businessMarketingCount | int64 | 经营营销数量 | true | - |
└─detectionCount | int64 | 检测总数量 | true | - |
└─abnormalCount | int64 | 异常总数量 | true | - |
└─updateTime | string | 更新时间,不需要传 | false | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/peopleAndGoodsDetectionStatistics/save --data '{
"datas": [
{
"id": 748,
"statisticsDate": "2024-05-21",
"typeName": "耀杰.段",
"slaughterCount": 292,
"productionProcessingCount": 873,
"storageTransportationCount": 890,
"businessMarketingCount": 202,
"detectionCount": 112,
"abnormalCount": 127,
"updateTime": "2024-05-21 15:25:57"
}
]
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "g8fak2"
}18.3. 批量新增人和物检测统计
URL: http://192.168.161.230:8089/disease-command/peopleAndGoodsDetectionStatistics/saveByExcel/{dateStr}
Type: POST
Author: codingliang
Content-Type: multipart/form-data
Description: 使用指定模板文件上传
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
dateStr | string | 统计日期 yyyy-MM-dd | true | - |
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
file | file | 模板文件 | true | - |
Request-example:
curl -X POST -H 'Content-Type: multipart/form-data' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/peopleAndGoodsDetectionStatistics/saveByExcel/9i8zzrResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "11rja0"
}18.4. 修改人和物检测统计数据
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改人和物检测统计数据
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
statisticsDate | string | 统计日期 | true | - |
typeName | string | 种类名称 | true | - |
slaughterCount | int64 | 屠宰数量 | true | - |
productionProcessingCount | int64 | 生产加工数量 | true | - |
storageTransportationCount | int64 | 储存运输数量 | true | - |
businessMarketingCount | int64 | 经营营销数量 | true | - |
detectionCount | int64 | 检测总数量 | true | - |
abnormalCount | int64 | 异常总数量 | true | - |
updateTime | string | 更新时间,不需要传 | false | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/peopleAndGoodsDetectionStatistics/update --data '{
"id": 736,
"statisticsDate": "2024-05-21",
"typeName": "耀杰.段",
"slaughterCount": 871,
"productionProcessingCount": 597,
"storageTransportationCount": 726,
"businessMarketingCount": 58,
"detectionCount": 833,
"abnormalCount": 173,
"updateTime": "2024-05-21 15:25:57"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "eaf5nd"
}18.5. 删除人和物检测统计数据
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除人和物检测统计数据
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 数据id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/peopleAndGoodsDetectionStatistics/delete --data '[
403,
314
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "92mhtn"
}18.6. 人、物检测统计最新数据
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 本接口用于大数据页面【重点环节-冷链人物同防】模块数据获取
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/peopleAndGoodsDetectionStatistics/lastDataResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | array | 接口调用返回数据 | - |
└─statisticsDate | string | 统计日期 | - |
└─typeName | string | 种类名称 | - |
└─detectionCount | int64 | 检测总数量 | - |
└─abnormalCount | int64 | 异常总数量 | - |
└─updateTime | string | 更新时间 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": [
{
"statisticsDate": "2024-05-21",
"typeName": "耀杰.段",
"detectionCount": 195,
"abnormalCount": 973,
"updateTime": "2024-05-21 15:25:57"
}
]
}18.7. 人、物检测统计最新数据详情
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 本接口用于大数据页面【重点环节-冷链人物同防-详情】模块数据获取
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/peopleAndGoodsDetectionStatistics/lastDataDetailResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | array | 接口调用返回数据 | - |
└─id | int64 | id | - |
└─statisticsDate | string | 统计日期 | - |
└─typeName | string | 种类名称 | - |
└─slaughterCount | int64 | 屠宰数量 | - |
└─productionProcessingCount | int64 | 生产加工数量 | - |
└─storageTransportationCount | int64 | 储存运输数量 | - |
└─businessMarketingCount | int64 | 经营营销数量 | - |
└─detectionCount | int64 | 检测总数量 | - |
└─abnormalCount | int64 | 异常总数量 | - |
└─updateTime | string | 更新时间,不需要传 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": [
{
"id": 948,
"statisticsDate": "2024-05-21",
"typeName": "耀杰.段",
"slaughterCount": 823,
"productionProcessingCount": 956,
"storageTransportationCount": 732,
"businessMarketingCount": 87,
"detectionCount": 350,
"abnormalCount": 706,
"updateTime": "2024-05-21 15:25:57"
}
]
}19. 景区最大容量设置
19.1. 乡镇列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 乡镇列表
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/scenicSpotMaxCapacitySetting/township/listResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | array | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": [
"p2wwhz",
"qrwwhq"
]
}19.2. 设置列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 如果需要一次性把所有数据显示出来,可以把pageSize设置的足够大
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
townshipName | string | 乡镇名称 | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/scenicSpotMaxCapacitySetting/list?orderField=dx1ex5&pageSize=10&townshipName=耀杰.段&order=and3s7&curPage=1Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id,新增时不需要传 | - |
└─scenicSpotName | string | 景点名称 | - |
└─township | string | 所属乡镇 | - |
└─maxCapacity | int32 | 最大容量 单位:人 | - |
└─sort | int32 | 排序 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 135,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 93,
"scenicSpotName": "耀杰.段",
"township": "40.239.80.11",
"maxCapacity": 92,
"sort": 978
}
]
}
}19.3. 设置详情
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 设置详情
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | No comments found. | true | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/scenicSpotMaxCapacitySetting/info/210Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id,新增时不需要传 | - |
└─scenicSpotName | string | 景点名称 | - |
└─township | string | 所属乡镇 | - |
└─maxCapacity | int32 | 最大容量 单位:人 | - |
└─sort | int32 | 排序 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 567,
"scenicSpotName": "耀杰.段",
"township": "40.239.80.11",
"maxCapacity": 671,
"sort": 629
}
}19.4. 新增设置
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增设置
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不需要传 | false | - |
scenicSpotName | string | 景点名称 | true | - |
township | string | 所属乡镇 | true | - |
maxCapacity | int32 | 最大容量 单位:人 | true | - |
sort | int32 | 排序 | false | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/scenicSpotMaxCapacitySetting/save --data '{
"id": 416,
"scenicSpotName": "耀杰.段",
"township": "40.239.80.11",
"maxCapacity": 407,
"sort": 901
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "0zie90"
}19.5. 修改设置
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改设置
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不需要传 | false | - |
scenicSpotName | string | 景点名称 | true | - |
township | string | 所属乡镇 | true | - |
maxCapacity | int32 | 最大容量 单位:人 | true | - |
sort | int32 | 排序 | false | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/scenicSpotMaxCapacitySetting/update --data '{
"id": 497,
"scenicSpotName": "耀杰.段",
"township": "40.239.80.11",
"maxCapacity": 489,
"sort": 662
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "btxg7p"
}19.6. 删除设置
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除设置
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 设置id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/scenicSpotMaxCapacitySetting/delete --data '[
690,
133
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "qio9v3"
}20. 景区概览
20.1. 景区列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 景区列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/scenicSpotOverview/list?order=8tbmn9&orderField=n5bjcj&curPage=1&pageSize=10Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id,新增时不需要传 | - |
└─scenicSpotName | string | 景区名称 需要与地图中名称完全保持一致 | - |
└─scenicSpotDesc | string | 景区描述 | - |
└─responsibler | string | 负责人名称 | - |
└─responsiblerPhone | string | 负责人联系电话 | - |
└─numOfEmergencyCrew | int32 | 应急人员人数 单位:人 | - |
└─numOfEmergencMaterial | int32 | 应急物资情况 单位:件 | - |
└─image | string | 景区图片 | - |
└─urlOfVr | string | vr链接 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 811,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 744,
"scenicSpotName": "耀杰.段",
"scenicSpotDesc": "o6znlf",
"responsibler": "51oriv",
"responsiblerPhone": "17165399591",
"numOfEmergencyCrew": 769,
"numOfEmergencMaterial": 995,
"image": "98et1e",
"urlOfVr": "bwkgvf"
}
]
}
}20.2. 景区信息(根据景区id查询)
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 景区信息(根据景区id查询)
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | No comments found. | true | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/scenicSpotOverview/info/id/119Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id,新增时不需要传 | - |
└─scenicSpotName | string | 景区名称 需要与地图中名称完全保持一致 | - |
└─scenicSpotDesc | string | 景区描述 | - |
└─responsibler | string | 负责人名称 | - |
└─responsiblerPhone | string | 负责人联系电话 | - |
└─numOfEmergencyCrew | int32 | 应急人员人数 单位:人 | - |
└─numOfEmergencMaterial | int32 | 应急物资情况 单位:件 | - |
└─image | string | 景区图片 | - |
└─urlOfVr | string | vr链接 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 454,
"scenicSpotName": "耀杰.段",
"scenicSpotDesc": "secfc5",
"responsibler": "br6oh0",
"responsiblerPhone": "17165399591",
"numOfEmergencyCrew": 585,
"numOfEmergencMaterial": 807,
"image": "0i7d8e",
"urlOfVr": "cqbvwp"
}
}20.3. 景区信息(根据景区名称查询)
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 景区信息(根据景区名称查询)
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
scenicSpotName | string | No comments found. | true | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/scenicSpotOverview/info/name/耀杰.段Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id,新增时不需要传 | - |
└─scenicSpotName | string | 景区名称 需要与地图中名称完全保持一致 | - |
└─scenicSpotDesc | string | 景区描述 | - |
└─responsibler | string | 负责人名称 | - |
└─responsiblerPhone | string | 负责人联系电话 | - |
└─numOfEmergencyCrew | int32 | 应急人员人数 单位:人 | - |
└─numOfEmergencMaterial | int32 | 应急物资情况 单位:件 | - |
└─image | string | 景区图片 | - |
└─urlOfVr | string | vr链接 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 39,
"scenicSpotName": "耀杰.段",
"scenicSpotDesc": "2x8dn4",
"responsibler": "kew45a",
"responsiblerPhone": "17165399591",
"numOfEmergencyCrew": 494,
"numOfEmergencMaterial": 863,
"image": "b3t2ka",
"urlOfVr": "u5rxgo"
}
}20.4. 新增景区
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增景区
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不需要传 | false | - |
scenicSpotName | string | 景区名称 需要与地图中名称完全保持一致 | true | - |
scenicSpotDesc | string | 景区描述 | true | - |
responsibler | string | 负责人名称 | true | - |
responsiblerPhone | string | 负责人联系电话 | true | - |
numOfEmergencyCrew | int32 | 应急人员人数 单位:人 | true | - |
numOfEmergencMaterial | int32 | 应急物资情况 单位:件 | true | - |
image | string | 景区图片 | true | - |
urlOfVr | string | vr链接 | false | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/scenicSpotOverview/add --data '{
"id": 566,
"scenicSpotName": "耀杰.段",
"scenicSpotDesc": "6stmoy",
"responsibler": "n0319z",
"responsiblerPhone": "17165399591",
"numOfEmergencyCrew": 195,
"numOfEmergencMaterial": 380,
"image": "38kyzn",
"urlOfVr": "p9adi2"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "vpy98j"
}20.5. 修改景区
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改景区
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不需要传 | false | - |
scenicSpotName | string | 景区名称 需要与地图中名称完全保持一致 | true | - |
scenicSpotDesc | string | 景区描述 | true | - |
responsibler | string | 负责人名称 | true | - |
responsiblerPhone | string | 负责人联系电话 | true | - |
numOfEmergencyCrew | int32 | 应急人员人数 单位:人 | true | - |
numOfEmergencMaterial | int32 | 应急物资情况 单位:件 | true | - |
image | string | 景区图片 | true | - |
urlOfVr | string | vr链接 | false | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/scenicSpotOverview/update --data '{
"id": 311,
"scenicSpotName": "耀杰.段",
"scenicSpotDesc": "w3uj59",
"responsibler": "2kad59",
"responsiblerPhone": "17165399591",
"numOfEmergencyCrew": 335,
"numOfEmergencMaterial": 96,
"image": "842s11",
"urlOfVr": "mq1aat"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "rxxvas"
}20.6. 删除景区
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除景区
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | No comments found.,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/scenicSpotOverview/delete --data '[
35,
400
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "o2dkjy"
}21. 疾控主题
21.1. 疾控主题列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 疾控主题列表
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/theme/listResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | array | 接口调用返回数据 | - |
└─id | int64 | id,新增时不用传 | - |
└─themeName | string | 主题名称 | - |
└─enable | string | 是否启用 1是,2否 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": [
{
"id": 238,
"themeName": "耀杰.段",
"enable": "v19cre"
}
]
}21.2. 新增疾控主题
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增疾控主题
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不用传 | false | - |
themeName | string | 主题名称 | true | - |
enable | string | 是否启用 1是,2否 | true | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/theme/save --data '{
"id": 536,
"themeName": "耀杰.段",
"enable": "v8g0gd"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "tf71rh"
}21.3. 修改疾控主题
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改疾控主题
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不用传 | false | - |
themeName | string | 主题名称 | true | - |
enable | string | 是否启用 1是,2否 | true | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/theme/update --data '{
"id": 173,
"themeName": "耀杰.段",
"enable": "v2j8rw"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "ttvqbs"
}21.4. 删除疾控主题
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除疾控主题
Request-headers:
| Header | Type | Description | Required | Since |
|---|---|---|---|---|
Admin-Token | string | 管理员token | true | - |
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 疾控主题id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/theme/delete --data '[
326,
798
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "e1f5q1"
}21.5. 获取当前的疾控主题
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 本接口用于大数据页面【疫情值守-当前启用专班】模块数据获取
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/theme/currentItemResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id,新增时不用传 | - |
└─themeName | string | 主题名称 | - |
└─enable | string | 是否启用 1是,2否 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 585,
"themeName": "耀杰.段",
"enable": "t27ru1"
}
}22. 厕所基本数据
22.1. 厕所列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 本接口提供给管理端使用
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
keyword | string | 关键字搜索 | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/toilet/page?keyword=i66a8f&orderField=zx2f8s&curPage=1&order=n4d0bu&pageSize=10Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id | - |
└─name | string | 厕所名称 | - |
└─addrDesc | string | 地址描述 | - |
└─level | string | 建设等级 | - |
└─area | string | 面积 单位:m² | - |
└─numOfBarrierFree | int32 | 无障碍厕位 单位:个 | - |
└─numOfThird | int32 | 第三卫生间 单位:个 | - |
└─numOfMan | int32 | 男厕位 单位:个 | - |
└─numOfWoman | int32 | 女厕位 单位:个 | - |
└─numOfCommon | int32 | 男女通用厕位 单位:个 | - |
└─itemNo | string | 项目编号 | - |
└─longitudeAndLatitude | string | 经纬度 经纬度之间使用,分割 | - |
└─status | string | 状态 1正常开放,2未开放 | - |
└─sort | int32 | 排序 | - |
└─thirdOpenFlag | string | 第三方对接标识 程序内部使用,不需要在管理系统展示 | - |
└─thirdOpenId | string | 第三方对接id 程序内部使用,不需要在管理系统展示 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 7,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 672,
"name": "耀杰.段",
"addrDesc": "vsgssa",
"level": "1vv3lc",
"area": "y3s86f",
"numOfBarrierFree": 39,
"numOfThird": 331,
"numOfMan": 648,
"numOfWoman": 272,
"numOfCommon": 982,
"itemNo": "ade7lu",
"longitudeAndLatitude": "qckoud",
"status": "hgr3be",
"sort": 888,
"thirdOpenFlag": "9lk7lq",
"thirdOpenId": "54"
}
]
}
}22.2. 厕所列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 一次性返回所有厕所列表精简信息
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/toilet/list/miniResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | array | 接口调用返回数据 | - |
└─id | int64 | id | - |
└─name | string | 厕所名称 | - |
└─longitudeAndLatitude | string | 经纬度 经纬度之间使用,分割 | - |
└─flag | string | 实时数据对接标识 -1未对接、其他表示已对接 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": [
{
"id": 794,
"name": "耀杰.段",
"longitudeAndLatitude": "hguuzd",
"flag": "z3px8l"
}
]
}22.3. 厕所详情信息
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 厕所详情信息
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | true | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/toilet/info/951Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id | - |
└─name | string | 厕所名称 | - |
└─addrDesc | string | 地址描述 | - |
└─level | string | 建设等级 | - |
└─area | string | 面积 单位:m² | - |
└─numOfBarrierFree | int32 | 无障碍厕位 单位:个 | - |
└─numOfThird | int32 | 第三卫生间 单位:个 | - |
└─numOfMan | int32 | 男厕位 单位:个 | - |
└─numOfWoman | int32 | 女厕位 单位:个 | - |
└─numOfCommon | int32 | 男女通用厕位 单位:个 | - |
└─itemNo | string | 项目编号 | - |
└─longitudeAndLatitude | string | 经纬度 经纬度之间使用,分割 | - |
└─status | string | 状态 1正常开放,2未开放 | - |
└─sort | int32 | 排序 | - |
└─thirdOpenFlag | string | 第三方对接标识 程序内部使用,不需要在管理系统展示 | - |
└─thirdOpenId | string | 第三方对接id 程序内部使用,不需要在管理系统展示 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 557,
"name": "耀杰.段",
"addrDesc": "170bcn",
"level": "n4zpl1",
"area": "oogxib",
"numOfBarrierFree": 614,
"numOfThird": 761,
"numOfMan": 847,
"numOfWoman": 470,
"numOfCommon": 362,
"itemNo": "bsiic3",
"longitudeAndLatitude": "wyvmub",
"status": "e5s6n2",
"sort": 524,
"thirdOpenFlag": "8sdea3",
"thirdOpenId": "54"
}
}22.4. 新增厕所
Type: POST
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 新增厕所
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
name | string | 厕所名称 | true | - |
addrDesc | string | 地址描述 | true | - |
level | string | 建设等级 | true | - |
area | string | 面积 单位:m² | true | - |
numOfBarrierFree | int32 | 无障碍厕位 单位:个 | true | - |
numOfThird | int32 | 第三卫生间 单位:个 | true | - |
numOfMan | int32 | 男厕位 单位:个 | true | - |
numOfWoman | int32 | 女厕位 单位:个 | true | - |
numOfCommon | int32 | 男女通用厕位 单位:个 | true | - |
itemNo | string | 项目编号 | false | - |
longitudeAndLatitude | string | 经纬度 经纬度之间使用,分割 | true | - |
status | string | 状态 1正常开放,2未开放 | false | - |
sort | int32 | 排序 | false | - |
thirdOpenFlag | string | 第三方对接标识 程序内部使用,不需要在管理系统展示 | false | - |
thirdOpenId | string | 第三方对接id 程序内部使用,不需要在管理系统展示 | false | - |
Request-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/toilet/save --data '{
"id": 433,
"name": "耀杰.段",
"addrDesc": "p820j4",
"level": "05qc3w",
"area": "3i9iwk",
"numOfBarrierFree": 895,
"numOfThird": 257,
"numOfMan": 829,
"numOfWoman": 833,
"numOfCommon": 709,
"itemNo": "sj4hnt",
"longitudeAndLatitude": "m1m4is",
"status": "h5fpax",
"sort": 326,
"thirdOpenFlag": "a605nn",
"thirdOpenId": "54"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "sv04dl"
}22.5. 修改厕所
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 修改厕所
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id | false | - |
name | string | 厕所名称 | true | - |
addrDesc | string | 地址描述 | true | - |
level | string | 建设等级 | true | - |
area | string | 面积 单位:m² | true | - |
numOfBarrierFree | int32 | 无障碍厕位 单位:个 | true | - |
numOfThird | int32 | 第三卫生间 单位:个 | true | - |
numOfMan | int32 | 男厕位 单位:个 | true | - |
numOfWoman | int32 | 女厕位 单位:个 | true | - |
numOfCommon | int32 | 男女通用厕位 单位:个 | true | - |
itemNo | string | 项目编号 | false | - |
longitudeAndLatitude | string | 经纬度 经纬度之间使用,分割 | true | - |
status | string | 状态 1正常开放,2未开放 | false | - |
sort | int32 | 排序 | false | - |
thirdOpenFlag | string | 第三方对接标识 程序内部使用,不需要在管理系统展示 | false | - |
thirdOpenId | string | 第三方对接id 程序内部使用,不需要在管理系统展示 | false | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/toilet/update --data '{
"id": 41,
"name": "耀杰.段",
"addrDesc": "iashhm",
"level": "pa9ggo",
"area": "n3yph2",
"numOfBarrierFree": 156,
"numOfThird": 527,
"numOfMan": 658,
"numOfWoman": 412,
"numOfCommon": 656,
"itemNo": "hgd9rz",
"longitudeAndLatitude": "auek36",
"status": "ovxcz3",
"sort": 740,
"thirdOpenFlag": "mqwbg7",
"thirdOpenId": "54"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "ztl6cc"
}22.6. 删除厕所
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 删除厕所
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/toilet/delete --data '[
633,
576
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "s7lbsd"
}22.7. 厕所实时数据
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 厕所实时数据
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
toiletId | int64 | 厕所id | true | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/toilet/realData/280Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | string | 厕所id | - |
└─name | string | 厕所名称 | - |
└─itemNo | string | 项目编号 | - |
└─dataOfMan | object | 男厕数据 | - |
└─numOfFree | int32 | 厕位空闲数量 | - |
└─numOfTotal | int32 | 厕位总数量 | - |
└─intoNum | int32 | 进流量 | - |
└─outNum | int32 | 出流量 | - |
└─holderNum | int32 | 驻留人数 | - |
└─dataOfWoman | object | 女厕数据 | - |
└─numOfFree | int32 | 厕位空闲数量 | - |
└─numOfTotal | int32 | 厕位总数量 | - |
└─intoNum | int32 | 进流量 | - |
└─outNum | int32 | 出流量 | - |
└─holderNum | int32 | 驻留人数 | - |
└─dataOfThird | object | 无障碍厕所数据 | - |
└─numOfFree | int32 | 厕位空闲数量 | - |
└─numOfTotal | int32 | 厕位总数量 | - |
└─intoNum | int32 | 进流量 | - |
└─outNum | int32 | 出流量 | - |
└─holderNum | int32 | 驻留人数 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": "54",
"name": "耀杰.段",
"itemNo": "86lm6o",
"dataOfMan": {
"numOfFree": 634,
"numOfTotal": 99,
"intoNum": 127,
"outNum": 519,
"holderNum": 692
},
"dataOfWoman": {
"numOfFree": 89,
"numOfTotal": 713,
"intoNum": 755,
"outNum": 938,
"holderNum": 412
},
"dataOfThird": {
"numOfFree": 224,
"numOfTotal": 484,
"intoNum": 12,
"outNum": 120,
"holderNum": 164
}
}
}23. 冒烟警告记录
23.1. 冒烟警告记录列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 冒烟警告记录列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
startTime | string | 查询开始时间 yyyy-MM-dd HH:mm:ss | false | - |
endTime | string | 查询结束时间 yyyy-MM-dd HH:mm:ss | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/warningOfSmokeRecord/list?pageSize=10&order=9cb9u4&endTime=2024-05-21 15:25:58&startTime=2024-05-21 15:25:58&orderField=k1m207&curPage=1Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id | - |
└─publishTime | string | 发现时间 | - |
└─place | string | 发生地点 | - |
└─images | string | 现场图片 | - |
└─handleStatus | string | 处理状态 1未处理、2已处理 | - |
└─handleDesc | string | 处理描述 | - |
└─pushRecords | array | 推送记录 | - |
└─id | int64 | id | - |
└─warningOfSmokeRecordId | int64 | 冒烟警告记录 | - |
└─dutyName | string | 推送负责人名称 | - |
└─dutyPhone | string | 推送负责人电话 | - |
└─dutyDept | string | 推送负责人单位 | - |
└─pushStatus | string | 推送状态 1推送成功、2推送失败 | - |
└─pushStatusRes | string | 推送状态描述 | - |
└─pushTime | string | 推送时间 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 352,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 618,
"publishTime": "2024-05-21 15:25:59",
"place": "diy5rq",
"images": "9kixbm",
"handleStatus": "yqdmwp",
"handleDesc": "pfhc40",
"pushRecords": [
{
"id": 937,
"warningOfSmokeRecordId": 326,
"dutyName": "耀杰.段",
"dutyPhone": "17165399591",
"dutyDept": "5342c0",
"pushStatus": "qvbqy3",
"pushStatusRes": "4y9ikf",
"pushTime": "2024-05-21 15:25:59"
}
]
}
]
}
}23.2. 冒烟警告记录详细信息
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 冒烟警告记录详细信息
Path-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | No comments found. | true | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/warningOfSmokeRecord/infoDetail/35Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─recordInfo | object | 警告记录信息 | - |
└─id | int64 | id | - |
└─publishTime | string | 发现时间 | - |
└─place | string | 发生地点 | - |
└─images | string | 现场图片 | - |
└─handleStatus | string | 处理状态 1未处理、2已处理 | - |
└─handleDesc | string | 处理描述 | - |
└─pushRecords | array | 推送记录 | - |
└─id | int64 | id | - |
└─warningOfSmokeRecordId | int64 | 冒烟警告记录 | - |
└─dutyName | string | 推送负责人名称 | - |
└─dutyPhone | string | 推送负责人电话 | - |
└─dutyDept | string | 推送负责人单位 | - |
└─pushStatus | string | 推送状态 1推送成功、2推送失败 | - |
└─pushStatusRes | string | 推送状态描述 | - |
└─pushTime | string | 推送时间 | - |
└─pushRecords | array | 警告记录推送记录 | - |
└─id | int64 | id | - |
└─warningOfSmokeRecordId | int64 | 冒烟警告记录 | - |
└─dutyName | string | 推送负责人名称 | - |
└─dutyPhone | string | 推送负责人电话 | - |
└─dutyDept | string | 推送负责人单位 | - |
└─pushStatus | string | 推送状态 1推送成功、2推送失败 | - |
└─pushStatusRes | string | 推送状态描述 | - |
└─pushTime | string | 推送时间 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"recordInfo": {
"id": 810,
"publishTime": "2024-05-21 15:25:59",
"place": "e8spij",
"images": "erccm3",
"handleStatus": "a62hn2",
"handleDesc": "kf87yn",
"pushRecords": [
{
"id": 704,
"warningOfSmokeRecordId": 720,
"dutyName": "耀杰.段",
"dutyPhone": "17165399591",
"dutyDept": "3x55p2",
"pushStatus": "kykag9",
"pushStatusRes": "19bzox",
"pushTime": "2024-05-21 15:25:59"
}
]
},
"pushRecords": [
{
"id": 403,
"warningOfSmokeRecordId": 893,
"dutyName": "耀杰.段",
"dutyPhone": "17165399591",
"dutyDept": "sje8k5",
"pushStatus": "ksz30c",
"pushStatusRes": "ivjnuc",
"pushTime": "2024-05-21 15:25:59"
}
]
}
}23.3. 冒烟警告记录删除
Type: DELETE
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 冒烟警告记录删除
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
ids | array | 警告记录id集合,[array of int64] | false |
Request-example:
curl -X DELETE -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/warningOfSmokeRecord/delete --data '[
549,
99
]'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "ucvjaj"
}23.4. 冒烟警告记录处理
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 冒烟警告记录处理
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
warningId | int64 | 警告id | false | - |
handleDesc | string | 处理意见描述 | false | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/warningOfSmokeRecord/handle --data '{
"warningId": 559,
"handleDesc": "uzdgjf"
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "iak12q"
}23.5. 推送设置
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 推送设置
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/warningOfSmokeRecord/setting/infoResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─id | int64 | id,新增时不用传 | - |
└─pushFrequency | int32 | 推送频率 单位:秒 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"id": 768,
"pushFrequency": 806
}
}23.6. 推送设置修改
Type: PUT
Author: codingliang
Content-Type: application/json; charset=utf-8
Description: 推送设置修改
Body-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
id | int64 | id,新增时不用传 | false | - |
pushFrequency | int32 | 推送频率 单位:秒 | true | - |
Request-example:
curl -X PUT -H 'Content-Type: application/json; charset=utf-8' -i http://192.168.161.230:8089/disease-command/warningOfSmokeRecord/setting/update --data '{
"id": 352,
"pushFrequency": 812
}'Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "uyqded"
}24. 微信公众文章
24.1. 同步文章
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 从微信服务器同步文章,受微信接口限制,该接口半个小时内只能调用一次
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/wechatArticle/syncArticleResponse-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": "uuyvrh"
}24.2. 文章列表
Type: GET
Author: codingliang
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Description: 文章列表
Query-parameters:
| Parameter | Type | Description | Required | Since |
|---|---|---|---|---|
curPage | int32 | 当前页,默认1 | false | - |
pageSize | int32 | 每页大小,默认10 | false | - |
orderField | string | 排序字段,可选择值参考返回结果 | false | - |
order | string | 排序方式,可选值:asc、desc | false | - |
startTime | string | 查询开始时间 yyyy-MM-dd HH:mm:ss | false | - |
endTime | string | 查询结束时间 yyyy-MM-dd HH:mm:ss | false | - |
Request-example:
curl -X GET -i http://192.168.161.230:8089/disease-command/wechatArticle/list?orderField=lu35mg&endTime=2024-05-21 15:25:59&order=g3pe7g&pageSize=10&startTime=2024-05-21 15:25:59&curPage=1Response-fields:
| Field | Type | Description | Since |
|---|---|---|---|
success | boolean | 接口调用结果标识 | - |
message | string | 接口调用结果信息 | - |
code | string | 接口调用业务码 | - |
data | object | 接口调用返回数据 | - |
└─totalCount | int32 | 总记录数 | - |
└─pageSize | int32 | 每页记录数 | - |
└─totalPage | int32 | 总页数 | - |
└─currPage | int32 | 当前页数 | - |
└─list | array | 列表数据 | - |
└─id | int64 | id | - |
└─articleId | string | 图文id 微信图文id,微信中一个图文下可能会有多个文章 | - |
└─newsTitle | string | 文章标题 | - |
└─newsAuthor | string | 文章作者 | - |
└─newsDigest | string | 文章摘要 | - |
└─newsContent | string | 文章内容 | - |
└─newsSourceUrl | string | 文章来源url | - |
└─newsUrl | string | 文章url | - |
└─newsThumbUrl | string | 缩略图 | - |
└─newsCreateTime | string | 文章创建时间 | - |
└─newsUpdateTime | string | 文章修改时间 | - |
Response-example:
{
"success": true,
"message": "success",
"code": "80705",
"data": {
"totalCount": 924,
"pageSize": 10,
"totalPage": 1,
"currPage": 1,
"list": [
{
"id": 472,
"articleId": "54",
"newsTitle": "ue5s2o",
"newsAuthor": "萧苑博",
"newsDigest": "j5hyf4",
"newsContent": "bxu28c",
"newsSourceUrl": "www.xn---xn--5ft-c24oq615c.org",
"newsUrl": "www.xn---xn--5ft-c24oq615c.org",
"newsThumbUrl": "www.xn---xn--5ft-c24oq615c.org",
"newsCreateTime": "2024-05-21 15:25:59",
"newsUpdateTime": "2024-05-21 15:25:59"
}
]
}
}25. 错误码列表
| Error code | Description |
|---|---|
10000 | 系统未知异常 |
10001 | 请求方法不支持 |
10002 | 缺少必要的请求头 |
10003 | 无效的token |
10004 | token为空 |
10005 | 管理员登录失败 |
10006 | 权限不足 |
11001 | 参数格式校验失败 |
11002 | body为空 |
11003 | 参数异常 |
11004 | 微信token获取失败 |
11005 | 获取微信文章列表失败 |
11006 | 解析微信公众图文失败 |
11007 | 第三方服务调用失败 |
16000 | 数据已存在 |
16000 | 数据不存在 |
16006 | 临时文件不存在 |
16007 | 文件上传失败 |
16008 | 文件太大 |