Changes between Version 40 and Version 41 of intf


Ignore:
Timestamp:
02/19/2013 04:34:59 PM (13 years ago)
Author:
dingjianyong
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • intf

    v40 v41  
    3939    如果subsite=true,直接从bbs7_topic_xx表中读取数据[[BR]] 
    4040    如果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]] 
    4242  //参数// 
    4343    tid=; 要查询的主题ID[[BR]] 
    4444    callback=; 回调函数名称 [[BR]] 
    4545  //说明// 
    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]] 
    4748* _users.jsp    获取用户数据 
    4849    //参数//