Changes between Version 20 and Version 21 of web-intf


Ignore:
Timestamp:
02/24/2012 03:49:46 PM (14 years ago)
Author:
yangbo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • web-intf

    v20 v21  
    7575 
    7676 5.5.3 [#point5503 同车友会、同地区推荐 ] 
     77 
     78 5.6.1 [#point5601 提交实际行程 ] 
     79 
     80 5.6.2 [#point5602 获取实际行程 ] 
    7781 
    7882 6. [#point600 修改历史 ] 
     
    10841088    URL:/intf/act-auto-match.jsp 
    10851089    HTTP请求方式:get 
    1086     是否需要登录: 
     1090    是否需要登录: 
    10871091    提交参数:common_session_id:登录后的session id 
    10881092              club-ids:查询条件,车友会IDS,用逗号分隔。例如(323,3434,34343) 
     
    11181122}}} 
    11191123 
    1120 == 5. [=#point500 车友会接口 ] == 
     1124=== 5.6.1 [=#point5601 提交实际行程 ] === 
     1125{{{ 
     1126    URL:/intf/act-route-post.jsp 
     1127    HTTP请求方式:post 
     1128    是否需要登录:是 
     1129    提交参数:common_session_id:登录后的session id 
     1130              points:[{"lon":23.2332323,"lat":232.344434334},{"lon":23.2332323,"lat":232.344434334}] 
     1131              req-enc:请求时字符编码,缺省是UTF-8 
     1132              resp-enc:响应时字符编码,缺省是UTF-8 
     1133    返回参数: 
     1134        无。 
     1135    返回参数说明: 
     1136        无。 
     1137    排序方式: 
     1138        无。 
     1139}}} 
     1140 
     1141 
     1142=== 5.6.2 [=#point5602 获取实际行程 ] === 
     1143{{{ 
     1144    URL:/intf/act-route-get.jsp 
     1145    HTTP请求方式:get 
     1146    是否需要登录:否 
     1147    提交参数:act-id:活动id 
     1148              last-access-time:最后访问时间(这个是服务器时间,用来过滤实际行程的数据。) 
     1149              req-enc:请求时字符编码,缺省是UTF-8 
     1150              resp-enc:响应时字符编码,缺省是UTF-8 
     1151    返回参数: 
     1152        {last-access-time:2332233, 
     1153         "uid":33223, 
     1154         "nickname":"上山打老虎", 
     1155         "real-route":[{"lon":23.2332323,"lat":232.344434334},{"lon":23.2332323,"lat":232.344434334}], 
     1156         "member":[{"uid":2333,"nickname":"我是一条鱼","lon":23.2332323,"lat":232.344434334,"lon":23.2332323,"lat":232.344434334}, 
     1157                   {"uid":4353,"nickname":"我是一条鱼","lon":23.2332323,"lat":232.344434334,"lon":23.2332323,"lat":232.344434334} 
     1158                  ] 
     1159        } 
     1160    返回参数说明: 
     1161        last-access-time:本次访问的时间,这个时间要从数据库服务器获取。 
     1162        uid:用户id 
     1163        nickname:昵称 
     1164        lon:经度 
     1165        lat:纬度         
     1166    排序方式: 
     1167        1、队长的实际行程,按照时间顺序排列。 
     1168}}} 
     1169 
     1170 
    11211171== 6. [=#point600 修改历史 ] == 
     1172 
     11732012-02-24: 
     1174    -新增5.6.1提交实际行程接口 
     1175 
     1176    -新增5.6.2获取实际行程接口 
    11221177 
    112311782012-02-22: