Changes between Version 102 and Version 103 of baby/interface


Ignore:
Timestamp:
07/30/2014 10:47:37 AM (12 years ago)
Author:
lianchijin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • baby/interface

    v102 v103  
    3535 
    3636== 二.接口列表 == 
    37 ==== 1.0首页 ==== 
     37=== 1.0首页 === 
    3838{{{ 
    3939  备注:首页 
     
    7878    } 
    7979   ] 
    80   } 
    81 }}} 
    82 ==== 1.1每日一笑 ==== 
    83 {{{ 
    84   备注:每日一笑 
    85   接口开发:无 
    86   请求URL:http://baike.pcbaby.com.cn/intf/app/launch_101.jsp?REQUEST_CODE=101 
    87   HTTP请求方式:get 
    88   是否需要登录:否 
    89   返回格式:JSON 
    90   缓存方式:无 
    91   缓存时间:无 
    92   请求参数:无 
    93    
    94   返回参数: 
    95   { 
    96    RESPONSE_CODE:101, 
    97    RESPONSE_INFO: 
    98      { 
    99       "launchImg": "http://www1.pcbaby.com.cn/meiriqingsongyike/37.jpg" 
    100      } 
    101    RESPONSE_STATUS:100 
    10280  } 
    10381}}} 
     
    912890  ids 取 接口6.1.2中返回的noticeIds 值;每次当接口6.1.2邀请成功后更新未读消息,若noticeIds 为空则可不更新 
    913891  请求参数: 
    914   common_sessin_id:   //用户登录id,直接拼url后,不放Headers中 
     892  common_sessin_id:   //用户登录id 
    915893  ids:                         //消息id,用英文逗号分隔 
     894  req_enc:"UTF-8" 
     895  resp_enc:"UTF-8" 
    916896  返回参数: 
    917   无 
     897  { 
     898     "ret":0 
     899  } 
     900  错误 
     901  { 
     902    "ret":-1, 
     903    "error-desc":"用户id不能小于0" 
     904  } 
    918905}}} 
    919906