文档
测试

分页获取文档

GET
bulletin/list

接口描述

前端传来页码,每页的数量,后端返回相应的文档(文档内容不返回)

请求参数

参数名
类型
描述
必填
pageNo
long
页码
必填
pageSize
long
每页展示数量
必填
search
string
搜索的关键字(如果是对搜索的数据分页的话)
必填
type
int
根据类型返回公告,如果没有则返回所有类型的公告
必填

响应参数

参数名
类型
描述
必填
success
boolean
示例:true
必填
code
int
示例:200
必填
msg
string
示例:操作成功
必填
data
array
数据列表
必填
id
string
示例:1466008798320394242
必填
title
string
示例:haha
必填
createTime
string
示例:2021-12-01 19:38:29
必填
readCount
int
示例:0
必填
weight
int
示例:1
必填
type
int
示例:1
必填
content
object
示例:null
必填