页面访问
请求路径 user/control/userDynamicList.htm
请求方式 GET
请求参数 页码 变量:page
类型:Integer
是否必填:否
返回值 用户动态分页 变量:pageView
类型:PageView
页面访问 - AJAX方式
请求路径 user/control/userDynamicList.htm
请求方式 GET
自定义请求头 协议头:X-Requested-With 值:XMLHttpRequest
请求参数 页码 变量:page
类型:Integer
是否必填:否
请求成功返回 JSON格式值 类型:PageView 值内容说明:用户动态分页
分页 PageView
变量 类型 说明
records List<UserDynamic> 数据展示列表
pageIndex PageIndex 页码索引
totalpage long 总页数
maxresult long 每页显示记录数
currentpage long 当前页
pagecount long 页码显示总数
onUrl String 上一页URL
nextUrl String 下一页URL
分页索引 PageIndex
变量 类型 说明
startindex long 分页开始索引
endindex long 分页结束索引
用户动态 UserDynamic
变量 类型 说明
id String Id
userName String 用户名称
nickname String 呢称
avatarPath String 头像路径 页面上显示200*200头像示例${userDynamic.avatarPath}${userDynamic.avatarName}   显示100*100头像示例${userDynamic.avatarPath}100x100/${userDynamic.avatarName}
avatarName String 头像名称
postTime Date 发表时间
status Integer 状态 10.待审核 20.已发布 110.待审核删除 120.已发布删除
module
Integer 模块 100.话题
topicId Long 话题Id
topicTitle String 话题标题
topicContent String 话题内容 本字段可以加上<#noescape></#noescape>标签关闭转义,以输出html标签
topicViewTotal Long 话题查看总数
allowRoleViewList List<String> 话题允许查看的角色名称集合(默认角色除外)
topicCommentTotal Long 话题评论总数
module
Integer 模块 200.评论
topicId Long 话题Id
topicTitle String 话题标题
commentId Long 评论Id
commentContent String 评论内容 本字段可以加上<#noescape></#noescape>标签关闭转义,以输出html标签
module
Integer 模块 300.引用评论
topicId Long 话题Id
topicTitle String 话题标题
commentId Long 评论Id
quoteCommentId Long 引用评论Id
commentContent String 评论内容 本字段可以加上<#noescape></#noescape>标签关闭转义,以输出html标签
quoteCommentContent String 引用评论内容
module
Integer 模块 400.回复
topicId Long 话题Id
topicTitle String 话题标题
replyId Long 回复Id
replyContent String 回复内容
module
Integer 模块 500.问题
questionId Long 问题Id
questionTitle String 问题标题
questionContent String 问题内容 本字段可以加上<#noescape></#noescape>标签关闭转义,以输出html标签
questionViewTotal Long 问题查看总数
questionAnswerTotal Long 问题答案总数
module
Integer 模块 600.答案
questionId Long 问题Id
questionTitle String 问题标题
answerId Long 答案Id
answerContent String 答案内容 本字段可以加上<#noescape></#noescape>标签关闭转义,以输出html标签
module
Integer 模块 700.答案回复
questionId Long 问题Id
questionTitle String 问题标题
answerReplyId Long 答案回复Id
answerReplyContent String 答案回复内容

示例