POST api/LiveBroadcostRedPacket/AdminSendRedPacket
后台 - 发红包
Request Information
URI Parameters
None.
Body Parameters
RedPacketCreateDtoName | Description | Type | Additional information |
---|---|---|---|
VideoId |
视频id |
integer |
None. |
Nums |
红包份数 |
integer |
None. |
AmountOfMoney |
红包金额 |
decimal number |
None. |
UserId |
发红包用户 后台用户传负值(前端无需传递) |
integer |
None. |
IsAvg |
是否均分 |
boolean |
None. |
State |
半持久码 (前端无需传递) |
integer |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<RedPacketCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.LiveBroadcost.Service.Dto.RedPacket"> <AmountOfMoney>3</AmountOfMoney> <IsAvg>true</IsAvg> <Nums>2</Nums> <State>6</State> <UserId>4</UserId> <VideoId>1</VideoId> </RedPacketCreateDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
后台 - 发红包
ObjectNone.
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />