Changes between Version 8 and Version 9 of appapi/1.0


Ignore:
Timestamp:
10/13/2015 04:44:45 PM (11 years ago)
Author:
zhoutianhuai
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • appapi/1.0

    v8 v9  
    277277==== 1.6. 根据uid获取用户信息接口1.0 ==== 
    278278{{{ 
    279 接口/intf/clubgc/getUserInfo.do [get] 
     279接口/intf/clubgc/getUserInfoById.do [get] 
    280280请求参数 :uid 
    281281 
     
    297297 
    298298}}}  
     299 
     300 
     301==== 1.7. 兑换接口1.0 ==== 
     302{{{ 
     303接口/intf/clubgc/exchangeReward.do [post] 
     304请求参数 :amount(int):消耗金币数 
     305          exchangeNum (int):兑换礼品数 
     306          exchangeGift(String):兑换礼品名称 
     307 
     308是否登录 : 是 
     309缓存时间 : 否 
     310是否分页 : 否 
     311 
     312返回结果: 
     313{ 
     314        { 
     315         "desc": 兑换结果信息, 
     316         "logId": 流水号, 
     317         "status": 0-成功 -1参数错误 1-失败 
     318   } 
     319} 
     320}}} 
     321 
     322 
     323==== 1.8. 取消兑换接口1.0 ==== 
     324{{{ 
     325接口/intf/clubgc/undoExchangeReward.do [post] 
     326请求参数 :logId(long):兑换流水账号 
     327           uid (long):用户id 
     328 
     329是否登录 : 否 
     330缓存时间 : 否 
     331是否分页 : 否 
     332 
     333返回结果: 
     334{       
     335    { 
     336         "desc": "返回跟踪信息", 
     337         "status": 0-成功 -1参数错误 1-失败 
     338    } 
     339} 
     340}}} 
     341 
     342==== 2.0. 更新用户金币数接口1.0 ==== 
     343{{{ 
     344接口/intf/clubgc/admin/updateAccount.do [post] 
     345请求参数 :uid(long):用户id 
     346           amount(int):增加金币数 
     347 
     348是否登录 : 是 
     349缓存时间 : 否 
     350是否分页 : 否 
     351 
     352返回结果: 
     353{       
     354   { 
     355    "desc": 返回信息, 
     356    "status": -1-失败 0-成功 
     357  } 
     358} 
     359}}} 
     360 
     361==== 2.1. 邀请排行榜接口1.0 ==== 
     362{{{ 
     363接口URL:/intf/club/invitationRankingList.do    [GET] 
     364 
     365请求参数:无 
     366 
     367是否登录:是 
     368缓存时间:无 
     369是否分页:是 
     370 
     371返回结果: 
     372 code:0成功,-1失败 
     373 message:提示信息 
     374 
     375 pageNo:页码 
     376 pageSize:每页条数 
     377 pageCount:总共几页 
     378 
     379  rankingArray: [ 
     380             { 
     381          nickname: 用户昵称, 
     382          times: 邀请次数, 
     383          userId: 用户id 
     384           } 
     385    ], 
     386       userInfo: { 
     387         curRanking: 当前排名, 
     388         times: 邀请人数, 
     389         userId: 用户id 
     390      } 
     391}}}