Changes between Version 6 and Version 7 of api/it


Ignore:
Timestamp:
03/09/2017 12:16:03 PM (9 years ago)
Author:
chenbingzhan
Comment:

添加推荐用户接口

Legend:

Unmodified
Added
Removed
Modified
  • api/it

    v6 v7  
    4141返回说明:如果参数imageLimit不为0, 则返回json会多一个images元素,里面是一个图片路径的数组。 
    4242      其他返回值没变。 
     43 
     44== 4.推荐用户接口 /intf/user/_recommendUser.jsp == 
     45必填参数 : uid 用户id 
     46选填参数 :windowname=true | windowname = 1 ,支持jsonp :callback=回调函数 
     47编码格式:utf-8 
     48请求方式:get/post 
     49 
     50返回说明: 
     51错误返回 : 
     52{"desc":"uid不能含有非数字字符","status":-1} 
     53{"desc":"找不到uid","status":-2} 
     54{"desc":"接口异常:" + e.getMessage()","status":-3} 
     55 
     56成功返回: 
     57{ 
     58    "list": [ 
     59        { 
     60            "fansCount": 197,  //粉丝数 
     61            "focusCount": 53, //关注数 
     62            "isVip": 0,   //0 - 非达人 , 1 - 达人 
     63            "nickname": "disman_007", //昵称 
     64            "roleIcon": 2, //角色icon标记 
     65            "roleId": 8,  // 0 - 普通用户,一般是推帖版主中的作者 , 7 - 版主 , 8 - 版副 , 9 - 嘉宾 
     66            "roleName": "版副", //角色名称 
     67            "topicCount": 358,  //发帖总数 
     68            "uid": 1417997,    //用户id 
     69            "userFaceUrl": "http://i7.3conline.com/images/upload/upc/face/14/17/99/7/1417997_70x70" //用户头像 
     70        }, 
     71       ..... 
     72    ], 
     73    "listCount": 8 //列表总数 
     74} 
     75 
     76 
     77 
     78 
     79 
     80 
     81 
     82 
     83