Changes between Version 8 and Version 9 of pcauto_magazine_interface_3.1.0


Ignore:
Timestamp:
11/27/2015 05:56:43 PM (10 years ago)
Author:
dengyurong
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_magazine_interface_3.1.0

    v8 v9  
    1515'''(开发已完成)'''[[BR]] 
    1616>mrobot地址:http://dev40.pcauto.com.cn/xsp/s/auto/info/cms/getSystemMessage.xsp?pageNo=1&pageSize=20 [[BR]] 
    17 联系杂志君后台开发环境:http://dev2.pcauto.com.cn/intf/sysnotice.jsp?act=find&siteId=2&typeIds=2007&pageNo=&pageSize=  [[BR]] 
    18                         http://dev2.pcauto.com.cn/intf/sysnotice.jsp?act=find&siteId=2&typeIds=2041&pageNo=&pageSize=  [[BR]] 
    19                         http://dev2.pcauto.com.cn/intf/sysnotice.jsp?act=find&siteId=2&typeIds=2042&pageNo=&pageSize=  [[BR]] 
     17联系杂志君后台开发环境:http://test232.pconline.com.cn:8001/intf/sysnotice.jsp?act=find&siteId=2&typeIds=2007&pageNo=&pageSize=  [[BR]] 
     18                        http://test232.pconline.com.cn:8001/intf/sysnotice.jsp?act=find&siteId=2&typeIds=2041&pageNo=&pageSize=  [[BR]] 
     19                        http://test232.pconline.com.cn:8001//intf/sysnotice.jsp?act=find&siteId=2&typeIds=2042&pageNo=&pageSize=  [[BR]] 
    2020联系杂志君后台线上环境:http://bip.pcauto.com.cn/intf/sysnotice.jsp?act=find&siteId=2&typeIds=2007&pageNo=&pageSize=  [[BR]] 
    2121                        http://bip.pcauto.com.cn/intf/sysnotice.jsp?act=find&siteId=2&typeIds=2041&pageNo=&pageSize=  [[BR]] 
     
    2424**说明** 
    2525 
    26 > 系统消息&赞与回复消息 
     26> 系统消息&赞与回复消息  可用测试环境sn25018537这个账号测试 
    2727 
    2828**缓存时间** 
     
    5252{{{#!java 
    5353{ 
    54     "sysMessage": {   //系统消息 
    55         "total": 9, 
    56         "pageNo": 1, 
    57         "resultList": [ 
    58             { 
    59                 "content": "我是大头啊!", 
    60                 "mId": 2, 
    61                 "subType": "contactUs", 
    62                 "time": "2015-11-20 11:01:19" 
     54    "totalPage": 2, 
     55    "pageNo": "1", 
     56    "pageSize": "10", 
     57    "data": [ 
     58        { 
     59            "createTime": "2015-11-27 14:52:25", 
     60            "myselfContent": "我们就那样了哦~哈哈~",     //被点赞的内容 
     61            "topicTitle": "我们的http://magazine.pcauto.com.cn/497/6584",     
     62            "topicUrl": "http://magazine.pcauto.com.cn/497/6584",        //文章链接 
     63            "supUserId": 388,             //点赞用户id 
     64            "supNikeName": "fish",        //点赞用户昵称 
     65            "topicId": 13278890,           
     66            "cmtFloor": 13,               
     67            "cmtId": 100939,      
     68            "messageType": "commentLike",     //消息类型:点赞 
     69            "time": "2015-11-27 14:52:25",   //点赞时间 
     70            "messageId": 8542489,           //消息id 
     71            "magazineId": "497",            //杂志id 
     72            "articleId": "6584",            //文章id 
     73            "face": "http://dev2.pcauto.com.cn:9191/upchead/38/8/388_100x100",    //用户头像 
     74            "articleTitle": "我们的http://magazine.pcauto.com.cn/497/6584"        //文章标题 
     75        }, 
     76        { 
     77            "createTime": "2015-11-27 14:51:51", 
     78            "myselfContent": "召唤我大点赞党~", 
     79            "topicTitle": "我们的http://magazine.pcauto.com.cn/497/6584", 
     80            "topicUrl": "http://magazine.pcauto.com.cn/497/6584", 
     81            "supUserId": 0, 
     82            "supNikeName": "广东省广州市网友", 
     83            "topicId": 13278890, 
     84            "cmtFloor": 12, 
     85            "cmtId": 100939, 
     86            "messageType": "commentLike", 
     87            "time": "2015-11-27 14:51:51", 
     88            "messageId": 8542490, 
     89            "magazineId": "497", 
     90            "articleId": "6584", 
     91            "face": "http://dev2.pcauto.com.cn:9191/upchead/0/0_100x100", 
     92            "articleTitle": "我们的http://magazine.pcauto.com.cn/497/6584" 
     93        }, 
     94        { 
     95            "createTime": "2015-11-27 14:51:31", 
     96            "myselfContent": "求啊求点赞,赞呢~卧槽,亏如狗~", 
     97            "topicTitle": "我们的http://magazine.pcauto.com.cn/497/6584", 
     98            "topicUrl": "http://magazine.pcauto.com.cn/497/6584", 
     99            "supUserId": 0, 
     100            "supNikeName": "广东省广州市网友", 
     101            "topicId": 13278890, 
     102            "cmtFloor": 11, 
     103            "cmtId": 100939, 
     104            "messageType": "commentLike", 
     105            "time": "2015-11-27 14:51:31", 
     106            "messageId": 8542491, 
     107            "magazineId": "497", 
     108            "articleId": "6584", 
     109            "face": "http://dev2.pcauto.com.cn:9191/upchead/0/0_100x100", 
     110            "articleTitle": "我们的http://magazine.pcauto.com.cn/497/6584" 
     111        }, 
     112        { 
     113            "createTime": "2015-11-26 16:32:32", 
     114            "cmtContent": "感觉不错啊~",          //评论者发表的回复 
     115            "myselfContent": "还阔以哦~",         //被评论的内容 
     116            "topicTitle": "test magazine",         
     117            "topicUrl": "http://magazine.pcauto.com.cn/497/6589",    //文章链接 
     118            "client": 1, 
     119            "topicId": 13278933, 
     120            "cmtFloor": 13, 
     121            "cmtUserId": 826717,                  //评论用户id 
     122            "cmtAuthor": "深海无声",              //评论用户昵称 
     123            "cmtId": 100939, 
     124            "cmtListUrl": "http://192.168.50.69/topic/a0/r0/p1/ps30/t13278933.html", 
     125            "messageType": "commentReply",           //消息类型:评论 
     126            "time": "2015-11-26 16:32:32",           //评论时间 
     127            "messageId": 8542430,                    //消息id 
     128            "magazineId": "497",                     //杂志id 
     129            "articleId": "6589",                     //文章id 
     130            "face": "http://dev2.pcauto.com.cn:9191/upchead/82/67/17/826717_100x100",        //评论用户头像 
     131            "articleTitle": "test magazine"          //文章标题 
     132        }, 
     133        { 
     134            "content": "dfdfdfd",           //消息内容 
     135            "link": "baidu.com",            //链接 
     136            "subType": "linking",           //系统消息的类型 
     137            "time": "2015-11-25 10:01:24",  //消息时间 
     138            "messageId": 61,                //消息id 
     139            "messageType": "sysMessage"     //消息类型:系统消息 
     140        }, 
     141        { 
     142            "content": "hjahfjah ", 
     143            "subType": "contactUs", 
     144            "time": "2015-11-23 18:25:36", 
     145            "messageId": 52, 
     146            "messageType": "sysMessage" 
     147        }, 
     148        { 
     149            "content": "nice", 
     150            "link": "baidu.com", 
     151            "subType": "linking", 
     152            "time": "2015-11-23 18:24:19", 
     153            "messageId": 51, 
     154            "messageType": "sysMessage" 
     155        }, 
     156        { 
     157            "content": "百度一下,你就知道", 
     158            "subType": "contactUs", 
     159            "time": "2015-11-23 15:11:22", 
     160            "messageId": 22, 
     161            "messageType": "sysMessage" 
     162        }, 
     163        { 
     164            "articleData": { 
     165                "articleId": 12121, 
     166                "magazineId": 2626 
    63167            }, 
    64             { 
    65                 "content": "测试", 
    66                 "link": "http://bug.pconline.com.cn/bugfree/Bug.php?BugID=56100", 
    67                 "mId": 1, 
    68                 "subType": "linking", 
    69                 "time": "2015-11-20 10:38:42" 
    70             }, 
    71             { 
    72                 "articleData": { 
    73                     "articleId": 40, 
    74                     "magazineId": 18 
    75                 }, 
    76                 "content": "杂志文章来了", 
    77                 "mId": 72, 
    78                 "subType": "messageArticle", 
    79                 "time": "2015-11-18 13:01:34" 
    80             }, 
    81         ], 
    82         "pageCount": 1, 
    83         "pageSize": 20, 
    84         "messageType": 1 
    85     }, 
    86     "replyMessage": {    //回复 
    87         "total": 1, 
    88         "pageNo": 1, 
    89         "resultList": [ 
    90             { //评论消息 
    91               "messageId":1,//消息ID  
    92               "messageType":"commentReply", 
    93               "magazineId":559,//期刊Id  
    94               "magazineTitle":"10 刊",//期刊名称 
    95               "articleTitle":"玛莎拉蒂情"// 文章名称 
    96               "content":"今天的天 真好",//原帖 内容 即该帐号 户        发的评论 
    97               "replyRefs":{ //评论者的信息 
    98                  "content": "说得太对了", //评论的内容 
    99                  "createTime": "2015-11-02 14:31:35", //评论的时间 
    100                  "face": "http://i1.3conline.com/images/upload/upc/face/42/03/17/09/ 42031709_50x50", //评论者的头像 
    101                  "id": 27584073, //评论者的id 
    102                  "nickName": "mb42031709", //评论的昵称 
    103                } 
    104             } 
    105         ], 
    106         "pageCount": 1, 
    107         "pageSize": 20, 
    108         "messageType": 2 
    109     }, 
    110     "praiseMessage": {     //点赞 
    111         "total": 1, 
    112         "pageNo": 1, 
    113         "resultList": [ 
    114               { //评论消息 
    115               "messageId":23,//消息ID  
    116               "messageType":"commentLike", 
    117               "magazineId":559,//期刊Id  
    118               "magazineTitle":"10 刊",//期刊名称 
    119               "articleTitle":"玛莎拉蒂情"// 文章名称 
    120               "content":"今天的天 真好",//原帖 内容 即该帐号 户        发的评论 
    121               "replyRefs":{ //评论者的信息 
    122                  "content": "说得太对了", //评论的内容 
    123                  "createTime": "2015-11-02 14:31:35", //评论的时间 
    124                  "face": "http://i1.3conline.com/images/upload/upc/face/42/03/17/09/ 42031709_50x50", //评论者的头像 
    125                  "id": 27584073, //评论者的id 
    126                  "nickName": "mb42031709", //评论的昵称 
    127                } 
    128             } 
    129         ], 
    130         "pageCount": 1, 
    131         "pageSize": 20, 
    132         "messageType": 3 
    133     } 
     168            "content": "百度一下,你就知道", 
     169            "subType": "messageArticle", 
     170            "time": "2015-11-23 15:11:09", 
     171            "messageId": 21, 
     172            "messageType": "sysMessage" 
     173        }, 
     174        { 
     175            "content": "HSY,等10分钟看看", 
     176            "subType": "contactUs", 
     177            "time": "2015-11-20 15:30:03", 
     178            "messageId": 17, 
     179            "messageType": "sysMessage" 
     180        } 
     181    ] 
    134182} 
    135183}}} 
    136184**返回参数说明** 
    137185||= 参数名 =||= 参数含义 =||= 参数名 =||= 参数含义 =|| 
    138 ||= messageType =||= 1:系统消息,2:回复,3:点赞 =||= total =||= 消息数 =|| 
     186||= messageType =||= sysMessage:系统消息,commentReply:回复,commentLike:点赞 =||= total =||= 消息数 =|| 
    139187||= pageNo =||= 页码 =||= pageSize =||= 每页大小 =|| 
    140188||= pageCount =||= 页数 =||= content =||= 消息内容 =|| 
    141 ||= mId =||= 消息id =||= subType =||= contactUs:联系杂志君,linking:外链,messageArticle:期刊文章 =|| 
     189||= messageId =||= 消息id =||= subType =||= contactUs:联系杂志君,linking:外链,messageArticle:期刊文章 =|| 
    142190||= time =||= 时间 =||= link =||= 外链地址 =|| 
    143191||= articleData =||= 期刊文章信息 =||= messageId =||= 消息id =|| 
    144 ||= messageType =||= commentReply:回复,commentLike:点赞 =||= magazineTitle =||= 杂志标题 =|| 
    145 ||= content =||= 原帖内容 =||= replyRefs =||= 评论者的信息 =|| 
    146  
     192||= cmtContent =||= 评论者发表的回复 =||= myselfContent =||= 被评论的内容 =|| 
     193||= articleTitle =||= 文章标题 =||= topicUrl =||= 文章链接 =|| 
     194||= cmtUserId =||= 评论用户id =||= cmtAuthor =||= 评论用户昵称 =|| 
     195||= magazineId =||= 期刊id =||= articleId =||= 文章id =|| 
     196||= cmtContent =||= 评论者发表的回复 =||= myselfContent =||= 被评论的内容 =|| 
     197||= face =||= 用户头像 =||= supUserId =||= 点赞用户id =|| 
     198||= supUserNickName  =||= 点赞用户昵称 =||=  =||=  =|| 
    147199---------- 
    148200