Changes between Version 33 and Version 34 of pcauto_4.6.0/interface


Ignore:
Timestamp:
01/04/2015 09:46:56 AM (11 years ago)
Author:
liguokai
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_4.6.0/interface

    v33 v34  
    2121=== 2.1 [=#point2.1 资讯] === 
    2222=== 2.1.1 [=#point2.1.1 文章收藏批量操作] === 
    23 请求url: 
    24 [[BR]]后端地址: 
    25 [[BR]]请求方式: 
     23请求url:http://mrobot.pcauto.com.cn/v2/cms/batchArticles 
     24[[BR]]后端地址:http://bip.pcauto.com.cn/intf/article.jsp 
     25[[BR]]请求方式:post 
    2626[[BR]]是否需要登录:是 
    2727[[BR]]返回格式:JSON 
     
    3030[[BR]]请求参数:[[BR]] 
    3131||参数名||类型||必须||说明|| 
    32 [[BR]]返回结果: 
     32||act||String||必须||act=batchDelArtCollect表示批量取消收藏|| 
     33||articleIds||String||必须||文章id串,“,”逗号分隔,如:1258,46816|| 
     34||siteId||int||必须||站点id:(1:online(电脑网);2:auto(汽车网);3:games(游戏网);4:lady(时尚网);5:baby(亲子网);6:house(家居网))|| 
     35[[BR]]返回结果: 
     36[[BR]]{"code":1,"message":"收藏/取消收藏文章成功"}   
     37[[BR]]{"code":-1,"message":"登录后才能操作"} 
    3338=== 2.1.2 [=#point2.1.2 获取账号的收藏文章] === 
    34 请求url: 
    35 [[BR]]后端地址: 
    36 [[BR]]请求方式: 
     39请求url:http://mrobot.pcauto.com.cn/v2/cms/getMyCollection 
     40[[BR]]后端地址:http://bip.pcauto.com.cn/intf/article.jsp 
     41[[BR]]请求方式:get 
    3742[[BR]]是否需要登录:是 
    3843[[BR]]返回格式:JSON 
     
    4146[[BR]]请求参数:[[BR]] 
    4247||参数名||类型||必须||说明|| 
    43 [[BR]]返回结果: 
    44  
     48||siteId||int||必须||站点id:(1:online(电脑网);2:auto(汽车网);3:games(游戏网);4:lady(时尚网);5:baby(亲子网);6:house(家居网))|| 
     49||pageNo||String||非必须||页号(不传默认为1)|| 
     50||pageSize||String||非必须||每页显示多少条数据(不传默认为20,最小值为1,最大值为100)|| 
     51[[BR]]返回结果: 
     52{ 
     53   articleList: [ 
     54                 { 
     55                   collectid: "142734",    //收藏id[[BR]] 
     56                   id: "2048279",          //文章id[[BR]] 
     57                   image: "http://img0.pcauto.com.cn/pcauto/1208/14/g_2048279_1344900311845.jpg",   [[BR]] 
     58                   image2: "",[[BR]] 
     59                   preView: "雪铁龙对新世嘉相当重视,厂家甚至将它看成是一款全新换代车型。而新车究竟新在哪里?",   [[BR]] 
     60                   pubDate: "2012-08-14",   [[BR]] 
     61                   tags: "世嘉;雪铁龙;东风雪铁龙",   [[BR]] 
     62                   title: "雪铁龙新世嘉评测 主要的变化来自外观",   [[BR]] 
     63                   topicUrl: "http://roadtest.pcauto.com.cn/yc/1207/2048279.html",    [[BR]] 
     64                   url: "http://www.pcauto.com.cn/pingce/yc/1207/2048279.html"    [[BR]] 
     65                   },...... 
     66                  ] 
     67} 
    4568=== 3.1 [=#point3.1 找车] === 
    4669=== 3.1.1 [=#point3.1.1 车系车型图片筛选条件] ===