参数名称 | 类型 | 是否必填 | 参数描述 | 备注 |
---|---|---|---|---|
api_key | String | 是 | 系统分配的ApiKey | |
api_target | String | 是 | 调用接口名称 | com_cmall_newscenter_api_InforMationFeedApi |
api_input | String | 是 | 输入参数 | 应用输入参数的JSON格式 |
参数名称 | 类型 | 必填 | 示例 | 参数描述 | 备注 |
---|---|---|---|---|---|
paging | PageOption | 否 | 翻页选项 | ||
version | int | 否 | 版本号 | 仅用于扩展,无需传入 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
feeds | InforMationFeed[] | 资讯信息 | |
paged | PageResults | 翻页结果 | |
resultCode | int | 返回标记 | 如果返回标记1则为API调用成功 否则则是错误编号 |
resultMessage | String | 返回消息 | 返回的消息描述 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
limit | CommentdityAppLimt | 限制条件 | |
cover | String | 封装图 | |
hd_url | String | 高清地址 | |
height | String | 封面高 | |
width | String | 封面宽 | |
ld_url | String | 普清地址 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
thumb | String | 缩略图 | |
large | String | 原图 |
参数名称 | 类型 | 参数描述 | 备注 |
---|
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
height | String | 原图高 | |
width | String | 原图宽 | |
thumb | String | 缩略图 | |
large | String | 原图 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
total | int | 总数量 | |
more | int | 是否还有更多 | |
count | int | 返回数量 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
score_unit | String | 积分单位 | |
birthday | String | 用户邮箱 | |
vip_level | int | pc等级 | |
nickname | String | 昵称 | |
score | int | 积分 | |
vip_level_name | String | pc等级名称 | |
avatar | AppPhoto | 用户头像 | |
level_name | String | 等级名称 | |
level | int | 等级 | |
String | 用户邮箱 | ||
create_time | String | 加入时间 | |
gender | BigInteger | 性别 | |
points | int | pc积分 | |
group | BigInteger | 用户组 | |
member_code | String | 用户编号 | |
mobile | String | 用户电话 | [校验规则]: base=mobile |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
level_name | String | 等级名称 | |
score_unit | String | 积分单位 | |
level | String | 等级编号 | |
score | int | 获得积分 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
limit | int | 每页条数 | 每页10条 [校验规则]: minlength=1 |
offset | int | 起码页号 | 起始页码 [校验规则]: regex=^\d+$ |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
comment_count | int | 多少人评论过 | |
limit | CommentdityAppLimt | 限制条件 | |
shared | int | 我是否分享过 | |
text | String | 文字 | [校验规则]: minlength=20 maxlength=2000 |
linkUrl | String | 分享链接 | |
share_count | int | 多少人分享过 | |
liked | int | 我是否喜欢过 | |
link | String | 链接地址 | |
videos | InforMationFeedVideo[] | 单视频 | |
feed_type | BigInteger | 资讯所属分类 | [校验规则]: in=4497465000040001,4497465000040002,4497465000040003 |
commented | int | 我是否评论过 | |
id | String | 资讯id | |
photos | CommentdityAppPhotos[] | 单图或多图 | |
feedId | String | 资讯所属分类 | |
title | String | 标题 | |
faved | int | 我是否收藏过 | |
like_count | int | 多少人喜欢 | |
created_at | String | 创建时间 | |
fav_count | int | 多少人收藏过 | |
user | MemberInfo | 发布者 |