Skip to content

抽奖信息

  • 请求方法:GET

  • 是否鉴权:否

  • 请求编码:Content-Type:application/x-www-form-urlencoded

  • 响应编码:Content-Type:application/json;charset=UTF-8

  • 请求地址:index/activity.lottery/lotteryNotice

  • 请求参数:

参数名参数类型是否必填参数说明示例值
uidstring活动id
pageint页码
sizeint每页条数
  • 成功示例:
javascript
{
  "data": {
    "uid" : "dk1ksu987",
    "lottery_time" : "2024-09-04 12:12:00",
    "prize_title": "价值100元兑换券",
    "prize_uid": "奖品编号",
    "exchange_state": 2,
    "exchange_time": ""
  },
  "code": 100,
  "msg": "请求成功"
}
参数名参数类型是否必有参数说明示例值
uidstring中奖记录id
lottery_timestring抽奖时间
prize_titlestring奖品名称
prize_uidstring奖品编号
exchange_stateint兑换状态1已兑换2未兑换
exchange_timestring兑换时间
  • 失败示例:
javascript
{
	"code": 101,
	"data": [],
	"msg": "请求失败"
}