VersionUpdate TimeStatusAuthorDescription

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:

ParameterTypeDescriptionRequiredSince

userName

string

用户名

true

-

password

string

密码

true

-

Request-example:

curl -X POST -i http://192.168.161.230:8089/disease-command/adminInfo/login --data 'password=1fv8vj&userName=鹤轩.严'

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "userName": "鹤轩.严",
    "userType": "xx4aar",
    "token": "wzsx7w",
    "expireTime": 1653357882802
  }
}

1.2. 管理员列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 管理员列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?order=89ht1u&orderField=y6kofx&pageSize=10&curPage=1

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 840,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 167,
        "userName": "鹤轩.严",
        "adminType": "u6gy1y",
        "status": "qbytw3"
      }
    ]
  }
}

1.3. 新增管理员

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 只有超级管理员才可以新增管理员

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 983,
  "userName": "鹤轩.严",
  "password": "u1sleu",
  "adminType": "6oqwy2",
  "status": "fevpy5"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "rwqqqd"
}

1.4. 修改管理员

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 只有超级管理员才可以修改管理员

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 574,
  "userName": "鹤轩.严",
  "password": "63gj9w",
  "adminType": "5ce70b",
  "status": "f52w7e"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "hjxz9v"
}

1.5. 删除管理员

Type: DELETE

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 只有超级管理员才可以删除管理员

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Path-parameters:

ParameterTypeDescriptionRequiredSince

id

int64

管理员id

true

-

Request-example:

curl -X DELETE -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/adminInfo/delete/489

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "w9ajk1"
}

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/info

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "id": 416,
    "numOfDevice": 658,
    "rateOfInline": 252,
    "numOfBroadcasts": 654,
    "broadcastDuration": 615,
    "broadcastTime": "2022-05-24 10:04:42"
  }
}

2.2. 应急广播调度统计信息修改

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 应急广播调度统计信息修改

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 222,
  "numOfDevice": 280,
  "rateOfInline": 605,
  "numOfBroadcasts": 744,
  "broadcastDuration": 526,
  "broadcastTime": "2022-05-24 10:04:42"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "buklur"
}

2.3. 新增播发信息

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增播发信息

Body-parameters:

ParameterTypeDescriptionRequiredSince

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

新增和修改时不需要传
附件显示地址Url,extraFileShowUrl 拼接 extraFile为资源访问完整路径

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": 967,
  "title": "ovm08i",
  "address": "卢旁78号, 苏州, 新 363202",
  "broadcastType": "65mp8d",
  "messageType": "aafagk",
  "content": "lpildz",
  "playTime": "2022-05-24 10:04:43",
  "extraFile": "z64063",
  "extraFileShowUrl": "www.xn---xn--5i5a-zp6pz26t.name"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "pn6fhh"
}

2.4. 修改播发信息

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改播发信息

Body-parameters:

ParameterTypeDescriptionRequiredSince

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

新增和修改时不需要传
附件显示地址Url,extraFileShowUrl 拼接 extraFile为资源访问完整路径

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": 598,
  "title": "a773bo",
  "address": "卢旁78号, 苏州, 新 363202",
  "broadcastType": "basfrb",
  "messageType": "orl0vm",
  "content": "igy2sl",
  "playTime": "2022-05-24 10:04:43",
  "extraFile": "s1pxwk",
  "extraFileShowUrl": "www.xn---xn--5i5a-zp6pz26t.name"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "8d4lmt"
}

2.5. 播发记录

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 播发记录

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?title=lqs7lm&order=q8lty1&orderField=eh0apv&messageType=r7w3b0&curPage=1&broadcastType=kgghi7&pageSize=10

Response-fields:

FieldTypeDescriptionSince

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

新增和修改时不需要传
附件显示地址Url,extraFileShowUrl 拼接 extraFile为资源访问完整路径

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": {
    "numOfBroadcasts": 632,
    "broadcastDuration": 838,
    "recordPage": {
      "totalCount": 408,
      "pageSize": 10,
      "totalPage": 1,
      "currPage": 1,
      "list": [
        {
          "id": 266,
          "title": "xy9v8q",
          "address": "卢旁78号, 苏州, 新 363202",
          "broadcastType": "9vf00m",
          "messageType": "pv3oxt",
          "content": "7i178p",
          "playTime": "2022-05-24 10:04:43",
          "extraFile": "sdu6bi",
          "extraFileShowUrl": "www.xn---xn--5i5a-zp6pz26t.name"
        }
      ]
    }
  }
}

2.6. 删除播发记录

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除播发记录

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  91,
  239
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "tlff9j"
}

2.7. 播发详情

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 播发详情

Path-parameters:

ParameterTypeDescriptionRequiredSince

recordId

int64

No comments found.

true

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/broadcast/record/info/869

Response-fields:

FieldTypeDescriptionSince

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

新增和修改时不需要传
附件显示地址Url,extraFileShowUrl 拼接 extraFile为资源访问完整路径

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": {
    "id": 617,
    "title": "7nswb0",
    "address": "卢旁78号, 苏州, 新 363202",
    "broadcastType": "obr9fn",
    "messageType": "zbhoyz",
    "content": "ir578h",
    "playTime": "2022-05-24 10:04:43",
    "extraFile": "xilxia",
    "extraFileShowUrl": "www.xn---xn--5i5a-zp6pz26t.name"
  }
}

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/list

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 398,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 616,
        "categoryName": "鹤轩.严",
        "value": 681
      }
    ]
  }
}

3.2. 消费类别统计修改

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 消费类别统计修改

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 92,
  "categoryName": "鹤轩.严",
  "value": 107
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "jln3ys"
}

4. 检测统计

4.1. 检测列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 检测列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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=ngcvfi&orderField=n4f4yj&curPage=1&pageSize=10

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 197,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 672,
        "statisticsDate": "2022-05-24",
        "peopleType": "52ljue",
        "detectionCount": 71,
        "abnormalCount": 211,
        "updateTime": "2022-05-24 10:04:43"
      }
    ]
  }
}

4.2. 新增检测数据

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增检测数据

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 946,
  "statisticsDate": "2022-05-24",
  "peopleType": "gvj448",
  "detectionCount": 495,
  "abnormalCount": 956,
  "updateTime": "2022-05-24 10:04:43"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "0utw90"
}

4.3. 批量新增检测数据

Type: POST

Author: codingliang

Content-Type: multipart/form-data

Description: 使用指定的模板上传

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Path-parameters:

ParameterTypeDescriptionRequiredSince

dateStr

string

日期 yyyy-MM-dd

true

-

Query-parameters:

ParameterTypeDescriptionRequiredSince

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/7uyq97

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "e9blg3"
}

4.4. 修改检测数据

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改检测数据

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 966,
  "statisticsDate": "2022-05-24",
  "peopleType": "9r9eum",
  "detectionCount": 566,
  "abnormalCount": 518,
  "updateTime": "2022-05-24 10:04:43"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "ya1rh3"
}

4.5. 删除检测数据

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除检测数据

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  557,
  313
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "vpsyyu"
}

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/infoOfLast

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "detectionCountOfLast": 179,
    "abnormalCountOfLast": 435,
    "detectionCountOfYear": 737,
    "abnormalCountOfYear": 219,
    "dataUpdateTime": "2022-05-24 10:04:43"
  }
}

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/infoOfLastDetail

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": [
    {
      "id": 511,
      "statisticsDate": "2022-05-24",
      "peopleType": "x1aiyw",
      "detectionCount": 784,
      "abnormalCount": 584,
      "updateTime": "2022-05-24 10:04:43"
    }
  ]
}

5. 值班安排

5.1. 当天值班安排列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 本接口用于客户端展示当天值班人员的安排

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?order=t5ff0t&pageSize=10&orderField=tq5vso&curPage=1

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 755,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 294,
        "dutyName": "鹤轩.严",
        "dutyPhone": "15651673363",
        "dutyDept": "z9iao6",
        "todayWork": "gbym4g",
        "sort": 517
      }
    ]
  }
}

5.2. 值班安排列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 值班安排列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

todayWork

string

1查当天值班、2查明天值班、不填查所有

false

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/dutyArrangement/listOfGroup?todayWork=s78e23

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": [
    {
      "groupName": "鹤轩.严",
      "list": [
        {
          "id": 642,
          "dutyName": "鹤轩.严",
          "dutyPhone": "15651673363",
          "dutyDept": "hy9509",
          "todayWork": "i5eyg1",
          "sort": 493
        }
      ]
    }
  ]
}

5.3. 新增值班安排

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增值班安排

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 100,
  "dutyName": "鹤轩.严",
  "dutyPhone": "15651673363",
  "dutyDept": "ouq3im",
  "todayWork": "uw679l",
  "sort": 893
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "h9w06d"
}

5.4. 修改值班安排

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改值班安排

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 391,
  "dutyName": "鹤轩.严",
  "dutyPhone": "15651673363",
  "dutyDept": "uublmw",
  "todayWork": "gw5fku",
  "sort": 689
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "u05l4o"
}

5.5. 删除值班安排

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除值班安排

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  21,
  706
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "4m730t"
}

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/list

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": [
    {
      "dayOfWeek": 353,
      "dutyArrangements": [
        {
          "dutyLevel": "vqpu85",
          "leaders": [
            {
              "id": 470,
              "dutyName": "鹤轩.严",
              "leaderName": "鹤轩.严",
              "leaderPhone": "15651673363"
            }
          ]
        }
      ]
    }
  ]
}

6.2. 新增值班安排(单独新增)

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增值班安排(单独新增)

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 860,
  "dayOfWeek": "w928wa",
  "dutyLevel": "6z59br",
  "dutyName": "鹤轩.严",
  "leaderName": "鹤轩.严",
  "leaderPhone": "15651673363"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "v47nib"
}

6.3. 新增值班安排(模板批量导入)

Type: POST

Author: codingliang

Content-Type: multipart/form-data

Description: 使用指定模板文件上传

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Query-parameters:

ParameterTypeDescriptionRequiredSince

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/saveByExcel

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "rnniv6"
}

6.4. 修改值班安排

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改值班安排

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 589,
  "dayOfWeek": "iduqd0",
  "dutyLevel": "sje538",
  "dutyName": "鹤轩.严",
  "leaderName": "鹤轩.严",
  "leaderPhone": "15651673363"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "jy5lvn"
}

6.5. 删除值班安排

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除值班安排

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  61,
  489
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "b9wppp"
}

6.6. 根据星期获取值班安排表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 本接口用于大数据页面【疫情值守-当日值班表】模块数据获取

Query-parameters:

ParameterTypeDescriptionRequiredSince

dayOfWeek

int32

使用[1-7]分别代表周一到周日,如果不传,默认查询当天的值日安排

false

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/dutyArrangementOfUrgent/dutyArrangementByDayOfWeek?dayOfWeek=252

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": [
    {
      "dutyLevel": "7xpv3n",
      "leaders": [
        {
          "id": 627,
          "dutyName": "鹤轩.严",
          "leaderName": "鹤轩.严",
          "leaderPhone": "15651673363"
        }
      ]
    }
  ]
}

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/info

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "id": 912,
    "numOfPutOutTheFire": 465,
    "numOfTransfer": 20,
    "numOfCure": 518,
    "numOfImportantTarget": 63,
    "numOfPublicSecurity": 548,
    "numOfInfo": 657,
    "numOfAftermath": 985,
    "numOfFireClean": 738,
    "numOfSmoke": 435
  }
}

7.2. 应急处置信息修改

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 应急处置信息修改

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 274,
  "numOfPutOutTheFire": 750,
  "numOfTransfer": 468,
  "numOfCure": 340,
  "numOfImportantTarget": 387,
  "numOfPublicSecurity": 272,
  "numOfInfo": 929,
  "numOfAftermath": 663,
  "numOfFireClean": 153,
  "numOfSmoke": 961
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "sko0gy"
}

8. 防疫物资

8.1. 防疫物资列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 防疫物资列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?pageSize=10&order=slkor5&curPage=1&orderField=wzaed9

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 432,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 309,
        "type": "wcjwjm",
        "suppliesName": "鹤轩.严",
        "suppliesNum": 961,
        "suppliesRequireNum": 898
      }
    ]
  }
}

8.2. 新增防疫物资

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增防疫物资

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 322,
  "type": "516xdw",
  "suppliesName": "鹤轩.严",
  "suppliesNum": 6,
  "suppliesRequireNum": 517
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "5owh17"
}

8.3. 批量新增防疫物资

Type: POST

Author: codingliang

Content-Type: multipart/form-data

Description: 通过指定模板上传文件

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Query-parameters:

ParameterTypeDescriptionRequiredSince

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/saveByExcel

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "zhjovd"
}

8.4. 修改防疫物资

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改防疫物资

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 282,
  "type": "h1fmbp",
  "suppliesName": "鹤轩.严",
  "suppliesNum": 347,
  "suppliesRequireNum": 659
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "hfalkx"
}

8.5. 删除防疫物资

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除防疫物资

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  296,
  973
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "fa6cgo"
}

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/statistics

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

array

接口调用返回数据

-

└─typeName

string

物资种类名称

-

└─nums

int64

物资数量

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": [
    {
      "typeName": "鹤轩.严",
      "nums": 64
    }
  ]
}

8.7. 防控物资列表详情

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 用于大数据页面【应急储备-防疫物资-防疫物资详情】模块数据获取

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?orderField=5a7xau&order=q50kqa&curPage=1&pageSize=10

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "count": 707,
    "page": {
      "totalCount": 980,
      "pageSize": 10,
      "totalPage": 1,
      "currPage": 1,
      "list": [
        {
          "type": "0omhn2",
          "supplies": [
            {
              "suppliesName": "鹤轩.严",
              "suppliesNum": 2,
              "suppliesRequireNum": 983
            }
          ]
        }
      ]
    }
  }
}

9. 应急队伍

9.1. 应急队伍列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 

- 用于大数据页面【应急储备-应急队伍-队伍列表】模块数据获取;

- 用于管理端应急队伍列表。

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?pageSize=10&order=lbxfmg&curPage=1&orderField=q7f2t6

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 770,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 223,
        "teamName": "鹤轩.严",
        "dutyDesc": "g1kq9n",
        "teamNum": 453,
        "teamNumOfPeople": 20
      }
    ]
  }
}

9.2. 应急队伍成员列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 

- 用于大数据页面【应急储备-应急队伍-队伍列表-成员列表】模块数据获取;

- 用于管理端应急队伍成员列表。

Path-parameters:

ParameterTypeDescriptionRequiredSince

teamId

int64

队伍id

true

-

Query-parameters:

ParameterTypeDescriptionRequiredSince

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/783?order=0ej9zg&orderField=uppswy&curPage=1&pageSize=10&teamNickName=carie.glover

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 70,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 646,
        "teamId": 934,
        "teamNickname": "carie.glover",
        "memberName": "鹤轩.严",
        "dutyArea": "mkpijz",
        "dutyName": "鹤轩.严",
        "dutyDesc": "cdysge",
        "memberPhone": "15651673363"
      }
    ]
  }
}

9.3. 应急队伍成员列表V2

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 

- 可用于大数据页面【应急储备-应急队伍-队伍列表-成员列表】模块数据获取;

Path-parameters:

ParameterTypeDescriptionRequiredSince

teamId

int64

队伍id

true

-

Query-parameters:

ParameterTypeDescriptionRequiredSince

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/680/v2?curPage=1&pageSize=10&orderField=8hjs9c&order=dpttc3&teamNickName=carie.glover

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "teamNiceNames": [
      "ow30ci"
    ],
    "page": {
      "totalCount": 476,
      "pageSize": 10,
      "totalPage": 1,
      "currPage": 1,
      "list": [
        {
          "id": 960,
          "teamId": 139,
          "teamNickname": "carie.glover",
          "memberName": "鹤轩.严",
          "dutyArea": "gpvzy7",
          "dutyName": "鹤轩.严",
          "dutyDesc": "ys1823",
          "memberPhone": "15651673363"
        }
      ]
    }
  }
}

9.4. 新增应急队伍

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增应急队伍

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 320,
  "teamName": "鹤轩.严",
  "dutyDesc": "hlpfu1",
  "teamNum": 989,
  "teamNumOfPeople": 143
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "ibgan6"
}

9.5. 批量新增应急队伍

Type: POST

Author: codingliang

Content-Type: multipart/form-data

Description: 使用指定的模板文件上传

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Query-parameters:

ParameterTypeDescriptionRequiredSince

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/saveByExcel

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "ykf5cw"
}

9.6. 应急队伍修改

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 应急队伍修改

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 735,
  "teamName": "鹤轩.严",
  "dutyDesc": "l2lmr0",
  "teamNum": 267,
  "teamNumOfPeople": 401
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "csmc76"
}

9.7. 应急队伍删除

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 应急队伍删除

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  17,
  845
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "isvdjt"
}

9.8. 新增队伍成员

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增队伍成员

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 141,
  "teamId": 653,
  "teamNickname": "carie.glover",
  "memberName": "鹤轩.严",
  "dutyArea": "aqer3b",
  "dutyName": "鹤轩.严",
  "dutyDesc": "0f6vkv",
  "memberPhone": "15651673363"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "9b15ue"
}

9.9. 批量新增队伍成员

Type: POST

Author: codingliang

Content-Type: multipart/form-data

Description: 批量新增队伍成员

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Path-parameters:

ParameterTypeDescriptionRequiredSince

teamId

int64

队伍id

true

-

Query-parameters:

ParameterTypeDescriptionRequiredSince

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/209/saveByExcel

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "216yqr"
}

9.10. 修改队伍成员

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改队伍成员

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 13,
  "teamId": 28,
  "teamNickname": "carie.glover",
  "memberName": "鹤轩.严",
  "dutyArea": "bbom70",
  "dutyName": "鹤轩.严",
  "dutyDesc": "1f9d4x",
  "memberPhone": "15651673363"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "nf21n8"
}

9.11. 删除队伍队员

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除队伍队员

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  304,
  484
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "cifujq"
}

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/statistics

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

└─teamCount

int32

队伍数量 单位:队

-

└─peopleCount

int32

人数 单位:人

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": {
    "teamCount": 984,
    "peopleCount": 8
  }
}

10. 活动策划

10.1. 活动策划列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 活动策划列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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=imoskr&pageSize=10&startTime=2022-05-24 10:04:44&endTime=2022-05-24 10:04:44&order=bd7arj&curPage=1

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 297,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 331,
        "title": "k5b4t6",
        "startTime": "2022-05-24 10:04:44",
        "publishTime": "2022-05-24 10:04:44",
        "content": "1xsyxd"
      }
    ]
  }
}

10.2. 按月份分组活动策划列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 按月份分组活动策划列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?pageSize=10&curPage=1&startTime=2022-05-24 10:04:44&order=qh0tya&endTime=2022-05-24 10:04:44&orderField=tx73tr

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 162,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "month": "ekdctx",
        "plannings": [
          {
            "id": 254,
            "title": "gvphu8",
            "startTime": "2022-05-24 10:04:44",
            "publishTime": "2022-05-24 10:04:44",
            "content": "rdzx6z"
          }
        ]
      }
    ]
  }
}

10.3. 活动策划详情

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 活动策划详情

Path-parameters:

ParameterTypeDescriptionRequiredSince

id

int64

活动策划id

true

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/eventPlanning/info/13

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "id": 602,
    "title": "5dnlza",
    "startTime": "2022-05-24 10:04:44",
    "publishTime": "2022-05-24 10:04:44",
    "content": "fxnidh"
  }
}

10.4. 新增活动策划

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增活动策划

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 317,
  "title": "gn444s",
  "startTime": "2022-05-24 10:04:44",
  "publishTime": "2022-05-24 10:04:44",
  "content": "dglu0p"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "eq7zbr"
}

10.5. 活动策划修改

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 活动策划修改

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 536,
  "title": "k4e46q",
  "startTime": "2022-05-24 10:04:44",
  "publishTime": "2022-05-24 10:04:44",
  "content": "x0cf1b"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "p70hy3"
}

10.6. 删除活动策划

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除活动策划

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  713,
  622
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "zahk4a"
}

11. 活动策划月度总结

11.1. 月度总结列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 月度总结列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?curPage=1&orderField=frjprq&month=3b24e2&pageSize=10&order=n0jyjw

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 705,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 805,
        "title": "nw6ma9",
        "content": "9leolh",
        "images": "47d5c0",
        "month": "vssjza",
        "publishTime": "2022-05-24 10:04:44"
      }
    ]
  }
}

11.2. 月度总结详情【根据id查询】

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 月度总结详情【根据id查询】

Path-parameters:

ParameterTypeDescriptionRequiredSince

id

int64

月度总结详情

true

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/eventPlanningMonthSummary/info/523

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "id": 336,
    "title": "bss0pv",
    "content": "xxptkd",
    "images": "j8u7pk",
    "month": "zkynby",
    "publishTime": "2022-05-24 10:04:44"
  }
}

11.3. 月度总结详情【根据月份查询】

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 根据月份查询月度总结详情,日期格式yyyy-MM ,日期格式不正确不会返回正确的数据

Path-parameters:

ParameterTypeDescriptionRequiredSince

month

string

月份 格式:yyyy-MM

true

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/eventPlanningMonthSummary/zci52b/info

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "id": 606,
    "title": "m50i1g",
    "content": "izg881",
    "images": "qqh6cp",
    "month": "mwikah",
    "publishTime": "2022-05-24 10:04:44"
  }
}

11.4. 新增月度总结

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增月度总结

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 580,
  "title": "2952ki",
  "content": "7qarnw",
  "images": "6bn3rk",
  "month": "nwmjhc",
  "publishTime": "2022-05-24 10:04:44"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "5szkmo"
}

11.5. 修改月度总结

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改月度总结

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 17,
  "title": "2ejxgo",
  "content": "9dphjg",
  "images": "lea7yo",
  "month": "xpr7za",
  "publishTime": "2022-05-24 10:04:44"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "d4325z"
}

11.6. 删除月度总结

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除月度总结

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  319,
  7
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "27pptq"
}

12. 医院发热门诊统计

12.1. 发热门诊统计列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 发热门诊统计列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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&pageSize=10&order=mdubu3&orderField=oyndrf

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 91,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 719,
        "statisticsDate": "2022-05-24",
        "hospitalName": "鹤轩.严",
        "feverClinicCount": 112,
        "epidemicCount": 888,
        "updateTime": "2022-05-24 10:04:44"
      }
    ]
  }
}

12.2. 新增发热门诊统计数据

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增发热门诊统计数据

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 797,
      "statisticsDate": "2022-05-24",
      "hospitalName": "鹤轩.严",
      "feverClinicCount": 415,
      "epidemicCount": 920,
      "updateTime": "2022-05-24 10:04:44"
    }
  ]
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "gxf87w"
}

12.3. 批量新增发热门诊统计数据

Type: POST

Author: codingliang

Content-Type: multipart/form-data

Description: 使用指定模板上传数据

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Path-parameters:

ParameterTypeDescriptionRequiredSince

dateStr

string

统计日期 yyyy-MM-dd

true

-

Query-parameters:

ParameterTypeDescriptionRequiredSince

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/lzzyey

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "s8bg6k"
}

12.4. 发热门诊数据修改

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 发热门诊数据修改

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 256,
  "statisticsDate": "2022-05-24",
  "hospitalName": "鹤轩.严",
  "feverClinicCount": 687,
  "epidemicCount": 112,
  "updateTime": "2022-05-24 10:04:44"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "xmarjj"
}

12.5. 删除发热门诊数据

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除发热门诊数据

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  993,
  53
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "49u6fj"
}

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/lastData

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": [
    {
      "id": 243,
      "statisticsDate": "2022-05-24",
      "hospitalName": "鹤轩.严",
      "feverClinicCount": 887,
      "epidemicCount": 437,
      "updateTime": "2022-05-24 10:04:44"
    }
  ]
}

13. 文件上传服务

13.1. 文件上传

Type: POST

Author: codingliang

Content-Type: multipart/form-data

Description: 文件上传

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Query-parameters:

ParameterTypeDescriptionRequiredSince

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/imageUpload

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

└─imageName

string

图片名称

-

└─showUrl

string

文件浏览路径

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": {
    "imageName": "鹤轩.严",
    "showUrl": "www.xn---xn--5i5a-zp6pz26t.name"
  }
}

13.2. 删除已经上传的文件

Type: DELETE

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 删除已经上传的文件

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Path-parameters:

ParameterTypeDescriptionRequiredSince

imageName

string

文件名称

true

-

Request-example:

curl -X DELETE -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/file/delete/鹤轩.严

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "lckjev"
}

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/last

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

└─Id

int64

id

-

└─level

string

等级 1-4分别代表预警Ⅰ到Ⅳ级

-

└─updateTime

string

更新时间

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": {
    "Id": 652,
    "level": "qizd2f",
    "updateTime": "2022-05-24 10:04:44"
  }
}

14.2. 历史防火等级列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 历史防火等级列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?orderField=kn8pp0&order=am4e6k&pageSize=10&curPage=1

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 876,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "Id": 79,
        "level": "1m7wfs",
        "updateTime": "2022-05-24 10:04:44"
      }
    ]
  }
}

14.3. 修改防火等级

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改防火等级

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 377,
  "level": "gcbr54",
  "updateTime": "2022-05-24 10:04:44"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "ipdku6"
}

14.4. 更新当天的防火等级

Type: PUT

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 如果数据库中没有最新防火等级记录,或者记录是1小时之前的,则会重新查询当前天气状况后查询更新当前防火记录

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Request-example:

curl -X PUT -H 'Admin-Token' -i http://192.168.161.230:8089/disease-command/fireRating/updateTodayFireRating

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "pv9ila"
}

15. 隔离场所

15.1. 隔离场所列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 

-用于大数据页面【应急储备-隔离场所-隔离场所列表】模块数据获取;

- 用于管理端隔离参数列表。

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?pageSize=10&curPage=1&orderField=ip12pa&order=qyg70p

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 300,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 474,
        "placeName": "鹤轩.严",
        "placeAddrDesc": "sg3yd0",
        "inUse": "runpsk",
        "currentIsolatedNums": 937,
        "roomNums": 2,
        "roomNumsOfUsed": 479,
        "responsiblerName": "鹤轩.严",
        "responsiblerPhone": "15651673363",
        "placePlan": "otnviq",
        "placeImgName": "鹤轩.严"
      }
    ]
  }
}

15.2. 新增隔离场所

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增隔离场所

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 273,
  "placeName": "鹤轩.严",
  "placeAddrDesc": "if07lo",
  "inUse": "19c1uh",
  "currentIsolatedNums": 731,
  "roomNums": 234,
  "roomNumsOfUsed": 368,
  "responsiblerName": "鹤轩.严",
  "responsiblerPhone": "15651673363",
  "placePlan": "3qvvkg",
  "placeImgName": "鹤轩.严"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "qcvfil"
}

15.3. 批量新增隔离场所

Type: POST

Author: codingliang

Content-Type: multipart/form-data

Description: 使用规定的模板文件上传

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Query-parameters:

ParameterTypeDescriptionRequiredSince

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/saveByExcel

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "ud5lir"
}

15.4. 修改隔离场所

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改隔离场所

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 10,
  "placeName": "鹤轩.严",
  "placeAddrDesc": "clnvow",
  "inUse": "ajh1gg",
  "currentIsolatedNums": 224,
  "roomNums": 0,
  "roomNumsOfUsed": 422,
  "responsiblerName": "鹤轩.严",
  "responsiblerPhone": "15651673363",
  "placePlan": "idmw83",
  "placeImgName": "鹤轩.严"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "plgxte"
}

15.5. 修改场地图片

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改场地图片

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Path-parameters:

ParameterTypeDescriptionRequiredSince

isolatedPlaceId

int64

场地id

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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/377/updateImages --data '[
  "b7cciw",
  "tn8jds"
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "33wtea"
}

15.6. 删除隔离场所

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除隔离场所

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  177,
  251
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "oytw3e"
}

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/statistics

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

└─placeNums

int32

场所总数量

-

└─roomNums

int32

房间总数量

-

└─placeUsedNums

int32

场所已使用数量

-

└─roomUsedNums

int32

房间已使用数量

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": {
    "placeNums": 864,
    "roomNums": 700,
    "placeUsedNums": 411,
    "roomUsedNums": 605
  }
}

16. 新闻聚焦

16.1. 新闻聚焦列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 新闻聚焦列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?startTime=2022-05-24 10:04:44&order=makixm&orderField=cdr7gw&endTime=2022-05-24 10:04:44&pageSize=10&curPage=1

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 442,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 948,
        "title": "ekmav0",
        "publishTime": "2022-05-24 10:04:45",
        "source": "c5v6qh",
        "content": "z6yyx3",
        "image": "bfehdg",
        "imageName": "鹤轩.严"
      }
    ]
  }
}

16.2. 新闻聚焦详细信息

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 新闻聚焦详细信息

Path-parameters:

ParameterTypeDescriptionRequiredSince

id

int64

新闻id

true

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/newsFocus/info/269

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "id": 493,
    "title": "u3phnl",
    "publishTime": "2022-05-24 10:04:45",
    "source": "dkukao",
    "content": "8yn23d",
    "image": "558q49",
    "imageName": "鹤轩.严"
  }
}

16.3. 新增新闻聚焦

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增新闻聚焦

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 891,
  "title": "mm7sj2",
  "publishTime": "2022-05-24 10:04:45",
  "source": "29792u",
  "content": "ec4fyk",
  "image": "zwmv3n",
  "imageName": "鹤轩.严"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "h0sizt"
}

16.4. 新闻聚焦修改

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新闻聚焦修改

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 763,
  "title": "no2t8k",
  "publishTime": "2022-05-24 10:04:45",
  "source": "uq1t1a",
  "content": "hcuxqi",
  "image": "bqlg5a",
  "imageName": "鹤轩.严"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "sjskuj"
}

16.5. 删除新闻聚焦

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除新闻聚焦

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  154,
  474
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "qe900k"
}

17. 停车场信息

17.1. 停车场列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 停车场列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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&curPage=1&orderField=n54fa9&order=8f9e0q&keyword=r073yh

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 302,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 972,
        "name": "鹤轩.严",
        "addrDesc": "igjsa2",
        "openTime": "2022-05-24 10:04:42",
        "capacity": 583,
        "longitudeAndLatitude": "qouf7v",
        "status": "j3379q",
        "sort": 789,
        "thirdOpenFlag": "m0eqad",
        "thirdOpenId": "104"
      }
    ]
  }
}

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/listMini

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": [
    {
      "id": 630,
      "name": "鹤轩.严",
      "longitudeAndLatitude": "92xwu1",
      "flag": "hkhc6d"
    }
  ]
}

17.3. 停车场详情

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 停车场详情

Path-parameters:

ParameterTypeDescriptionRequiredSince

id

int64

No comments found.

true

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/parking/info/957

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "id": 490,
    "name": "鹤轩.严",
    "addrDesc": "n7dqvt",
    "openTime": "2022-05-24 10:04:42",
    "capacity": 64,
    "longitudeAndLatitude": "gc0d7g",
    "status": "k4k0fh",
    "sort": 924,
    "thirdOpenFlag": "3tv2hb",
    "thirdOpenId": "104"
  }
}

17.4. 新增停车场

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增停车场

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 41,
  "name": "鹤轩.严",
  "addrDesc": "l0h9op",
  "openTime": "2022-05-24 10:04:42",
  "capacity": 746,
  "longitudeAndLatitude": "2ki93y",
  "status": "vu9eea",
  "sort": 329,
  "thirdOpenFlag": "l0lkzd",
  "thirdOpenId": "104"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "3qeoyw"
}

17.5. 修改停车场

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改停车场

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 645,
  "name": "鹤轩.严",
  "addrDesc": "ugfdsl",
  "openTime": "2022-05-24 10:04:42",
  "capacity": 434,
  "longitudeAndLatitude": "abjuza",
  "status": "gl6rpb",
  "sort": 103,
  "thirdOpenFlag": "q7b43q",
  "thirdOpenId": "104"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "pjn1jj"
}

17.6. 删除停车场

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除停车场

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  585,
  312
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "r04vb7"
}

17.7. 停车场实时数据

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 停车场实时数据

Path-parameters:

ParameterTypeDescriptionRequiredSince

parkingId

int64

停车场id

true

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/parking/realData/143

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "id": 733,
    "name": "鹤轩.严",
    "openTime": "2022-05-24 10:04:42",
    "status": "p45izr",
    "numOfFree": 904,
    "numOfUsed": 676
  }
}

17.8. server02服务商停车场实时数据上传

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: server02服务商停车场使用本接口实时上传停车场数据,一次性上传[1-256]之内条数据,超出拒绝上传

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": "104",
    "name": "鹤轩.严",
    "address": "卢旁78号, 苏州, 新 363202",
    "total": 362,
    "remainder": 24,
    "lng": "80rfqy",
    "lat": "5nxypc",
    "status": true
  }
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "7dmkey"
}

18. 人和物检测统计

18.1. 人和物检测统计列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 人和物检测统计列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?curPage=1&pageSize=10&orderField=q2ktuh&order=pfi2kl

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 12,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 164,
        "statisticsDate": "2022-05-24",
        "typeName": "鹤轩.严",
        "slaughterCount": 961,
        "productionProcessingCount": 92,
        "storageTransportationCount": 518,
        "businessMarketingCount": 896,
        "detectionCount": 178,
        "abnormalCount": 992,
        "updateTime": "2022-05-24 10:04:45"
      }
    ]
  }
}

18.2. 新增人和物检测统计

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增人和物检测统计

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 152,
      "statisticsDate": "2022-05-24",
      "typeName": "鹤轩.严",
      "slaughterCount": 555,
      "productionProcessingCount": 33,
      "storageTransportationCount": 918,
      "businessMarketingCount": 613,
      "detectionCount": 162,
      "abnormalCount": 436,
      "updateTime": "2022-05-24 10:04:45"
    }
  ]
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "rgpdpe"
}

18.3. 批量新增人和物检测统计

Type: POST

Author: codingliang

Content-Type: multipart/form-data

Description: 使用指定模板文件上传

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Path-parameters:

ParameterTypeDescriptionRequiredSince

dateStr

string

统计日期 yyyy-MM-dd

true

-

Query-parameters:

ParameterTypeDescriptionRequiredSince

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/nryuis

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "2fgnaj"
}

18.4. 修改人和物检测统计数据

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改人和物检测统计数据

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 894,
  "statisticsDate": "2022-05-24",
  "typeName": "鹤轩.严",
  "slaughterCount": 14,
  "productionProcessingCount": 309,
  "storageTransportationCount": 847,
  "businessMarketingCount": 185,
  "detectionCount": 217,
  "abnormalCount": 133,
  "updateTime": "2022-05-24 10:04:45"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "06oaog"
}

18.5. 删除人和物检测统计数据

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除人和物检测统计数据

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  24,
  785
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "ncjfau"
}

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/lastData

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": [
    {
      "statisticsDate": "2022-05-24",
      "typeName": "鹤轩.严",
      "detectionCount": 607,
      "abnormalCount": 677,
      "updateTime": "2022-05-24 10:04:45"
    }
  ]
}

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/lastDataDetail

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": [
    {
      "id": 519,
      "statisticsDate": "2022-05-24",
      "typeName": "鹤轩.严",
      "slaughterCount": 411,
      "productionProcessingCount": 339,
      "storageTransportationCount": 736,
      "businessMarketingCount": 521,
      "detectionCount": 104,
      "abnormalCount": 387,
      "updateTime": "2022-05-24 10:04:45"
    }
  ]
}

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/list

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

array

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": [
    "z9of13",
    "0q1esd"
  ]
}

19.2. 设置列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 如果需要一次性把所有数据显示出来,可以把pageSize设置的足够大

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?curPage=1&order=m8ibyr&orderField=hsju8i&pageSize=10&townshipName=鹤轩.严

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 331,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 461,
        "scenicSpotName": "鹤轩.严",
        "township": "235.200.210.76",
        "maxCapacity": 998,
        "sort": 237
      }
    ]
  }
}

19.3. 设置详情

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 设置详情

Path-parameters:

ParameterTypeDescriptionRequiredSince

id

int64

No comments found.

true

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/scenicSpotMaxCapacitySetting/info/222

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "id": 301,
    "scenicSpotName": "鹤轩.严",
    "township": "235.200.210.76",
    "maxCapacity": 935,
    "sort": 444
  }
}

19.4. 新增设置

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增设置

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 627,
  "scenicSpotName": "鹤轩.严",
  "township": "235.200.210.76",
  "maxCapacity": 166,
  "sort": 690
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "yoh9re"
}

19.5. 修改设置

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改设置

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 707,
  "scenicSpotName": "鹤轩.严",
  "township": "235.200.210.76",
  "maxCapacity": 174,
  "sort": 38
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "la5w22"
}

19.6. 删除设置

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除设置

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  202,
  386
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "kloe6j"
}

20. 景区概览

20.1. 景区列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 景区列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?curPage=1&orderField=0s4uav&order=oz5zcx&pageSize=10

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 180,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 4,
        "scenicSpotName": "鹤轩.严",
        "scenicSpotDesc": "bvgrli",
        "responsibler": "s1ddsj",
        "responsiblerPhone": "15651673363",
        "numOfEmergencyCrew": 171,
        "numOfEmergencMaterial": 275,
        "image": "lxshju",
        "urlOfVr": "06cfja"
      }
    ]
  }
}

20.2. 景区信息(根据景区id查询)

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 景区信息(根据景区id查询)

Path-parameters:

ParameterTypeDescriptionRequiredSince

id

int64

No comments found.

true

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/scenicSpotOverview/info/id/57

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "id": 918,
    "scenicSpotName": "鹤轩.严",
    "scenicSpotDesc": "nj2cwq",
    "responsibler": "i0tk43",
    "responsiblerPhone": "15651673363",
    "numOfEmergencyCrew": 676,
    "numOfEmergencMaterial": 54,
    "image": "ng0o8g",
    "urlOfVr": "to0q7t"
  }
}

20.3. 景区信息(根据景区名称查询)

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 景区信息(根据景区名称查询)

Path-parameters:

ParameterTypeDescriptionRequiredSince

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:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "id": 464,
    "scenicSpotName": "鹤轩.严",
    "scenicSpotDesc": "pskdtv",
    "responsibler": "q0zhtj",
    "responsiblerPhone": "15651673363",
    "numOfEmergencyCrew": 663,
    "numOfEmergencMaterial": 711,
    "image": "6a2eho",
    "urlOfVr": "wyir90"
  }
}

20.4. 新增景区

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增景区

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 269,
  "scenicSpotName": "鹤轩.严",
  "scenicSpotDesc": "p29ir9",
  "responsibler": "lt4ysh",
  "responsiblerPhone": "15651673363",
  "numOfEmergencyCrew": 815,
  "numOfEmergencMaterial": 361,
  "image": "gzivl1",
  "urlOfVr": "0bkn9g"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "d81m3x"
}

20.5. 修改景区

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改景区

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 56,
  "scenicSpotName": "鹤轩.严",
  "scenicSpotDesc": "v6fc71",
  "responsibler": "bvnsqw",
  "responsiblerPhone": "15651673363",
  "numOfEmergencyCrew": 150,
  "numOfEmergencMaterial": 588,
  "image": "8pqqdk",
  "urlOfVr": "otbco4"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "tqyw9j"
}

20.6. 删除景区

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除景区

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  853,
  210
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "up8way"
}

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/list

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

array

接口调用返回数据

-

└─id

int64

id,新增时不用传

-

└─themeName

string

主题名称

-

└─enable

string

是否启用 1是,2否

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": [
    {
      "id": 525,
      "themeName": "鹤轩.严",
      "enable": "p7yeda"
    }
  ]
}

21.2. 新增疾控主题

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增疾控主题

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 348,
  "themeName": "鹤轩.严",
  "enable": "9kbdom"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "0xd7le"
}

21.3. 修改疾控主题

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改疾控主题

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 260,
  "themeName": "鹤轩.严",
  "enable": "2eascv"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "iw0tqn"
}

21.4. 删除疾控主题

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除疾控主题

Request-headers:

HeaderTypeDescriptionRequiredSince

Admin-Token

string

管理员token

true

-

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  78,
  750
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "o4p1l2"
}

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/currentItem

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

└─id

int64

id,新增时不用传

-

└─themeName

string

主题名称

-

└─enable

string

是否启用 1是,2否

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": {
    "id": 983,
    "themeName": "鹤轩.严",
    "enable": "xvmwak"
  }
}

22. 厕所基本数据

22.1. 厕所列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 本接口提供给管理端使用

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?orderField=ngt1mc&order=vy24cw&pageSize=10&keyword=bv0v3m&curPage=1

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 334,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 999,
        "name": "鹤轩.严",
        "addrDesc": "6hv4a4",
        "level": "p9v2gv",
        "area": "9mauw0",
        "numOfBarrierFree": 368,
        "numOfThird": 243,
        "numOfMan": 834,
        "numOfWoman": 612,
        "numOfCommon": 65,
        "itemNo": "rlsyai",
        "longitudeAndLatitude": "5wg2pf",
        "status": "rm98gn",
        "sort": 897,
        "thirdOpenFlag": "r1rfvl",
        "thirdOpenId": "104"
      }
    ]
  }
}

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/mini

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": [
    {
      "id": 327,
      "name": "鹤轩.严",
      "longitudeAndLatitude": "k747l6",
      "flag": "6e50ky"
    }
  ]
}

22.3. 厕所详情信息

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 厕所详情信息

Path-parameters:

ParameterTypeDescriptionRequiredSince

id

int64

id

true

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/toilet/info/337

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "id": 543,
    "name": "鹤轩.严",
    "addrDesc": "sud75c",
    "level": "90a9t6",
    "area": "9m38ie",
    "numOfBarrierFree": 524,
    "numOfThird": 801,
    "numOfMan": 458,
    "numOfWoman": 268,
    "numOfCommon": 608,
    "itemNo": "srcb47",
    "longitudeAndLatitude": "yg35g1",
    "status": "6kcwok",
    "sort": 565,
    "thirdOpenFlag": "thjdeu",
    "thirdOpenId": "104"
  }
}

22.4. 新增厕所

Type: POST

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 新增厕所

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 4,
  "name": "鹤轩.严",
  "addrDesc": "p5kc6m",
  "level": "c32fdx",
  "area": "a22b2c",
  "numOfBarrierFree": 976,
  "numOfThird": 539,
  "numOfMan": 914,
  "numOfWoman": 636,
  "numOfCommon": 634,
  "itemNo": "mmjm09",
  "longitudeAndLatitude": "hwrya3",
  "status": "5b5k7b",
  "sort": 871,
  "thirdOpenFlag": "nk9uhr",
  "thirdOpenId": "104"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "aeyczs"
}

22.5. 修改厕所

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 修改厕所

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 261,
  "name": "鹤轩.严",
  "addrDesc": "ed6khl",
  "level": "e945dl",
  "area": "g87iwe",
  "numOfBarrierFree": 656,
  "numOfThird": 20,
  "numOfMan": 563,
  "numOfWoman": 665,
  "numOfCommon": 934,
  "itemNo": "p4tugt",
  "longitudeAndLatitude": "4xn1aq",
  "status": "ct8o4y",
  "sort": 8,
  "thirdOpenFlag": "p06vyd",
  "thirdOpenId": "104"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "hihs51"
}

22.6. 删除厕所

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 删除厕所

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  39,
  46
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "zuzfdj"
}

22.7. 厕所实时数据

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 厕所实时数据

Path-parameters:

ParameterTypeDescriptionRequiredSince

toiletId

int64

厕所id

true

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/toilet/realData/474

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "id": "104",
    "name": "鹤轩.严",
    "itemNo": "4kti3x",
    "dataOfMan": {
      "numOfFree": 33,
      "numOfTotal": 132,
      "intoNum": 855,
      "outNum": 759,
      "holderNum": 99
    },
    "dataOfWoman": {
      "numOfFree": 260,
      "numOfTotal": 661,
      "intoNum": 170,
      "outNum": 987,
      "holderNum": 254
    },
    "dataOfThird": {
      "numOfFree": 678,
      "numOfTotal": 613,
      "intoNum": 580,
      "outNum": 830,
      "holderNum": 107
    }
  }
}

23. 冒烟警告记录

23.1. 冒烟警告记录列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 冒烟警告记录列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?order=7zliha&orderField=g3y339&curPage=1&pageSize=10&startTime=2022-05-24 10:04:45&endTime=2022-05-24 10:04:45

Response-fields:

FieldTypeDescriptionSince

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

现场图片

图片服务地址为:6.200.0.4:8878(只能正式环境内网访问)

-

     └─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": "17722",
  "data": {
    "totalCount": 918,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 214,
        "publishTime": "2022-05-24 10:04:45",
        "place": "wz1y9k",
        "images": "icpjos",
        "handleStatus": "r9v4uc",
        "handleDesc": "yrk2ng",
        "pushRecords": [
          {
            "id": 258,
            "warningOfSmokeRecordId": 812,
            "dutyName": "鹤轩.严",
            "dutyPhone": "15651673363",
            "dutyDept": "5wbeqd",
            "pushStatus": "xnzrrp",
            "pushStatusRes": "azqwe0",
            "pushTime": "2022-05-24 10:04:46"
          }
        ]
      }
    ]
  }
}

23.2. 冒烟警告记录详细信息

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 冒烟警告记录详细信息

Path-parameters:

ParameterTypeDescriptionRequiredSince

id

int64

No comments found.

true

-

Request-example:

curl -X GET -i http://192.168.161.230:8089/disease-command/warningOfSmokeRecord/infoDetail/552

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

└─recordInfo

object

警告记录信息

-

     └─id

int64

id

-

     └─publishTime

string

发现时间

-

     └─place

string

发生地点

-

     └─images

string

现场图片

图片服务地址为:6.200.0.4:8878(只能正式环境内网访问)

-

     └─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": "17722",
  "data": {
    "recordInfo": {
      "id": 48,
      "publishTime": "2022-05-24 10:04:46",
      "place": "5p6g05",
      "images": "q4yh0g",
      "handleStatus": "gj89h1",
      "handleDesc": "53wo4u",
      "pushRecords": [
        {
          "id": 45,
          "warningOfSmokeRecordId": 717,
          "dutyName": "鹤轩.严",
          "dutyPhone": "15651673363",
          "dutyDept": "7badjg",
          "pushStatus": "7vn5gz",
          "pushStatusRes": "ww8wtw",
          "pushTime": "2022-05-24 10:04:46"
        }
      ]
    },
    "pushRecords": [
      {
        "id": 645,
        "warningOfSmokeRecordId": 986,
        "dutyName": "鹤轩.严",
        "dutyPhone": "15651673363",
        "dutyDept": "ou8jcx",
        "pushStatus": "pamgxx",
        "pushStatusRes": "zyjh4q",
        "pushTime": "2022-05-24 10:04:46"
      }
    ]
  }
}

23.3. 冒烟警告记录删除

Type: DELETE

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 冒烟警告记录删除

Body-parameters:

ParameterTypeDescriptionRequiredSince

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 '[
  219,
  795
]'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "7ltoux"
}

23.4. 冒烟警告记录处理

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 冒烟警告记录处理

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 527,
  "handleDesc": "c13bdd"
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "jlah2x"
}

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/info

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

└─id

int64

id,新增时不用传

-

└─pushFrequency

int32

推送频率 单位:秒

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": {
    "id": 830,
    "pushFrequency": 107
  }
}

23.6. 推送设置修改

Type: PUT

Author: codingliang

Content-Type: application/json; charset=utf-8

Description: 推送设置修改

Body-parameters:

ParameterTypeDescriptionRequiredSince

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": 52,
  "pushFrequency": 354
}'

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "a9sl7y"
}

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/syncArticle

Response-fields:

FieldTypeDescriptionSince

success

boolean

接口调用结果标识

-

message

string

接口调用结果信息

-

code

string

接口调用业务码

-

data

object

接口调用返回数据

-

Response-example:

{
  "success": true,
  "message": "success",
  "code": "17722",
  "data": "gvpkg9"
}

24.2. 文章列表

Type: GET

Author: codingliang

Content-Type: application/x-www-form-urlencoded;charset=utf-8

Description: 文章列表

Query-parameters:

ParameterTypeDescriptionRequiredSince

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?startTime=2022-05-24 10:04:46&pageSize=10&order=i1x79p&endTime=2022-05-24 10:04:46&orderField=ws21mj&curPage=1

Response-fields:

FieldTypeDescriptionSince

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": "17722",
  "data": {
    "totalCount": 802,
    "pageSize": 10,
    "totalPage": 1,
    "currPage": 1,
    "list": [
      {
        "id": 679,
        "articleId": "104",
        "newsTitle": "ppfpzw",
        "newsAuthor": "陈泽洋",
        "newsDigest": "4wl0c3",
        "newsContent": "5lds1i",
        "newsSourceUrl": "www.xn---xn--5i5a-zp6pz26t.name",
        "newsUrl": "www.xn---xn--5i5a-zp6pz26t.name",
        "newsThumbUrl": "www.xn---xn--5i5a-zp6pz26t.name",
        "newsCreateTime": "2022-05-24 10:04:46",
        "newsUpdateTime": "2022-05-24 10:04:46"
      }
    ]
  }
}

25. 错误码列表

Error codeDescription

10000

系统未知异常

10001

请求方法不支持

10002

缺少必要的请求头

10003

无效的token

10004

token为空

10005

管理员登录失败

10006

权限不足

11001

参数格式校验失败

11002

body为空

11003

参数异常

11004

微信token获取失败

11005

获取微信文章列表失败

11006

解析微信公众图文失败

11007

第三方服务调用失败

16000

数据已存在

16000

数据不存在

16006

临时文件不存在

16007

文件上传失败

16008

文件太大