Changes between Version 40 and Version 41 of intf
- Timestamp:
- 02/19/2013 04:34:59 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
intf
v40 v41 39 39 如果subsite=true,直接从bbs7_topic_xx表中读取数据[[BR]] 40 40 如果subsite=false,最新的主题从bbs7_new_topic里查找,最热的主题从bbs7_hot_topic,bbs7_hot_topic7,bbs7_hot_topic30,bbs7_hot_topic_all里查找,精华的主题从bbs7_pick里查找。[[BR]][[BR]] 41 * _topic.jsp 根据主题ID,获取主题信息[[BR]][[BR]]41 输出内容包括:forumId,forumName,forumUrl,userId,userName,userUrl,topicId,title,message,rewardAmount,rewardRemain,replyCount,viewCount,createAt,lastPostAt,topicUrl,rate,rateReply,type。如果type=new,则还需要返回face,dealedTime[[BR]][[BR]] 42 42 //参数// 43 43 tid=; 要查询的主题ID[[BR]] 44 44 callback=; 回调函数名称 [[BR]] 45 45 //说明// 46 返回数据类型为JSON 格式:{"forum":{"forumId":版块ID,"name":"版块名称","url":"版块URL"},"postList":[{"author":{"authorId":作者ID,"name":"作者名称","nickname":"作者昵称","url":"作者个人中心URL"},"createAt":"创建时间","floor":楼层,"message":"主题内容","postId":帖子ID,"topicId":主题ID,"url":"帖子URL"}],"replyCount":回复数,"title":"帖子标题","topicId":主题ID,"url":"主题URL","viewCount":查看数}[[BR]] 46 返回数据类型为JSON [[BR]] 47 输出格式:{"forum":{"forumId":版块ID,"name":"版块名称","url":"版块URL"},"postList":[{"author":{"authorId":作者ID,"name":"作者名称","nickname":"作者昵称","url":"作者个人中心URL"},"createAt":"创建时间","floor":楼层,"message":"主题内容","postId":帖子ID,"topicId":主题ID,"url":"帖子URL"}],"replyCount":回复数,"title":"帖子标题","topicId":主题ID,"url":"主题URL","viewCount":查看数}[[BR]] 47 48 * _users.jsp 获取用户数据 48 49 //参数//
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)