Changes between Version 46 and Version 47 of baby3_developers/interface


Ignore:
Timestamp:
12/29/2014 06:22:29 PM (11 years ago)
Author:
lianchijin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • baby3_developers/interface

    v46 v47  
    651651} 
    652652}}} 
     653 
     654=== 7.0 获取收藏列表 ===(接口已经有了,只需mrobot做中转) 
     655{{{ 
     656  备注:我的收藏 
     657  接口开发: 
     658  应用端请求url: http://my.pcbaby.com.cn/collection/intf/collection/app/collection_list.jsp  
     659  mrobot请求url: 
     660  测试url: 
     661 
     662  HTTP请求方式:get 
     663  是否需要登录:是 
     664  返回格式:JSON 
     665  缓存方式:无 
     666  缓存时间:无 
     667  请求参数: 
     668  common_session_id:登录用户id 
     669  type 收藏对象类型,默认查所有类型(0CMS文章;1百科知识;2百科文章;3频道;4工具;5帖子;6问答;7亲子学院;8图库;9聚超值) 
     670  intfType 接口类型,(1:APP,2:炫版,默认为2) 
     671  pageSize 每页显示数 
     672  pageNo 当前页数 
     673  返回参数 
     674示例1:有收藏数据 
     675  { 
     676    "pageNo":"第几页", 
     677    "pageSize":"每页显示最大数量", 
     678    "total":"总的数据量", 
     679    "RESPONSE_STATUS":"响应状态", 
     680    "result":"0/1,0返回失败/1返回成功", 
     681    "collections":[ 
     682        { 
     683            "objectId":"收藏对象标识码", 
     684            "title":"文章标题" 
     685        } 
     686    ] 
     687  } 
     688 
     689示例2:无收藏 
     690  { 
     691    "RESPONSE_STATUS" = 200; 
     692    msg = "找不到已收藏的列表"; 
     693    result = 0; 
     694 } 
     695 
     696示例3:错误请求 
     697 { 
     698    "RESPONSE_STATUS": 500, 
     699    "error-desc": "internal accountId,type", 
     700    "uri": "intf/app/2.0/favor_list_101.jsp", 
     701    "user-notice": "参数为空或不合法,或未登录" 
     702 } 
     703}}}