获取文章列表(list)
GET
/news/list
接口描述
获取文章列表
请求参数
参数名
类型
描述
必填
current
int
当前页,默认1
必填
size
int
每页大小,默认10
必填
sort
string
排序列 默认createdate时间倒序 pv浏览量倒序
可选
category
string
资讯类别(新闻,测评,导购,新品发布,优惠,其他)
可选
brandid
string
品牌id
可选
productid
string
商品id
可选
typeid
int
资讯类型 1文章 2视频
可选
isrecommend
int
推荐标识 1
可选
isfocus
int
焦点标识 1
可选
tagword
string
Tag标签
可选
keyword
string
关键字
可选
响应参数
参数名
类型
描述
必填
newsid
string
资讯id
必填
typeid
int
资讯类型(1文章 2视频)
必填
category
string
资讯类别
必填
fullhead
string
完整标题
必填
productid
string
关联商品Id
必填
brandid
string
品牌id(关联商品所属品牌)
必填
tagword
string
Tag标签(多个","分隔)
必填
keyword
string
关键字(多个","分隔)
必填
sourcename
string
视频来源
必填
sourceaddress
string
视频来源地址
必填
isrecommend
int
推荐标识
必填
newscontent
string
资讯内容
必填
pv
int
浏览量
必填
likes
int
点赞数
必填
releasetime
date
发布时间
必填
isfocus
int
焦点标识
必填
introduce
string
简介
必填
sortcode
int
排序码
必填
description
string
备注
必填
createdate
date
创建时间
必填
createuserid
string
创建人id
必填
createusername
string
创建人名称
必填
coverimg
string
视频封面图片地址
必填
modifydate
date
更新时间
必填