授权  
参数名称 类型 是否必填 参数描述 备注
api_key String 系统分配的ApiKey
api_target String 调用接口名称 com_cmall_familyhas_api_ApiForHmhDraw
api_token String 用户授权码 已登陆用户授权码,64位16进制编码。
api_input String 输入参数 应用输入参数的JSON格式
参数名称 类型 必填 示例 参数描述 备注
eventCode String 活动编号
version int 版本号 仅用于扩展,无需传入
choiceHmhId int 选择的盲盒ID 默认第一位
参数名称 类型 参数描述 备注
resultCode int 返回标记 如果返回标记1则为API调用成功 否则则是错误编号
resultMessage String 返回消息 返回的消息描述
drawPrize HmhPrize 抽中的奖品
totalIntegral int 用户总积分
hmhPrizeList HmhPrize[] 奖品展示list
HmhPrize
参数名称 类型 参数描述 备注
productCode String 实物商品编号
jpType String 奖品类型(实物商品、积分、优惠券、谢谢参与) 449749000001:积分;449749000002:优惠券;449749000003:实物商品;449749000004:谢谢参与
jpImg String 奖品图片
skuCode String 实物商品SKU编号
jpTitle String 奖品名称 抽中奖品的描述:20积分/20元(张)优惠券/香皂一份