Changes between Version 4 and Version 5 of pclady_jiekou


Ignore:
Timestamp:
09/19/2014 04:13:51 PM (12 years ago)
Author:
xuzhongzhou
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pclady_jiekou

    v4 v5  
    8181备注: 
    8282 
    83 请求URL: 
    84  
    85 HTTP请求方式:GET 
    86  
    87 是否需要登录:是 
    88  
    89 返回格式:json 
    90  
    91 缓存方式:* 
    92  
    93 缓存时间:* 
    94  
    95 请求参数: 
    96  
    97 {{{ 
    98   HTTP Header 
    99     Cookie = "common_session_id=xxxx" 
    100   HTTP Body 
    101     id = 8888 
     83请求URL:http://v49.pclady.com.cn/users/isfavor.do?id=953577 
     84 
     85HTTP请求方式:GET 
     86 
     87是否需要登录:是 
     88 
     89返回格式:json 
     90 
     91缓存方式:* 
     92 
     93缓存时间:* 
     94 
     95请求参数: 
     96 
     97{{{ 
     98  HTTP Header 
     99    Cookie = "common_session_id=xxxx" 
     100  HTTP Body 
     101    id = 953577 
    102102}}} 
    103103 
     
    114114  "favor": true 
    115115} 
     116提示说明: 
     117{"ret= 1":"favor:true","ret=-1":"msg:请先登录","ret=-2":"msg:文章不存在","ret=2":"favor:false"} 
    116118}}} 
    117119 
     
    120122备注: 
    121123 
    122 请求URL: 
     124请求URL:http://v49.pclady.com.cn/users/favor.do?id=953577 
    123125 
    124126HTTP请求方式:POST 
     
    138140    Cookie = "common_session_id=xxxx" 
    139141  HTTP Body 
    140     id = 8888 
     142    id = 953577 
    141143}}} 
    142144 
     
    152154  "ret": 0 
    153155} 
     156提示说明: 
     157{"ret= 1":"msg:收藏成功","ret=-1":"msg:请先登录","ret=-2":"msg:文章不存在","ret=-3":"msg:你已经收藏过了"} 
    154158}}} 
    155159 
     
    158162备注: 
    159163 
    160 请求URL: 
     164请求URL:http://v49.pclady.com.cn/users/unfavor.do?id=953577 
    161165 
    162166HTTP请求方式:POST 
     
    176180    Cookie = "common_session_id=xxxx" 
    177181  HTTP Body 
    178     id = 8888 
     182    id = 953577 
    179183}}} 
    180184 
     
    190194  "ret": 0 
    191195} 
     196提示说明: 
     197{"ret= 1":"msg:取消收藏成功","ret=-1":"msg:请先登录","ret=-2":"msg:文章不存在","ret=-3":"msg:你并没有收藏此文章"} 
    192198}}} 
    193199 
     
    196202备注: 
    197203 
    198 请求URL: 
     204请求URL:http://v49.pclady.com.cn/users/pagefavor.do?pageNo=1&pageSize=10 
    199205 
    200206HTTP请求方式:GET