文档
测试

消息页顶部搜索接口

POST
/Mobile/msgList

接口描述

消息页面接口,包括通知、审批、im

请求参数

参数名
类型
描述
必填
keyword
string
搜索关键字
可选
type
string
消息类别:aud审批、notify通知、IM即时通讯, 不传则搜索全部
可选
index
可选
size
可选
token
string
token值
必填

成功

参数名
类型
描述
必填
code
string
必填
msg
string
必填
total
number
总记录条数
必填
data
array
数据内容
必填
type
string
消息类别:aud审批、notify通知、IM即时通讯、hum搜索用户、group群组
必填
count
number
同群组下,搜索到的记录数
必填
data
array
实际文件列表
必填
groupId
string
IM消息聊天组id | 人员id
必填
groupName
string
IM消息聊天组名称 | 人员名字 | "通知" | "审批"
必填
avatar
string
IM消息聊天组的头像,如果单人则是人员头像, 直接base64编码的图片(审批和通知不需要)
必填
content
string
小字内容
必填
posiName
string
如果是联系人,主岗位名称
必填