POST api/PointsLottery/GetLotteryIndex

获取抽奖信息主页数据

Request Information

URI Parameters

None.

Body Parameters

PointsLotteryParam
NameDescriptionTypeAdditional information
path

string

None.

Request Formats

application/json, text/json

Sample:
{
  "path": "sample string 1"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取抽奖信息主页数据

ApiResultModelRerurnPointsLottery
NameDescriptionTypeAdditional information
returnSpecialTopicMsg

页面分享信息 和活动规则

ReturnSpecialTopicMsg

None.

lotteryneedpoindescriptiont

抽奖所需 积分说明 10积分/次

string

None.

surpluslotterynumberdescriptiont

剩余抽奖次数说明 还可以抽奖几次

string

None.

userprizelist

用户中奖信息 恭喜 XXX 抽中了 "XXX"

Collection of string

None.

isbindmobile

是否绑定手机号码 0 未绑定 1绑定

integer

None.

ishaveaddress

是否填写收货地址 0 未填写 1填写

integer

None.

istdfristlottery

是否本日第一次抽奖 0 是 1 否

integer

None.

code

0:正确 100:错误 403:需要重新登录

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

登陆时候是否需要弹窗填些邀请码 1:需要

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "returnSpecialTopicMsg": {
    "title": "sample string 1",
    "backgroundimage": "sample string 2",
    "description": "sample string 3"
  },
  "lotteryneedpoindescriptiont": "sample string 1",
  "surpluslotterynumberdescriptiont": "sample string 2",
  "userprizelist": [
    "sample string 1",
    "sample string 2"
  ],
  "isbindmobile": 3,
  "ishaveaddress": 4,
  "istdfristlottery": 5,
  "code": 6,
  "msg": "sample string 7",
  "submsg": "sample string 8",
  "isinvitation": 9
}