新闻列表查询
POST
http://gggl.phpgzs.top/api/News/list
请求参数
参数名
类型
描述
必填
type
string
示例:policy
可选
ctype
int
示例:101 这是子分类
必填
type
int
示例:1 这是主分类
必填
响应参数
参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:数据查询成功
必填
total
int
示例:1
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
code
int
示例:0
必填
msg
string
示例:数据查询成功
必填
total
int
示例:1
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
id
int
示例:1
必填
title
string
示例:这是一个新闻标题
必填
sort
int
示例:1
必填
a_subclass
int
示例:101
必填
pic
string
示例:
必填
intro
string
示例:这是一个摘要
必填
content
string
示例:这是一个内容
必填
source
string
示例:这是一个来源
必填
add_user
int
示例:10000
必填
add_time
int
示例:1625567607
必填
classify
string
示例:政策文件
必填
waferSort
string
示例:市直部门
必填
code
int
示例:0
必填
msg
string
示例:数据查询成功
必填
total
int
示例:4
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
id
int
示例:15
必填
title
string
示例:这是一个新闻标题3
必填
sort
int
示例:1
必填
a_subclass
int
示例:101
必填
pic
string
示例:
必填
intro
string
示例:这是一个摘要
必填
content
string
示例:这是一个内容
必填
source
string
示例:这是一个来源
必填
add_user
int
示例:10000
必填
add_time
int
示例:1625795734
必填
classify
string
示例:政策文件
必填
waferSort
string
示例:市直部门
必填