Changes between Version 81 and Version 82 of baby3_developers/interface


Ignore:
Timestamp:
01/19/2015 10:57:22 AM (11 years ago)
Author:
chenziyang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • baby3_developers/interface

    v81 v82  
    663663}}} 
    664664 
    665 ==== 7.2 百科三四级列表 ==== 
    666 {{{ 
    667   备注:获取百科三四级列表数据 
    668   接口开发:吴全贵 
    669   原始URL: 
    670   请求URL: 
    671   HTTP请求方式:get 
    672   是否需要登录:否 
    673   返回格式:JSON 
    674   缓存方式:无 
    675   缓存时间:无 
    676   请求参数: 
    677   id //二级分类id 
    678  
    679   返回参数: 
    680 { 
    681    "status": 0, //状态码  0正常返回   非0请求错误 
    682    "desc": "",  //提示信息    status=0提示信息为空;status非0,给出对应的出错提示信息 
    683    "count": //三级分类数量 
    684    "list": 
    685      [ 
    686        { 
    687           "name": //string,三级分类名 
    688           "hasChildren": //bool,是否有四级分类 
    689           "id":  //三级分类id 
    690           "url": //string,三级分类页对应url,如果hasChildren为false必须提供 
    691           "count": //int,四级分类数量,如果hasChildren为true必须提供 
    692           "list":[ 
    693              { 
    694                "id":  //文章id 
    695                "cmtUrl": //string,评论链接 
    696                "name":   //sting,四级分类名(文章名) 
    697                "sortUrl":    //string,四级分类链接(文章链接) 
    698              } …… 
    699           ] 
    700        } ...... 
    701     ] 
    702 } 
    703 }}} 
    704  
    705665==== 7.3 百科搜索 ==== 
    706666{{{