Changes between Version 5 and Version 6 of pcauto_drive_2.2.0/interface


Ignore:
Timestamp:
09/10/2015 06:40:39 PM (11 years ago)
Author:
lianchijin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_drive_2.2.0/interface

    v5 v6  
    176176            "resId": 440100, 
    177177            "resImage": "http://img0.pcauto.com.cn/pcauto/1508/10/6866928_14_thumb.jpg", 
    178             "resName": "分享APP给朋友", 
    179             "resDesc": "9000分", 
     178            "resName": "苹果9", 
     179            "resStatusDesc": "9000分", 
    180180            "resStatus": 0 
    181181        }, 
     
    191191||= pageSize =||= 每页条数 =||= resId =||=商品id=|| 
    192192||= resImage =||= 商品缩略图 =||= resName =||=商品名=|| 
    193 ||= resDesc =||= 兑换商品的状态描述 =||= resStatus =||=商品兑换状态:0需要XXX学分,1正在补货,2已兑换=|| 
    194  
    195 ---------- 
    196  
    197  
    198  
    199  
     193||= resStatusDesc =||= 兑换商品的状态描述 =||= resStatus =||=商品兑换状态:0需要XXX学分,1正在补货,2已兑换=|| 
     194 
     195---------- 
     196 
     197=== 1.3.1商品详情 === 
     198 
     199>mrobot地址:  [[BR]] 
     200学车后台开发环境: [[BR]] 
     201学车后台线上环境: [[BR]] 
     202 
     203**说明** 
     204 
     205> 商品详情 
     206 
     207**缓存时间** 
     208 
     209>0 
     210 
     211**提交方式** 
     212 
     213> GET 
     214 
     215**是否登录** 
     216 
     217> 登录与未登录都可请求 
     218 
     219**数据来源** 
     220 
     221>学车后台 
     222 
     223**参数** 
     224 
     225||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =||= 说明 =|| 
     226||= Cookie =||= 用户登录cookie =|| string ||=  =||= 是 =||= 登录用户cookie,放在请求头中 =|| 
     227||= resId =||= 商品id =|| int ||=  =||= 是 =||=  =|| 
     228 
     229**返回** 
     230 
     231{{{#!java 
     232{ 
     233    "code": 0, 
     234    "message": "操作成功", 
     235    "resId": 440100, 
     236    "resName":"商品名称", 
     237    "resScore":500分, 
     238    "resCount":2, 
     239    "resStatus": 0, 
     240    "resDesc": "商品详细说明商品详细说明商品详细说明商品详细说明", 
     241    "imgData": [ 
     242            "http://img0.pcauto.com.cn/pcauto/1508/10/6866928_14_thumb.jpg", 
     243            "http://img0.pcauto.com.cn/pcauto/1508/10/6866928_14_thumb.jpg", 
     244            "http://img0.pcauto.com.cn/pcauto/1508/10/6866928_14_thumb.jpg" 
     245        }, 
     246    ] 
     247} 
     248}}} 
     249**返回参数说明** 
     250||= 参数名 =||= 参数含义 =||=参数名=||=参数含义=|| 
     251||= code =||= 接口返回状态码:0成功,非0异常 =||= message =||=接口返回描述信息=|| 
     252||= resId =||=商品id=||= resName =||=商品名=|| 
     253||= resScore =||= 兑换商品所需学分 =||= resCount =||= 剩余商品数 =|| 
     254||= resStatus =||= 商品兑换状态:0未兑换,1已兑换 =||= resDesc =||= 商品描述 =|| 
     255||= imgData =||= 商品图片,1≤商品图片张数≤5 =||=  =||==||