获取抽奖条件和用户设置
开发中
POST
https://saas-open.vhall.com/v3/vss/api/lottery/get-condition-user-setting
516727 | 活动ID不能为空 | |
516006 | 活动不存在 | |
516728 | 调通用抽奖服务失败 | |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://saas-open.vhall.com/v3/vss/api/lottery/get-condition-user-setting' \
--header 'token;' \
--header 'platform: 15' \
--form 'lottery_id=""' \
--form 'webinar_id=""' \
--form 'app_key=""' \
--form 'sign_type=""' \
--form 'signed_at=""' \
--form 'sign=""'
响应示例响应示例
{
"code": 0,
"data": {
"can_look_winner_list": null,
"can_repeat_lottery": null,
"lottery_condition": null,
"lottery_type": null,
"show_discontent_tips": null,
"user_setting": "string",
"can_remaining_lottery": 0
},
"msg": "string",
"requestId": null
}
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/x-www-form-urlencoded
token
string
必需
platform
string
必需
示例值:
15
Body 参数multipart/form-data
lottery_id
string
抽奖id
webinar_id
string
活动id
app_key
string
必需
默认值:
{{app_key}}
sign_type
integer
必需
默认值:
{{sign_type}}
signed_at
integer
必需
默认值:
{{signed_at}}
sign
string
计算生成的签名值
默认值:
{{sign}}
返回响应
修改于 2025-05-28 05:26:27