页面访问
请求路径 user/control/commentList.htm
请求方式 GET
请求参数 参数表
请求返回 话题分页 变量:pageView
类型:PageView
页面访问 - AJAX方式
请求路径 user/control/commentList.htm
请求方式 GET
自定义请求头 协议头:X-Requested-With 值:XMLHttpRequest
请求参数 参数表
请求返回 JSON格式值 类型:PageView
分页 PageView
变量 类型 说明
records List<Comment> 数据展示列表
pageIndex PageIndex 页码索引
totalpage long 总页数
maxresult long 每页显示记录数
currentpage long 当前页
pagecount long 页码显示总数
onUrl String 上一页URL
nextUrl String 下一页URL
分页索引 PageIndex
变量 类型 说明
startindex long 分页开始索引
endindex long 分页结束索引
评论 Comment
变量 类型 说明
id Long 评论Id
topicId Long 话题Id
topicTitle String 话题标题
content String 评论内容
postTime Date 评论时间
userName String 用户名称
isStaff boolean 是否为员工
status Integer 状态 10.待审核 20.已发布
请求参数
参数 类型 是否必填 说明
page Integer 页码

示例