参数名称 | 类型 | 是否必填 | 参数描述 | 备注 |
---|---|---|---|---|
api_key | String | 是 | 系统分配的ApiKey | |
api_target | String | 是 | 调用接口名称 | com_cmall_newscenter_api_BrandProductInSaleApi |
api_input | String | 是 | 输入参数 | 应用输入参数的JSON格式 |
参数名称 | 类型 | 必填 | 示例 | 参数描述 | 备注 |
---|---|---|---|---|---|
product | String | 否 | 商品编号 | 9108956 | |
category | String | 否 | 0 | 按分类 | 按分类可选 |
paging | PageOption | 是 | 5,10 | 翻页选项 | 输入起始页码和每页10条 |
version | int | 否 | 版本号 | 仅用于扩展,无需传入 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
paged | PageResults | 翻页结果 | |
resultCode | int | 返回标记 | 如果返回标记1则为API调用成功 否则则是错误编号 |
resultMessage | String | 返回消息 | 返回的消息描述 |
products | Sale_Product[] | 在售商品 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
thumb | String | 缩略图 | |
large | String | 原图 |
参数名称 | 类型 | 参数描述 | 备注 |
---|
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
id | String | 评论id | |
photos | CommentdityAppPhotos[] | 图片 | |
text | String | 评论内容 | |
state | BigInteger | 审核状态 | [校验规则]: in=4497172100030001,4497172100030002,4497172100030003 |
reply | MemberInfo | 回复人 | |
created_at | String | 创建时间 | |
user | MemberInfo | 评论人 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
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 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
limit | int | 每页条数 | 每页10条 [校验规则]: minlength=1 |
offset | int | 起码页号 | 起始页码 [校验规则]: regex=^\d+$ |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
detail_url | String | 图文详情 | |
linkUrl | String | url | |
sale_price | double | 售价 | |
product_id | String | 商品id | |
repo_count | int | 库存量 | |
reason | String | 推荐理由 | |
sale_count | int | 销售量 | |
orig_price | double | 原价 | |
intro | String | 介绍文字 | |
discount | String | 折扣 | |
id | String | skuid | |
photos | CommentdityAppPhotos[] | 单图或多图 | |
title | String | 标题 | |
faved | int | 我是否收藏过,0-否,1-是 | |
fav_count | int | 多少人收藏过 | |
param_url | String | 产品参数 | |
comments | CommentdityApp[] | 口碑评价 |