| 页面访问 | ||
|---|---|---|
| 请求路径 | user/control/redEnvelopeAmountDistributionList.htm | |
| 请求方式 | GET | |
| 请求参数 | 页码 |
变量:page 类型:Integer 是否必填:否 |
| 发红包Id |
变量:giveRedEnvelopeId 类型:String 是否必填:是 |
|
| 返回值 | 发红包金额分配分页 |
变量:pageView 类型:PageView |
| 发红包 |
变量:giveRedEnvelope 类型:GiveRedEnvelope |
|
| 页面访问 - AJAX方式 | ||
|---|---|---|
| 请求路径 | user/control/redEnvelopeAmountDistributionList.htm | |
| 请求方式 | GET | |
| 自定义请求头 | 协议头:X-Requested-With 值:XMLHttpRequest | |
| 请求参数 | 页码 |
变量:page 类型:Integer 是否必填:否 |
| 发红包Id |
变量:giveRedEnvelopeId 类型:String 是否必填:是 |
|
| 请求成功返回 | JSON格式值 类型:Map<String,Object> | 键参数:pageView 值内容说明:发红包金额分配分页 值类型:PageView |
| 键参数:giveRedEnvelope 值内容说明:发红包 值类型:GiveRedEnvelope |
||
| 分页 PageView | ||
|---|---|---|
| 变量 | 类型 | 说明 |
| records | List<ReceiveRedEnvelope> | 数据展示列表 |
| pageIndex | PageIndex | 页码索引 |
| totalpage | long | 总页数 |
| maxresult | long | 每页显示记录数 |
| currentpage | long | 当前页 |
| pagecount | long | 页码显示总数 |
| onUrl | String | 上一页URL |
| nextUrl | String | 下一页URL |
| 分页索引 PageIndex | ||
|---|---|---|
| 变量 | 类型 | 说明 |
| startindex | long | 分页开始索引 |
| endindex | long | 分页结束索引 |
| 发红包金额分配 ReceiveRedEnvelope | |||
|---|---|---|---|
| 变量 | 类型 | 说明 | |
| id | String | Id | |
| receiveUserId | Long | 收红包的用户Id | |
| receiveUserName | String | 收红包的用户名称 | |
| receiveAccount | String | 收红包的账号 | |
| receiveAvatarPath | String | 收红包的用户呢称 | |
| receiveAvatarPath | String | 收红包的用户头像路径 | 页面上显示200*200头像示例${receiveRedEnvelope.receiveAvatarPath}${receiveRedEnvelope.receiveAvatarName} 显示100*100头像示例${receiveRedEnvelope.receiveAvatarPath}100x100/${receiveRedEnvelope.receiveAvatarName} |
| receiveAvatarName | String | 收红包的用户头像名称 | |
| giveRedEnvelopeId | String | 发红包Id | |
| giveUserId | Long | 发红包的用户Id | |
| receiveTime | Date | 收取时间 | |
| amount | BigDecimal | 红包金额 | |
| 发红包 GiveRedEnvelope | |||
|---|---|---|---|
| 变量 | 类型 | 说明 | |
| id | String | 发红包Id | |
| userId | Long | 发红包的用户Id | |
| type | Integer | 10.个人定向红包、20.公共随机红包(随机金额)、30.公共定额红包(固定金额) | |
| totalAmount | BigDecimal | 总金额 | |
| singleAmount | BigDecimal | 单个红包金额 type=30时有值 | |
| giveQuantity | Integer | 发放数量 | |
| bindTopicId | Long | 绑定话题Id -1表示空值 | |
| bindTopicTitle | String | 绑定话题标题 | |
| remainingQuantity | Integer | 剩余数量 | |
| giveTime | Date | 发放时间 | |