返回值
变量 类型 说明
topicRelated_topic_page PageView 话题分页
分页 PageView
变量 类型 说明
records List<Topic> 数据展示列表
pageIndex PageIndex 页码索引
totalpage long 总页数
maxresult long 每页显示记录数
currentpage long 当前页
pagecount long 页码显示总数
onUrl String 上一页URL
nextUrl String 下一页URL
分页索引 PageIndex
变量 类型 说明
startindex long 分页开始索引
endindex long 分页结束索引
话题 Topic
变量 类型 说明
id Long 话题Id
title String 标题
tagId Long 标签Id
tagName String 标签名称
summary String 内容摘要(不含隐藏标签内的内容)
imageInfoList List<ImageInfo> 前3张图片集合(不含隐藏标签内的图片)
postTime Date 发表时间
lastReplyTime Date 最后回复时间
commentTotal Long 评论总数
allow boolean 允许评论
viewTotal Long 查看总数
userName String 用户名称
userRoleNameList List<String> 用户角色名称集合
allowRoleViewList List<String> 话题允许查看的角色名称集合(默认角色除外)
nickname String 呢称
avatarPath String 头像路径 页面上显示200*200头像示例${topic.avatarPath}${topic.avatarName}   显示100*100头像示例${topic.avatarPath}100x100/${topic.avatarName}
avatarName String 头像名称
isStaff boolean 是否为员工
sort Integer 排序 默认为0
图片信息 ImageInfo
变量 类型 说明
path String 图片路径
name String 图片名称
方法支持参数
参数 类型 是否必填 说明
tagId Long 标签Id
page Integer 页码

示例