文档
测试

新闻中心

POST
http://sy.daoben.tech/api/demo/news

请求头

参数名
类型
描述
必填
type
int
类型:0=公司新闻,1=媒体新闻
必填
data
1
必填

请求参数

参数名
类型
描述
必填
type
int
示例:0=公司新闻,1=媒体新闻
必填
page
int
示例:1
必填
page_size
int
示例:10
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:返回成功
必填
time
string
示例:1651888573
必填
data
object
数据字典
必填
total
int
示例:2
必填
per_page
string
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:1
必填
type
int
示例:0
必填
timage
string
图片
必填
title
string
标题
必填
ytitle
string
英文标题
必填
test
string
副标题
必填
ytest
string
英文副标题
必填
ttcontent
string
富文本
必填
yttcontent
string
英文富文本
必填
weigh
int
示例:1
必填
siteswitch
int
示例:1
必填
createtime
int
示例:1651717250
必填