Changes between Version 40 and Version 41 of baby3_developers/interface


Ignore:
Timestamp:
12/25/2014 06:33:31 PM (11 years ago)
Author:
lianchijin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • baby3_developers/interface

    v40 v41  
    538538} 
    539539}}} 
     540 
     541==== 7.1 百科一二级列表 ==== 
     542{{{ 
     543  备注:获取百科一二级列表数据 
     544  接口开发:吴全贵 
     545  原始URL: 
     546  请求URL: 
     547  HTTP请求方式:get 
     548  是否需要登录:否 
     549  返回格式:JSON 
     550  缓存方式:无 
     551  缓存时间:无 
     552  请求参数: 
     553   
     554  返回参数: 
     555{ 
     556   "status": 0, //状态码  0正常返回   非0请求错误 
     557   "desc": "",  //提示信息    status=0提示信息为空;status非0,给出对应的出错提示信息 
     558   "wikiSortCount": //一级分类数量 
     559   "wikiSortList": 
     560     [ 
     561       { 
     562          "wikiSortName": //string,一级分类名 
     563          "isHaveSecondSort": //bool,是否有二级分类 
     564          "wikiSortUrl": //string,一级分类页对应url,如果isHaveSecondSort为false必须提供 
     565          "wikiSecondSortCount": //int,二级分类数量,如果isHaveSecondSort为true必须提供 
     566          "wikiSecondSortList":[ 
     567             { 
     568               "wikiSecondSortName":  //string,二级分类名 
     569                "isHaveThirdSort”:    //bool,是否有三级分类 
     570                "wikiSecondSortUrl":  //string,二级分类页对应url, 如果isHaveThirdSort为false必须提供 
     571                "wikiSecondSortId": //二级分类id 
     572                "wikiThirdSortCount": //int,三级分类数量如果isHaveThirdSort为true必须提供 
     573              } …… 
     574          ] 
     575       } ...... 
     576    ] 
     577} 
     578}}} 
     579 
     580==== 7.2 百科三四级列表 ==== 
     581{{{ 
     582  备注:获取百科三四级列表数据 
     583  接口开发:吴全贵 
     584  原始URL: 
     585  请求URL: 
     586  HTTP请求方式:get 
     587  是否需要登录:否 
     588  返回格式:JSON 
     589  缓存方式:无 
     590  缓存时间:无 
     591  请求参数: 
     592  wikiSecondSortId //二级分类id 
     593 
     594  返回参数: 
     595{ 
     596   "status": 0, //状态码  0正常返回   非0请求错误 
     597   "desc": "",  //提示信息    status=0提示信息为空;status非0,给出对应的出错提示信息 
     598   "wikiThirdSortCount": //三级分类数量 
     599   "wikiThirdSortList": 
     600     [ 
     601       { 
     602          "wikiThirdSortName": //string,三级分类名 
     603          "isHaveThirdSort": //bool,是否有四级分类 
     604          "wikiThirdSortUrl": //string,三级分类页对应url,如果isHaveThirdSort为false必须提供 
     605          "wikiFourthSortCount": //int,四级分类数量,如果isHaveThirdSort为true必须提供 
     606          "wikiFourthSortList":[ 
     607             { 
     608               "wikiFourthSortCmtUrl": //string,评论链接 
     609               "wikiFourthSortName":   //sting,四级分类名(文章名) 
     610               "wikiFourthSortUrl":    //string,四级分类链接(文章链接) 
     611             } …… 
     612          ] 
     613       } ...... 
     614    ] 
     615} 
     616}}}