Changes between Version 58 and Version 59 of web-intf


Ignore:
Timestamp:
03/28/2012 11:44:54 AM (14 years ago)
Author:
daiyuwen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • web-intf

    v58 v59  
    8181 
    8282 5.6.2 [#point5602 获取实际行程 ] 
     83 
     84 5.7.1 [#point5701 获取系统通知 ] 
    8385 
    8486 6. [#point600 Error Code ] 
     
    13941396 
    13951397 
     1398=== 5.7.1 [=#point5701 获取系统通知 ] === 
     1399{{{ 
     1400    URL:/intf/notice-get.jsp,此接口是返回系统的通知 
     1401    HTTP请求方式:get 
     1402    是否需要登录:是 
     1403    提交参数:status:需要取什么状态的系统消息,默认是全部(全部:-1;未读:0;已读:1)   
     1404              time-unit:时间单位参数,us 为微秒,ms为毫秒 ,默认为微秒,返回值会有所变化  
     1405              page-no:分页页码 
     1406              page-size:单页数量 
     1407              req-enc:请求时字符编码,缺省是UTF-8 
     1408              resp-enc:响应时字符编码,缺省是UTF-8 
     1409    返回参数: 
     1410                { "pageNo" : 1, 
     1411                  "pageSize" : 2, 
     1412                  "total" : 23, 
     1413                  "notices":[{ 
     1414                                "id":6949132, 
     1415                                "type-id":2005, 
     1416                                "type-desc":"活动状态提醒", 
     1417                                "act-id":66, 
     1418                                "act-name":"自驾去西藏", 
     1419                                "senderId":0, 
     1420                                "senderName":"", 
     1421                                "sender-img-url":"", 
     1422                                "content":"活动开始,祝您一路平安,玩的开心", 
     1423                                "create-date":"2012-04-06 12:43", 
     1424                                "create-date-GMT":1332838892000, 
     1425                                "statics":"-1", 
     1426                                "thumbnail-url":"", 
     1427                                "accountId":"24242860" 
     1428                                }, 
     1429                                { 
     1430                                "id":6949133, 
     1431                                "type-id":2005, 
     1432                                "type-desc":"活动状态提醒", 
     1433                                "act-id":66, 
     1434                                "act-name":"自驾去西藏", 
     1435                                "senderId":0, 
     1436                                "senderName":"", 
     1437                                "sender-img-url":"", 
     1438                                "content":"活动开始,祝您一路平安,玩的开心", 
     1439                                "create-date":"2012-04-06 12:43", 
     1440                                "create-date-GMT":1332838892000, 
     1441                                "statics":"-1", 
     1442                                "thumbnail-url":"", 
     1443                                "accountId":"24242860" 
     1444                                }] 
     1445                } 
     1446    返回参数说明: 
     1447        pageNo:分页页码 
     1448        pageSize:单页数量 
     1449        total:总的消息数量 
     1450        id:通知的ID 
     1451        type-id : 消息类型的ID,比如有 2005,目前定义的有( 
     1452                                        2005    活动状态提醒  2006    活动中队长通知 
     1453                                        2007    图片更新提醒  2008    活动新加入成员 
     1454                                        2009    评论提醒            2010    系统通知活动           
     1455                                        2011    帐单更新) 
     1456        type-desc : 消息类型的描述 比如"活动状态提醒" 
     1457        act-id : 活动ID 
     1458        act-name : 活动名称 
     1459        senderId : 发送者ID,若为0则为系统消息 
     1460        senderName : 发送者昵称 
     1461        sender-img-url : 发送者头像 
     1462        content : 内容 
     1463        create-date:发送时间,yyyy-mm-dd hh:mi:ss 。 
     1464        create-date-GMT:发送时间 格林尼治时间1970-1-1 0:0:0 到当时的毫秒或微秒 根据参数time-unit而不同 
     1465        statics : 什么状态的系统消息,全部:-1;未读:0;已读:1 
     1466        thumbnail-url : 缩略图URL 
     1467        accountId : 接收人的ID 
     1468    排序方式: 
     1469        按create-date时间逆序 
     1470}}} 
     1471 
    13961472 
    13971473== 6. [=#point600 Error Code ] ==   
     
    14001476 
    14011477== 7. [=#point700 修改历史 ] == 
     1478 
     14792012-03-28 
     1480     -增加接口:5.7.1 获取系统通知 
    14021481 
    140314822012-03-27