参数名称 | 类型 | 是否必填 | 参数描述 | 备注 |
---|---|---|---|---|
api_key | String | 是 | 系统分配的ApiKey | |
api_target | String | 是 | 调用接口名称 | com_cmall_newscenter_beauty_api_OfficialActivityApi |
api_input | String | 是 | 输入参数 | 应用输入参数的JSON格式 |
参数名称 | 类型 | 必填 | 示例 | 参数描述 | 备注 |
---|---|---|---|---|---|
picWidth | Integer | 否 | 图片宽度 | ||
paging | PageOption | 是 | 5,10 | 翻页选项 | 输入起始页码和每页10条 |
version | int | 否 | 版本号 | 仅用于扩展,无需传入 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
paged | PageResults | 翻页结果 | |
resultCode | int | 返回标记 | 如果返回标记1则为API调用成功 否则则是错误编号 |
Activities | Activity[] | 活动列表 | |
resultMessage | String | 返回消息 | 返回的消息描述 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
info_content | String | 分享内容 | |
end_time | String | 活动结束日期 | |
name | String | 活动名称 | |
share_pic | String | 分享图片 | |
start_time | String | 活动开始日期 | |
photo | String | 活动图片 | |
url | String | 活动详情链接 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
total | int | 总数量 | |
more | int | 是否还有更多 | |
count | int | 返回数量 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
limit | int | 每页条数 | 每页10条 [校验规则]: minlength=1 |
offset | int | 起码页号 | 起始页码 [校验规则]: regex=^\d+$ |