参数名称 | 类型 | 是否必填 | 参数描述 | 备注 |
---|---|---|---|---|
api_key | String | 是 | 系统分配的ApiKey | |
api_target | String | 是 | 调用接口名称 | com_cmall_newscenter_api_TryOrderServiceApi |
api_token | String | 是 | 用户授权码 | 已登陆用户授权码,64位16进制编码。 |
api_input | String | 是 | 输入参数 | 应用输入参数的JSON格式 |
参数名称 | 类型 | 必填 | 示例 | 参数描述 | 备注 |
---|---|---|---|---|---|
product | String | 是 | 123456 | 商品编号 | [校验规则]: base=number |
amount | int | 否 | 10 | 数量 | |
areaCode | String | 否 | 三级区域编码 | ||
address | String | 是 | 123456 | 送货地址 | |
version | int | 否 | 版本号 | 仅用于扩展,无需传入 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
TRIAL_ORDER | TrialOrderList | 商品试用 | |
resultCode | int | 返回标记 | 如果返回标记1则为API调用成功 否则则是错误编号 |
resultMessage | String | 返回消息 | 返回的消息描述 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
thumb | String | 缩略图 | |
large | String | 原图 |
参数名称 | 类型 | 参数描述 | 备注 |
---|
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
product | Product | 商品信息 | |
amount | int | 产品数量 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
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 | 原图 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
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 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
id | String | ID | |
total | int | 使用积分的个数 | |
order_description | String | 订单描述 | |
state | int | 状态 | |
create_time | String | 创建时间 | |
order_id | String | 订单号 | |
products | ProductGroup[] | 商品信息 |
参数名称 | 类型 | 参数描述 | 备注 |
---|---|---|---|
detail_url | String | 图文详情 | |
trial_expires | String | 过期时间 | |
success_count | int | 申请成功数量 | |
repo_count | int | 库存量 | |
reason | String | 推荐理由 | |
intro | String | 介绍文字 | |
id | String | 商品Id | |
photos | CommentdityAppPhotos[] | 单图或多图 | |
title | String | 标题 | |
trial_price | BigDecimal | 售价 | |
param_url | String | 产品参数 | |
apply_count | int | 已申请数量 | |
comments | CommentdityApp[] | 口碑评价 |