文档
测试

查询公告列表

POST
/v1/visit/querynoticelist

接口描述

根据查询条件查询出公告返回的列表数据

请求头

参数名
类型
描述
必填
authorization
string
登录成功后服务端返回的token
必填

请求参数

参数名
类型
描述
必填
notice_query_type
number
1-查询当前用户上报记录,2-查询其他公告
必填
notice_state
number
0-已发布,1-已删除记录,2查询所有
必填
page_size
number
一次查询历史记录条数,0标识不分页,有多少查多少
必填
last_item_id
number
(选填)上一页最后一条id
必填
village_guids
array
(选填)根据小区查询
必填
notice_roleids
array
(选填)角色id集合
必填

响应参数

参数名
类型
描述
必填
error_code
number
错误码
必填
error_msg
string
错误信息
必填
data
array
公告列表
必填
has_next
bool
是否还有数据
必填
size
number
当前返回的数据的条数
必填
notice_infos
array
公告列表数据
必填
notice_id
number
公告id
必填
notice_title
string
公告标题
必填
notice_content
string
公告内容
必填
notice_time
string
公告发布时间
必填