POST api/RedPacket/RobRedPacket

抢红包

Request Information

URI Parameters

None.

Body Parameters

RobRedPacketParamModel
NameDescriptionTypeAdditional information
redpacketid

红包编号

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "redpacketid": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

抢红包

ApiResultRobRedPacketModel
NameDescriptionTypeAdditional information
amount

成功抢到的红包金额 单位:元

string

None.

code

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

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

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

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "amount": "sample string 1",
  "code": 2,
  "msg": "sample string 3",
  "submsg": "sample string 4",
  "isinvitation": 5
}