Changes between Version 17 and Version 18 of pclady_news


Ignore:
Timestamp:
09/12/2014 06:03:44 PM (12 years ago)
Author:
xuzhongzhou
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pclady_news

    v17 v18  
    134134} 
    135135}}} 
     136 
     137=== 6.5 收藏接口 
     138 
     139备注: 
     140 
     141请求URL: 
     142 
     143HTTP请求方式:POST 
     144 
     145是否需要登录:是 
     146 
     147返回格式:json 
     148 
     149缓存方式:* 
     150 
     151缓存时间:* 
     152 
     153请求参数: 
     154 
     155{{{ 
     156  HTTP Header 
     157    Cookie = "common_session_id=xxxx" 
     158  HTTP Body 
     159    id = 8888 
     160}}} 
     161 
     162请求后端URL:* 
     163 
     164请求后端参数:* 
     165 
     166返回: 
     167 
     168{{{ 
     169{ 
     170  "msg": "", 
     171  "ret": 0 
     172} 
     173}}} 
     174 
     175=== 6.6 取消收藏接口 
     176 
     177备注: 
     178 
     179请求URL: 
     180 
     181HTTP请求方式:POST 
     182 
     183是否需要登录:是 
     184 
     185返回格式:json 
     186 
     187缓存方式:* 
     188 
     189缓存时间:* 
     190 
     191请求参数: 
     192 
     193{{{ 
     194  HTTP Header 
     195    Cookie = "common_session_id=xxxx" 
     196  HTTP Body 
     197    id = 8888 
     198}}} 
     199 
     200请求后端URL:* 
     201 
     202请求后端参数:* 
     203 
     204返回: 
     205 
     206{{{ 
     207{ 
     208  "msg": "", 
     209  "ret": 0 
     210} 
     211}}} 
     212 
     213=== 6.7 我的收藏列表接口 
     214 
     215备注: 
     216 
     217请求URL: 
     218 
     219HTTP请求方式:GET 
     220 
     221是否需要登录:是 
     222 
     223返回格式:json 
     224 
     225缓存方式:* 
     226 
     227缓存时间:* 
     228 
     229请求参数: 
     230 
     231{{{ 
     232  HTTP Header 
     233    Cookie = "common_session_id=xxxx" 
     234  HTTP Body 
     235    "pageNo": 1, 
     236    "pageSize": 10 
     237}}} 
     238 
     239请求后端URL:* 
     240 
     241请求后端参数:* 
     242 
     243返回: 
     244 
     245{{{ 
     246{ 
     247  "msg": "", 
     248  "ret": 0, 
     249  "pageNo": 1, 
     250  "pageSize": 10, 
     251  "total": 5, 
     252  "list": [ 
     253    { 
     254      type: 0, 
     255      title: "标题", 
     256      image: "图片URL", 
     257      time: "时间" 
     258    } 
     259  ] 
     260} 
     261}}} 
     262 
     263=== 6.8 应用推荐(Web) 
     264 
     265请求URL: