幸运大抽奖 抽奖接口
POST
http://localhost:8080/sqdk/api/luckDraw/appDoLuckDraw
请求参数
参数名
类型
描述
必填
userId
int
示例:160213
必填
响应参数
参数名
类型
描述
必填
code
int
示例:1
必填
message
string
示例:
必填
index
int
示例:0 抽奖的停留位置
必填
type
string
示例:1 1广告2金币奖励
必填
title
string
示例:幸运好礼 当type=1 时返回
必填
url
string
示例:http://engine.tuicoco.com/index/activity?appKey=431FHV1qJ9itqW3Fp6LKdBJW7UgJ&adslotId=256957&device_id=null&userId=160213 当type=1 时返回
必填
coin
string
示例: 12 抽到的金币数 当type=2 时返回
必填