Changes between Version 16 and Version 17 of web-intf
- Timestamp:
- 02/22/2012 06:32:13 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
web-intf
v16 v17 19 19 20 20 3.3 [#point303 辨认登录状态接口 ] 21 22 21 23 22 4. [#point400 BBS接口 -- 暂不实现 ] … … 263 262 }}} 264 263 264 === 5.1 [=#point501 创建活动 ] === 265 {{{ 266 URL:/intf/act-create.jsp 267 HTTP请求方式:post 268 是否需要登录:是 269 提交参数:common_session_id:登录后的session id 270 name:活动名称 271 start-date:开始时间 272 end-date:结束时间 273 detail:活动详情 274 area-id:地区编号 275 req-enc:请求时字符编码,缺省是UTF-8 276 resp-enc:响应时字符编码,缺省是UTF-8 277 返回参数: 278 {"act-id":2342, 279 "name":"一起去海边", 280 "start-date":"2012-03-18", 281 "end-date":"2012-03-20", 282 "detail":"活动详情,里面通常包括了手台信息", 283 "area-id":233, 284 "area-desc":"广东省/广州市" 285 } 286 返回参数说明: 287 act-id:活动id 288 name:活动名称 289 start-date:开始日期(yyyy-mm-dd) 290 end-date:结束日期(yyyy-mm-dd) 291 detail:活动详情 292 area-id:地区编号 293 area-desc:地区名称 294 排序方式: 295 无 296 }}} 297 298 === 5.2 [=#point502 修改活动 ] === 299 {{{ 300 URL:/intf/act-update.jsp 301 HTTP请求方式:post 302 是否需要登录:是 303 提交参数:common_session_id:登录后的session id 304 act-id:活动id 305 name:活动名称 306 start-date:开始时间 307 end-date:结束时间 308 detail:活动详情 309 area-id:地区编号 310 req-enc:请求时字符编码,缺省是UTF-8 311 resp-enc:响应时字符编码,缺省是UTF-8 312 返回参数: 313 {"act-id":2342, 314 "name":"一起去海边", 315 "start-date":"2012-03-18", 316 "end-date":"2012-03-20", 317 "detail":"活动详情,里面通常包括了手台信息", 318 "area-id":233, 319 "area-desc":"广东省/广州市" 320 } 321 返回参数说明: 322 act-id:活动id 323 name:活动名称 324 start-date:开始日期(yyyy-mm-dd) 325 end-date:结束日期(yyyy-mm-dd) 326 detail:活动详情 327 area-id:地区编号 328 area-desc:地区名称 329 排序方式: 330 无 331 }}} 332 333 334 === 5.3 [=#point503 更新活动状态 ] === 335 {{{ 336 URL:/intf/act-update-status.jsp 337 HTTP请求方式:post 338 是否需要登录:是 339 提交参数:common_session_id:登录后的session id 340 act-id:活动id 341 status:活动名称 342 req-enc:请求时字符编码,缺省是UTF-8 343 resp-enc:响应时字符编码,缺省是UTF-8 344 返回参数: 345 {"act-id":2342, 346 "uid":23233, 347 "status":"一起去海边" 348 } 349 返回参数说明: 350 act-id:活动id 351 uid:用户ID 352 status:活动状态:XXXXXXX ,start,runing,close,deleted 353 排序方式: 354 无 355 }}} 356 357 265 358 === 5.2 [=#point502 获取活动(行程、成员) ] === 266 359 {{{ … … 331 424 是否需要登录:是 332 425 提交参数:common_session_id:登录后的session id 426 act-id:活动id 333 427 routes:[{"seq":1,"route-name":"广州","longitude":"23.2332.2332","latitude":"102.32.232", 334 428 "addr":"广州市高普路","province":"广东","city":"广州","distict":"天河","type":"start","desc":""}, … … 338 432 resp-enc:响应时字符编码,缺省是UTF-8 339 433 返回参数: 340 {"act-rountes":[{"route-id":12,"seq":1,"route-name":"广州","longitude":"23.2332.2332","latitude":"102.32.232", 434 { "act-id":122, 435 "act-rountes":[{"route-id":12,"seq":1,"route-name":"广州","longitude":"23.2332.2332","latitude":"102.32.232", 341 436 "addr":"广州市高普路","province":"广东","city":"广州","distict":"天河","type":"start","desc":""}, 342 437 {"route-id":13,"seq":2,"route-name":"东莞","longitude":"23.2332.2332","latitude":"102.32.232", … … 346 441 } 347 442 返回参数说明: 443 act-id:活动id 348 444 route-id:行程编号 349 445 seq:行程顺序号 … … 367 463 是否需要登录:否 368 464 提交参数:common_session_id:登录后的session id 465 act-id:活动id 369 466 routes:[{"seq":1,"route-name":"广州","longitude":"23.2332.2332","latitude":"102.32.232", 370 467 "addr":"广州市高普路","province":"广东","city":"广州","distict":"天河","type":"start","desc":""}, … … 374 471 resp-enc:响应时字符编码,缺省是UTF-8 375 472 返回参数: 376 {"act-rountes":[{"route-id":12,"seq":1,"route-name":"广州","longitude":"23.2332.2332","latitude":"102.32.232", 473 { "act-id":23232, 474 "act-rountes":[{"route-id":12,"seq":1,"route-name":"广州","longitude":"23.2332.2332","latitude":"102.32.232", 377 475 "addr":"广州市高普路","province":"广东","city":"广州","distict":"天河","type":"start","desc":""}, 378 476 {"route-id":13,"seq":2,"route-name":"东莞","longitude":"23.2332.2332","latitude":"102.32.232", … … 382 480 } 383 481 返回参数说明: 482 act-id:活动ID 384 483 route-id:行程编号 385 484 seq:行程顺序号 … … 733 832 734 833 }}} 834 835 === 5.16 [=#point516 我参加的活动 ] === 836 {{{ 837 URL:/intf/user-act-get.jsp 838 HTTP请求方式:post 839 是否需要登录:是 840 提交参数:common_session_id:登录后的session id 841 page-no:分页页码 842 page-size:分页数量 843 req-enc:请求时字符编码,缺省是UTF-8 844 resp-enc:响应时字符编码,缺省是UTF-8 845 返回参数: 846 { "page-no":1, 847 "page-size":20, 848 "total":4, 849 "uid":32233, 850 "acts":[{"act-id":2323,"name":"明天去看海","create-date":"yyyy-mm-dd hh:mi"}, 851 {"act-id":232,"name":"上山去打渔","create-date":"yyyy-mm-dd hh:mi"}] 852 } 853 返回参数说明: 854 page-no:请求的页码,第一次为1。 855 page-size:每个页面的记录数。 856 total:这次查询的记录总数。 857 uid:用户ID 858 act-id:活动id 859 name:活动名称 860 create-date:创建时间 861 排序方式: 862 1、按创建时间逆序 863 }}} 864 865 866 735 867 === 5.16 [=#point516 车友会查询 ] === 736 868 {{{ … … 740 872 提交参数:autofan-name:车友会名称 741 873 autofan-id:车友会编号 742 page-no: 单个作者的图集分页页码743 page-size: 单个作者的图集分页数量874 page-no:分页页码 875 page-size:分页数量 744 876 prefix:车友会名称的前缀(a-z) 745 877 order-by:id-asc or name-asc … … 986 1118 == 5. [=#point500 车友会接口 ] == 987 1119 == 6. [=#point600 修改历史 ] == 1120 1121 2012-02-22: 1122 - 1123 1124 2012-02-20: 1125 -发布基本版本接口 1126 1127
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)