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