码迷,mamicode.com
首页 > 移动开发 > 详细

getAppMsg 取我的消息

时间:2016-06-23 06:31:09      阅读:251      评论:0      收藏:0      [点我收藏+]

标签:

post

request:

技术分享
{
      "action":"getAppMsg",
      "token":"b6d52fd8-b61f-43e5-8e34-6b18a2378666",
       "isDebug":1,
      "requestData": {
        "PageSize":3,
        "PageIndex":0,
        "Keyword":""
    }
}
View Code

response:

技术分享
{
    "data": {
        "List": [
            {
                "FullURL": "http://jsh5.blog.163.com/blog/static/1035502352009718112035146/",
                "Key": "b8eab715-02e1-458e-a38d-c095e5397d6d",
                "PublishedStamp": "2016-05-17 00:00:00",
                "Tags": "test1,test2",
                "Title": "东南有烈酒  ",
                "UnRead": true
            },
            {
                "FullURL": "http://jsh5.blog.163.com/blog/static/103550235200971692515486/",
                "Key": "692f2a4b-4b70-4aeb-af6b-8bb3d7a4dcae",
                "PublishedStamp": "2016-06-17 00:00:00",
                "Tags": "test3",
                "Title": "酒量是天生的?  ",
                "UnRead": true
            }
        ],
        "SummaryRecord": {
            "PageIndex": 0,
            "PageSize": 3,
            "TotalPageCount": 1,
            "TotalRecordCount": 2
        }
    },
    "msg": "success",
    "responseCode": {
        "msgCode": 200,
        "msgDetail": "OK"
    },
    "serverTime": "2016-06-23 02:46:04",
    "success": true
}
View Code

request 2:

技术分享
{
      "action":"getAppMsg",
      "token":"b6d52fd8-b61f-43e5-8e34-6b18a2378666",
       "isDebug":1,
      "requestData": {
        "Key":"692f2a4b-4b70-4aeb-af6b-8bb3d7a4dcae"
    }
}
View Code

response:

技术分享
{
    "data": {
        "List": [
            {
                "FullURL": "http://jsh5.blog.163.com/blog/static/103550235200971692515486/",
                "Key": "692f2a4b-4b70-4aeb-af6b-8bb3d7a4dcae",
                "PublishedStamp": "2016-06-17 00:00:00",
                "Tags": "test3",
                "Title": "酒量是天生的?  ",
                "UnRead": true
            }
        ],
        "SummaryRecord": {
            "PageIndex": 0,
            "PageSize": 10,
            "TotalPageCount": 1,
            "TotalRecordCount": 1
        }
    },
    "msg": "success",
    "responseCode": {
        "msgCode": 200,
        "msgDetail": "OK"
    },
    "serverTime": "2016-06-23 02:47:42",
    "success": true
}
View Code

 

说明:

       keyword 与 key 都可以不传。

       pageSize 与 pageIndex也都可不传。

       pageSize 不传时,后台默认为 10;

       pageIndex 不传时,后台默认值为 0,表示第一页。

 

(结束)

getAppMsg 取我的消息

标签:

原文地址:http://www.cnblogs.com/jwiter/p/5609170.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!