授权  
获取用户最近一次订单
参数名称 类型 是否必填 参数描述 备注
api_key String 系统分配的ApiKey
api_target String 调用接口名称 com_cmall_newscenter_api_ApiOrderForLast
api_token String 用户授权码 已登陆用户授权码,64位16进制编码。
api_input String 输入参数 应用输入参数的JSON格式
参数名称 类型 必填 示例 参数描述 备注
version int 版本号 仅用于扩展,无需传入
参数名称 类型 参数描述 备注
total BigDecimal 总价
create_time String 创建时间
order_description String 订单描述
resultCode int 返回标记 如果返回标记1则为API调用成功 否则则是错误编号
state int 状态
id String 订单ID
resultMessage String 返回消息 返回的消息描述
order_id String 订单号
products SaleProductGroup[] 商品及数量
AppPhoto
参数名称 类型 参数描述 备注
large String 原图
thumb String 缩略图

CommentdityApp
参数名称 类型 参数描述 备注
created_at String 创建时间
state BigInteger 审核状态

[校验规则]:
in=4497172100030001,4497172100030002,4497172100030003
text String 评论内容
id String 评论id
reply MemberInfo 回复人
photos CommentdityAppPhotos[] 图片
user MemberInfo 评论人

CommentdityAppPhotos
参数名称 类型 参数描述 备注
width String 原图宽
large String 原图
thumb String 缩略图
height String 原图高

MemberInfo
参数名称 类型 参数描述 备注
birthday String 用户邮箱
create_time String 加入时间
gender BigInteger 性别
level int 等级
member_code String 用户编号
mobile String 用户电话

[校验规则]:
base=mobile
avatar AppPhoto 用户头像
vip_level_name String pc等级名称
points int pc积分
score int 积分
level_name String 等级名称
nickname String 昵称
score_unit String 积分单位
vip_level int pc等级
email String 用户邮箱
group BigInteger 用户组

SaleProductGroup
参数名称 类型 参数描述 备注
amout int 数量
product Sale_Product 在售商品信息

BigInteger
参数名称 类型 参数描述 备注

Sale_Product
参数名称 类型 参数描述 备注
reason String 推荐理由
detail_url String 图文详情
orig_price double 原价
comments CommentdityApp[] 口碑评价
param_url String 产品参数
discount String 折扣
title String 标题
repo_count int 库存量
photos CommentdityAppPhotos[] 单图或多图
sale_price double 售价
faved int 我是否收藏过,0-否,1-是
fav_count int 多少人收藏过
sale_count int 销售量
intro String 介绍文字
product_id String 商品id
linkUrl String url
id String skuid