页面访问
请求路径 user/control/giveRedEnvelopeList.htm
请求方式 GET
请求参数 页码 变量:page
类型:Integer
是否必填:否
返回值 发红包分页 变量:pageView
类型:PageView
页面访问 - AJAX方式
请求路径 user/control/giveRedEnvelopeList.htm
请求方式 GET
自定义请求头 协议头:X-Requested-With 值:XMLHttpRequest
请求参数 页码 变量:page
类型:Integer
是否必填:否
请求成功返回 JSON格式值 类型:PageView 值内容说明:发红包分页
分页 PageView
变量 类型 说明
records List<GiveRedEnvelope> 数据展示列表
pageIndex PageIndex 页码索引
totalpage long 总页数
maxresult long 每页显示记录数
currentpage long 当前页
pagecount long 页码显示总数
onUrl String 上一页URL
nextUrl String 下一页URL
分页索引 PageIndex
变量 类型 说明
startindex long 分页开始索引
endindex long 分页结束索引
发红包 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 发放时间

示例