文档
测试

根据订单ID/查询ID获取消息状态统计

GET
http://192.168.8.213:9999/message/messageinfo/queryStatusBySelectId/{orderId}/{selectId}

接口描述

根据订单id/查询id获取消息状态的统计接口 如有selectId则一起统计

请求参数

参数名
类型
描述
必填
selectId
String
查询标识ID
可选
needDetail
string
类型1-需要详情,0-不需要详情
必填
eventTypes
string
统计的事件类型 用','隔开拼接
必填
orderId
String
订单标识ID
必填
startTime
String
起始时间
可选
endTime
String
终止时间
可选
msgStartTime
String
消息起始时间
可选
msgEndTime
String
消息终止时间
可选

响应参数

参数名
类型
描述
必填
code
Int
响应码
必填
msg
String
响应信息
必填
data
Object
响应数据
必填
messageId
String
为null
必填
count
Object
统计数据
必填
read
Int
已读数量
必填
pop
Int
弹出数量
必填
other
Int
其他事件数量
必填
list
Object
统计数据列表 该字段值在请求参数needDetail为1时返回
必填
is_read
Int
是否已读 0 未读 1 已读
必填
receive_taxid
String
接收方税号
必填
is_pop
Int
是否弹出 0 未弹 1 已弹
必填
receive_company_name
String
接收方公司名称
必填
taxid
String
发送方税号
必填
company_name
String
发送方公司名称
必填

请求示例

``` http://127.0.0.1:7001/messageinfo/queryStatusBySelectId/88886666/66668888 { "needDetail":"1", "eventTypes":"read,pop", "startTime":"2021-08-16 20:46:10", "endTime":"2021-08-20 15:33:11" } ```

响应示例

``` { "code": 0, "msg": "成功", "data": { "messageId": null, "count": { "pop": 2, "read": 2 }, "list": [ { "is_read": 0, "receive_taxid": "lbyd666", "is_pop": 1, "receive_company_name": "lbyd", "taxid": "zdy123", "company_name": "zdy" }, { "is_read": 1, "receive_taxid": "lbyd666", "is_pop": 0, "receive_company_name": "lbyd", "taxid": "zdy123", "company_name": "zdy" }, { "is_read": 1, "receive_taxid": "lbyd666", "is_pop": 0, "receive_company_name": "lbyd", "taxid": "zdy123", "company_name": "zdy" }, { "is_read": 0, "receive_taxid": "lbyd666", "is_pop": 1, "receive_company_name": "lbyd", "taxid": "zdy123", "company_name": "zdy" } ] } } ```