授权  
大转盘-抽奖接口
参数名称 类型 是否必填 参数描述 备注
api_key String 系统分配的ApiKey
api_target String 调用接口名称 com_cmall_familyhas_api_ApiForBigWheelDraw
api_token String 用户授权码 已登陆用户授权码,64位16进制编码。
api_input String 输入参数 应用输入参数的JSON格式
参数名称 类型 必填 示例 参数描述 备注
version int 版本号 仅用于扩展,无需传入
参数名称 类型 参数描述 备注
sycs int 剩余抽奖次数 返回0时,表示没有抽奖次数;返回-1时,表示抽奖失败;其余数值为抽奖成功
drawPrize BigTurntableAward 抽中的奖品
resultCode int 返回标记 如果返回标记1则为API调用成功 否则则是错误编号
resultMessage String 返回消息 返回的消息描述
BigTurntableAward
参数名称 类型 参数描述 备注
jpType String 奖品类型(实物商品、积分、优惠券、谢谢参与) 449749000001:积分;449749000002:优惠券;449749000003:实物商品;449749000004:谢谢参与
productCode String 实物商品编号
jpTitle String 奖品名称 抽中奖品的描述:20积分/20元(张)优惠券/香皂一份
jpCode String 奖品编号
skuCode String 实物商品SKU编号
jpImg String 奖品图片