文档
测试

其他-获取转盘游戏初始数据

POST
http://crm.houcaller.com/htest/openapi/v1/getGameTurntableInit

接口描述

获取转盘游戏初始化信息

请求头

参数名
类型
描述
必填
Content-Type
String
application/json
必填

请求参数

参数名
类型
描述
必填
channel
string
渠道名
必填
timestamp
string
时间戳
必填
param
object
参数(对json字符串进行DES加密)
必填
memberId
string
会员ID
必填

响应参数

参数名
类型
描述
必填
msg
string
响应说明
必填
code
number
响应code
必填
data
object
数据字典
必填
expHb
int
游戏消耗豪币数
必填
jackpotList
array
游戏奖项列表
必填
score
int
奖项权重比
必填
award
object
奖项
必填
hb
int
奖励豪币
必填
cpnId
string
奖励优惠券ID
必填
level
int
中几等奖
必填
sms
string
发送短信内容
必填
tip
string
游戏提示信息
必填
special
object
特殊中奖方式
必填
remark
string
特殊中奖方式说明
必填
value
int
特殊中奖方式参考值
必填
gameCount
int
已经游戏次数
必填
restCount
int
剩余游戏次数
必填
hbNum
int
会员剩余豪币数
必填
maxNum
int
每日最大游戏次数
必填

说明 / 示例

请求示例: ``` { "param": "218A7F0EF1F6DE7B15D8F478E819984BC9C4BE8BBB28E6A278F37B2C652E5222", "channel": "hkl-test", "timestamp": "1591836953226" } ``` param明文示例: ``` { "memberId": "JBLE18FNU0008" } ``` 响应示例: ``` { "msg": "操作成功", "code": 0, "data": { "expHb": 5, "jackpotList": [ { "score": 5, "award": { "hb": 0, "cpnId": "K3NB1LG560TT6" }, "level": 3, "personMax": {}, "totalMax": {}, "sms": "", "tip": "恭喜抽中12元满减券(满100可用)" }, { "special": { "remark": "每月第N次游戏的人中大奖,每月最多只能两个", "value": 307374 }, "score": 0, "award": { "hb": 0, "cpnId": "K3NB21F340U56" }, "level": 1, "personMax": {}, "totalMax": { "num": "2", "type": "month" }, "sms": "", "tip": "恭喜抽中任意牛排免费券" }, { "score": 5, "award": { "hb": 0, "cpnId": "K3NB20MML0U42" }, "level": 2, "personMax": {}, "totalMax": {}, "sms": "", "tip": "恭喜抽中5元牛排券(购买牛排主餐可用)" }, { "score": 50, "award": { "hb": 1, "cpnId": "" }, "level": 6, "personMax": {}, "totalMax": {}, "sms": "", "tip": "恭喜抽中1豪币" }, { "score": 5, "award": { "hb": 10, "cpnId": "" }, "level": 4, "personMax": {}, "totalMax": {}, "sms": "", "tip": "恭喜抽中10豪币" }, { "score": 35, "award": { "hb": 0, "cpnId": "K3NB1KI440TS5" }, "level": 5, "personMax": {}, "totalMax": {}, "sms": "", "tip": "恭喜抽中10元满减券(满100可用)" } ], "gameCount": 0, "restCount": 10, "hbNum": 4, "maxNum": 10 } } ```