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

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

CommentdityApp
参数名称 类型 参数描述 备注
id String 评论id
photos CommentdityAppPhotos[] 图片
text String 评论内容
state BigInteger 审核状态

[校验规则]:
in=4497172100030001,4497172100030002,4497172100030003
reply MemberInfo 回复人
created_at String 创建时间
user MemberInfo 评论人

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

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

MemberInfo
参数名称 类型 参数描述 备注
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 等级
email String 用户邮箱
create_time String 加入时间
gender BigInteger 性别
points int pc积分
group BigInteger 用户组
member_code String 用户编号
mobile String 用户电话

[校验规则]:
base=mobile

Sale_Product
参数名称 类型 参数描述 备注
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[] 口碑评价