Changes between Version 50 and Version 51 of web-intf


Ignore:
Timestamp:
03/22/2012 05:55:35 PM (14 years ago)
Author:
daiyuwen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • web-intf

    v50 v51  
    3434 5.1.4 [#point504 获取活动(行程、成员) ] 
    3535 
    36  5.1.5 [#point505 创建行程 ] 
    37  
    38  5.1.6 [#point506 修改行程 ] 
     36 5.1.5 [#point505 创建修改行程 ] 
    3937 
    4038 5.1.7 [#point507 活动报名 ] 
     
    401399}}} 
    402400 
    403 === 5.1.5 [=#point505 创建行程 ] === 
    404 {{{ 
    405     URL:/intf/act-route-create.jsp 
    406     HTTP请求方式:post 
    407     是否需要登录:是 
    408     提交参数:*common_session_id:登录后的session id 
    409               *act-id:活动id 
    410               *routes:[{"seq":1,"route-name":"广州","longitude":"23.2332.2332","latitude":"102.32.232","preLongitude":"123.1","preLatitude":"123.5", 
    411                      "addr":"广州市高普路","province":"广东","city":"广州","distict":"天河","type":"start","desc":""}, 
    412                        {"seq":2,"route-name":"东莞","longitude":"23.2332.2332","latitude":"102.32.232","preLongitude":"123.1","preLatitude":"123.5", 
    413                      "addr":"深圳市八卦岭","province":"广东","city":"深圳","distict":"罗湖","type":"end","desc":""}] 
    414               req-enc:请求时字符编码,缺省是UTF-8 
    415               resp-enc:响应时字符编码,缺省是UTF-8 
    416     返回参数: 
    417     { "act-id":122, 
    418       "act-rountes":[{"route-id":12,"seq":1,"route-name":"广州","longitude":"23.2332.2332","latitude":"102.32.232", 
    419                      "preLongitude":"123.1","preLatitude":"123.5", 
    420                      "addr":"广州市高普路","province":"广东","city":"广州","distict":"天河","type":"start","desc":""}, 
    421                     {"route-id":13,"seq":2,"route-name":"东莞","longitude":"23.2332.2332","latitude":"102.32.232", 
    422                      "addr":"东莞市虎门","province":"广东","city":"东莞","distict":"虎门","type":"pass","desc":""}, 
    423                      "preLongitude":"123.1","preLatitude":"123.5", 
    424                     {"route-id":14,"seq":3,"route-name":"深圳","longitude":"23.2332.2332","latitude":"102.32.232", 
    425                      "preLongitude":"123.1","preLatitude":"123.5", 
    426                      "addr":"深圳市八卦岭","province":"广东","city":"深圳","distict":"罗湖","type":"end","desc":""}] 
    427     } 
    428     返回参数说明: 
    429         act-id:活动id 
    430        route-id:行程编号 
    431         seq:行程顺序号 
    432         route-name:停留点名称 
    433         longitude:经度 
    434         latitude:纬度         
    435         addr:地址说明 
    436         province:省份 
    437         city:城市 
    438         distict:区/县 
    439         type:行程类型:start,end,pass 
    440        desc:描述 
    441         preLongitude:手机设备GPS经度 
    442        preLatitude:手机设备GPS纬度 
    443     排序方式: 
    444         1、按照seq顺序排列 
    445 }}} 
    446  
    447 === 5.1.6 [=#point506 修改行程 ] === 
    448 {{{ 
    449     URL:/intf/act-route-update.jsp, 采取删除/重建的方式来实现修改操作。 
     401=== 5.1.5 [=#point505 创建修改行程 ] === 
     402{{{ 
     403    URL:/intf/act-route-create-update.jsp, 采取删除/重建的方式来实现修改操作。 
    450404    HTTP请求方式:post 
    451405    是否需要登录:否 
     
    13351289     -接口修改 5.4.1 获取评论列表 提交参数增加time-unit,返回参数增加了create-date-GMT  
    13361290 
     1291    -接口5.1.5 创建行程 5.1.6 修改行程 合并为5.1.5 创建修改行程 
     1292 
     1293 
     1294 
    133712952012-03-21 
    13381296     -修改接口5.5.2,取消club-ids,area-id参数。