Changes between Version 11 and Version 12 of price_api_2.2.0


Ignore:
Timestamp:
10/29/2015 11:32:42 AM (10 years ago)
Author:
oujianqiang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • price_api_2.2.0

    v11 v12  
    11[[TOC]] 
    22 
    3 = 聚超值2.1.0接口文档 =  
     3= 聚超值2.2.0接口文档 =  
    44 
    55== 一.基本约定 == 
     
    130130**mrobot接口** 
    131131 
    132 > http://mrobot.pconline.com.cn/s-1800/best/cms/topicDetail.xsp?topicId=125405&platform=iOS&v=2.1.0&resVer=21000  
     132> http://mrobot.pconline.com.cn/s-1800/best/cms/topicDetail.xsp?topicId=125405&platform=iOS&v=2.2.0&resVer=21000  
    133133 
    134134**后端接口** 
     
    190190  firstPic: $topic.cover(获取350x350大小的) 
    191191  bestBuyLink:"bestbuy://topic-1.cc",  //直达链接,可能是自定义的协议或者普通的url 
    192   commentCount:245 //评论数 【V2.1.0需求:新增字段,请求评论数接口获取】 
    193   commentId:45 //评论id 【V2.1.0需求:新增字段,请求评论数接口获取】 
     192  commentCount:245 //评论数  
     193  commentId:45 //评论id  
    194194  iphoneResVer:21000 //模板版本号(iOS请求时返回) 
    195195  androidResVer:21000 //模板版本号(Android请求时返回) 
     
    209209  purchasingNum: $topic.purchasingCount.totalCount 
    210210  firstPic: $topic.cover,(获取350x350大小的) 
    211   commentCount:245 //评论数 【V2.1.0需求:新增字段,请求评论数接口获取】 
    212   commentId:45 //评论id 【V2.1.0需求:新增字段,请求评论数接口获取】 
     211  commentCount:245 //评论数  
     212  commentId:45 //评论id  
    213213  iphoneResVer:21000 //模板版本号(iOS请求时返回) 
    214214  androidResVer:21000 //模板版本号(Android请求时返回) 
     
    516516|| outerId || 商品outerId || string || "" || 是 ||  || 
    517517|| addrId || 用户地址id || string || "" || 是 ||  || 
    518 ||v||版本号||int||0||否||2.2.0版本传v=2.2.0|| 
    519518 
    520519**返回格式** 
     
    718717**后端接口文档** 
    719718 
    720 >  
    721  
    722 **说明** 
    723  
    724 >  
    725  
    726 **缓存时间** 
    727  
    728 >  
    729  
    730 **提交方式** 
    731  
    732 > GET 
    733  
    734 **是否需要登录** 
    735  
    736 >  
    737  
    738 **参数** 
    739  
    740 ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||= 备注 =|| 
    741 ||v||版本号||int||0||否||2.2.0版本传v=2.2.0|| 
    742 ||inReview||审核状态||int||0||否||1-是,0-不是|| 
     719> [http://rdtrac.pc.com.cn/pc_best/wiki/app2.2.0/useraddress#添加收货地址 添加收货地址] 
     720 
     721**说明** 
     722 
     723> 添加收货地址 
     724 
     725**缓存时间** 
     726 
     727> 无 
     728 
     729**提交方式** 
     730 
     731> POST 
     732 
     733**是否需要登录** 
     734 
     735> 是 
     736 
     737**参数** 
     738 
     739||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||= 备注 =|| 
     740|| common_session_id(cookie参数) || 登录sessionId || string || "" || 是 || || 
     741|| name) || 收货人名字) || string || "" || 是 ||  || 
     742|| province || 省份 || string || "" || 是 ||  || 
     743|| city || 城市 || string || "" || 是 || || 
     744|| county || 县区 || string || "" || 是 || || 
     745|| phone || 手机号码 || string || "" || 是 ||  || 
     746|| detail || 详细地址 || string || "" || 是 ||  || 
     747|| idcardNo || 身份证号码 || string || ""     || 是 ||  || 
     748|| idcardImga || 身份证正面链接 || string || "" || 是 ||  || 
     749|| idcardImgb || 身份证反面链接 || string || "" || 是 ||  || 
     750|| postcode || 邮政编码 || string || "" || 是 ||  || 
     751|| isdefault     || 默认地址 || int || 0 || 否 ||  || 
    743752 
    744753**返回格式**