文档
测试

消息获取

GET
http://122.9.162.90:5000/api/all/news

请求头

参数名
类型
描述
必填
token
string
登陆接口返回的认证信息
必填

响应参数

参数名
类型
描述
必填
code
string
状态吗示例:成功200; 前端错误4xx, 参数错误400 ; 用户权限错误405; 后台错误5xx 服务器错误500
必填
time
string
接口返回时间
必填
msg
string
示例:sucess
必填
data
object
数据字典
必填
page
dict
页数信息
必填
current
int
当前页
必填
total
int
总页数
必填
size
int
返回数据长度
必填
data
array
数据列表
必填
titel
string
标题
必填
content
string
正文
必填
pub_user
string
发布消息用户名
必填
ctime
string
消息创建时间
必填