Changes between Version 183 and Version 184 of intf


Ignore:
Timestamp:
10/14/2014 11:57:53 AM (12 years ago)
Author:
zoulinrui
Comment:

添加一周热帖接口说明

Legend:

Unmodified
Added
Removed
Modified
  • intf

    v183 v184  
    12421242   //返回json格式// [[BR]] 
    12431243   {status:,desc:,topics:[{forumId:,forumName:,topicId:,title:,message:,userName:,userId:,userFaceUrl:,images:,createAt:,views:,replyCount:}]pageNo:,pageSize:,total:} 
     1244* /intf/forum/getWeekHots.do  查询一周热帖接口[[BR]] 
     1245    //参数// [[BR]] 
     1246    size:排行榜长度,默认30,最大50[[BR]], 
     1247    maxLength:帖子内容截取长度,默认240[[BR]], 
     1248    callback:回调函数名称[[BR]], 
     1249    接口结果缓存1个小时[[BR]] 
     1250    输出结果:返回json格式[[BR]] 
     1251    {total:,topics:[{authorName:,authorUrl:,createAt:,forumId:,forumUrl:,lastPostAt:,message:,newReplyCount(新增回复数):,replyCount:,tid:,title:,topicId:,topicUrl:,type:,uid:,updateAt:,userFaceUrl:,viewCount:}]} 
    12441252 
    12451253* /intf/user/queryUserPost.do 查询用户的主帖、精华帖、回帖[[BR]][[BR]] 
     
    12511259  cb({status,desc,uid,pageNo,pageSize,total, topics[{topicId,secretForum,title,message,authorName,createAt,views,replyCount}]}) 针对主贴和精华贴 [[BR]] 
    12521260  针对于回帖 cb({status,desc,uid,pageNo,pageSize,total, topics[{topicId,secretForum,title,authorName,createAt,views,replyCount,image,categoryId,category,replyContent,replyAuthorName,replyAuthorId,replyTime,fid,pid,floor}]})  
    1253  
    12541261* /intf/user/queryUserPostCounts.do  查询用户的主帖数量、精华帖数量、回帖数量[[BR]] 
    12551262    //参数// [[BR]]