文档
测试

查询工作通知

GET
/api/v1/facade/message/pc/work

请求参数

参数名
类型
描述
必填
pageNum
int
当前页码
可选
pageSize
int
每页显示条数
可选
source
string
上个接口返回的消息来源的英文名
可选
readed
Integer
消息状态 1已读 0未读 不传的时候为全查
可选
startTime
string
2020-06-18 00:00:00
可选
endTime
string
2020-06-24 23:59:59
可选

响应参数

参数名
类型
描述
必填
status
int
示例:0
必填
message
string
示例:查询成功
必填
data
object
数据字典
必填
pageNum
int
示例:1
必填
pageSize
int
示例:20
必填
size
int
示例:1
必填
orderBy
string
示例:readed asc, createTime desc
必填
startRow
int
示例:1
必填
endRow
int
示例:1
必填
total
int
示例:1
必填
pages
int
示例:1
必填
list
array
数据列表
必填
id
string
示例:180824
必填
tenantId
string
示例:7416b42a-25cc-11e7-a500-00163e12f748
必填
userId
string
示例:99d5f2b0-b518-11ea-b0e9-00163e304a25
必填
source
string
示例:authority
必填
pcUrl
object
示例:null
必填
peUrl
object
示例:null
必填
primaryId
string
示例:7416b42a-25cc-11e7-a500-00163e12f748
必填
readed
int
示例:1
必填
body
object
数据字典
必填
title
string
示例:权限分配通知
必填
content
string
示例:您已被【洪一帆】设置为【系统管理员】,请登录售后宝查看。
必填
forms
object
示例:null
必填
templateId
string
示例:bc224882-c2aa-46fa-9c53-d4ba98a1615b
必填
createTime
int
示例:1592910528000
必填
tag
string
示例:RoleAppend
必填
isDelete
int
示例:0
必填
firstPage
int
示例:1
必填
prePage
int
示例:0
必填
nextPage
int
示例:0
必填
lastPage
int
示例:1
必填
isFirstPage
boolean
示例:true
必填
isLastPage
boolean
示例:true
必填
hasPreviousPage
boolean
示例:false
必填
hasNextPage
boolean
示例:false
必填
navigatePages
int
示例:8
必填
navigatepageNums
array
数据列表
必填
succ
boolean
示例:true
必填

说明 / 示例

{ "status": 0, "message": "查询成功", "data": { "pageNum": 1, "pageSize": 20, "size": 1, "orderBy": "readed asc, createTime desc", "startRow": 1, "endRow": 1, "total": 1, "pages": 1, "list": [ { "id": "180824", "tenantId": "7416b42a-25cc-11e7-a500-00163e12f748", "userId": "99d5f2b0-b518-11ea-b0e9-00163e304a25", "source": "authority", "pcUrl": null, "peUrl": null, "primaryId": "7416b42a-25cc-11e7-a500-00163e12f748", "readed": 1, "body": { "title": "权限分配通知", "content": "您已被【洪一帆】设置为【系统管理员】,请登录售后宝查看。", "forms": null }, "templateId": "bc224882-c2aa-46fa-9c53-d4ba98a1615b", "createTime": 1592910528000, "tag": "RoleAppend", "isDelete": 0 } ], "firstPage": 1, "prePage": 0, "nextPage": 0, "lastPage": 1, "isFirstPage": true, "isLastPage": true, "hasPreviousPage": false, "hasNextPage": false, "navigatePages": 8, "navigatepageNums": [ 1 ] }, "succ": true }