文档
测试

获取所有资讯列表信息(分页)

GET
http://192.168.1.116:8090/article/list

请求头

参数名
类型
描述
必填
Authorization
string
示例:{{token}}
必填

请求参数

参数名
类型
描述
必填
leftTime
string
示例:2020-12-11 15:08:19
必填
rightTime
string
示例:2020-12-11 15:08:19
必填
title
string
示例:
必填
status
int
示例:0
必填
typeId
int
示例:1
必填
moduleId
int
示例:2
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
array
数据列表
必填
article
object
文章基本信息
必填
id
int
文章资讯ID 示例:1
必填
title
string
文章标题 示例:测试标题
必填
typeId
int
文章类型ID 示例:1
必填
moduleId
int
文章模块ID 示例:1
必填
content
string
文章URL 示例:http://192.168.10.49/account/2020-11-24/16061978204328826.html
必填
contentBody
object
文章实际body内容 示例:<h1>我的第一个HTML页面</h1>
必填
status
int
文章资讯状态 0编辑中 1已发布 示例:0
必填
authorId
int
用户ID 示例:1
必填
createdTime
int
文章创建时间 示例:1605507704000
必填
authorName
string
作者名称 示例:ZSX
必填
viewTimes
int
查看次数 示例:4
必填
authorIcon
string
作者头像 示例:测试头像地址
必填
description
object
文章描述(预留字段) 示例:null
必填
publishTime
object
发布时间 示例:null
必填
typeName
string
文章类型中文名称 示例:最新资讯
必填
moduleName
string
文章模块中文名称 示例:置顶
必填
imgList
array
文章关联的图片URL列表 示例: [ "文章图片URL1","文章图片URL2", “文章图片URL3" ]
必填
msg
string
示例:ok
必填
timestamp
int
示例:1606198042
必填
code
int
示例:200
必填
data
object
数据字典
必填
total
int
示例:74
必填
records
array
数据列表
必填
article
object
数据字典
必填
id
int
示例:185
必填
title
string
示例:测试修改标题1
必填
typeId
int
示例:2
必填
moduleId
int
示例:1
必填
content
string
示例:http://192.168.10.49/article/20201214/16079275950331214.html
必填
contentBody
string
示例:测试修改内容4
必填
status
int
示例:0
必填
authorId
object
示例:null
必填
createdTime
int
示例:1607927595000
必填
authorName
string
示例:测试修改作者名称1
必填
viewTimes
int
示例:0
必填
authorIcon
object
示例:null
必填
description
string
示例:测试修改描述
必填
publishTime
int
示例:1607927595000
必填
typeName
string
示例:企业新闻
必填
moduleName
string
示例:置顶
必填
imgList
array
数据列表
必填
msg
string
示例:ok
必填
timestamp
int
示例:1607927937
必填