文档
测试

抽奖十次

POST
https://only-api.com/api/luckDraw

接口描述

抽奖十次

请求头

参数名
类型
描述
必填
Cookie
string
验证用户的token
必填

请求参数

application/x-www-form-urlencoded
参数名
类型
描述
必填
appId
int
应用唯一标识
必填
sign
string
签名校验,仅当"签名启用"开启时传入
可选
expire
int
请求有效期,默认180(单位:秒)
可选
id
int
奖池唯一标识
必填
ten
boolean
是否十连抽,必须为true
必填

响应参数

application/json
参数名
类型
描述
必填
code
string
状态码
必填
result
array
结果数据
必填
empty
boolean
是否为谢谢惠顾
必填
integral
int
积分奖励
可选
money
decimal
余额奖励
可选
exp
int
经验奖励
可选
vip
string
VIP奖励
可选
msg
string
错误信息
可选
time
string
请求过期的时间戳(单位:秒)
必填