文档
测试

查询公告列表

GET
http://localhost:8080/back/notice/getList?current=1&size=10&search=&type=0

请求参数

参数名
类型
描述
必填
current
int
(当前页)示例:1
必填
size
int
(一页展示多少)示例:10
必填
search
string
(模糊查询)示例:
必填
type
int
(1置顶项 2 普通项 其他全部)示例:0
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:请求成功
必填
code
int
示例:200
必填
data
object
数据字典
必填
records
array
数据列表
必填
noticeId
int
(公告id)示例:1
必填
noticeTitle
string
(公告标题)示例:测试公告1
必填
sort
int
(排序字段 不是0就是置顶)示例:3
必填
createTime
string
(创建时间)示例:2020-07-04 13:10:19
必填
total
int
示例:13
必填
size
int
示例:10
必填
current
int
示例:1
必填
orders
array
数据列表
必填
column
string
示例:sort
必填
asc
boolean
示例:false
必填
hitCount
boolean
示例:false
必填
searchCount
boolean
示例:true
必填
pages
int
示例:2
必填