Changes between Version 5 and Version 6 of app2.2.0/useraddress


Ignore:
Timestamp:
10/23/2015 02:33:21 PM (10 years ago)
Author:
zhanzhenchao
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • app2.2.0/useraddress

    v5 v6  
    55== 获取默认收货地址 == 
    66 
    7 > 线上:[http://best.pconline.com.cn/app/userAddress/getDefaultAddress?common_session_id=1 /app/userAddress/getDefaultAddress] 
     7> 线上:[/appIntf/useraddress/getDefaultAddress.jsp] 
    88 
    99**说明** 
     
    3030 
    3131||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
    32 ||common_session_id||-||string||""||是|| 
     32||common_session_id||登录sessionId||string||""||是|| 
    3333 
    3434**返回** 
     
    4949== 获取用户的地址列表 == 
    5050 
    51 > 线上:[http://best.pconline.com.cn/app/userAddress/listUserAddress?common_session_id=1 /app/userAddress/listUserAddress] 
     51> 线上:[/appIntf/useraddress/listUserAddress.jsp] 
    5252 
    5353**说明** 
     
    7474 
    7575||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
    76 ||common_session_id||-||string||""||是|| 
     76||common_session_id||登录sessionId||string||""||是|| 
    7777 
    7878 
     
    109109== 添加收货地址 == 
    110110 
    111 > 线上:[http://best.pconline.com.cn/app/topicType/cache/listIndexTopicType.do?limit=15 /app/topicType/cache/listIndexTopicType.do] 
     111> 线上:[/appIntf/useraddress/addUserAddress.jsp] 
    112112 
    113113**说明** 
     
    134134 
    135135||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
     136||common_session_id||登录sessionId||string||""||是|| 
     137||name||收货人名字||string||""||是|| 
     138||province||省份||string||""||是|| 
     139||city||城市||string||""||是|| 
     140||country||县区||string||""||是|| 
     141||phone||手机号码||string||""||是|| 
     142||detail||详细地址||string||""||是|| 
     143||idcardNo||身份证号码||string||""||是|| 
     144||idcardImga||身份证正面链接||string||""||是|| 
     145||idcardImgb||身份证反面链接||string||""||是|| 
     146||postcode||邮政编码||string||""||是|| 
     147||isdefault||默认地址||int||0||否|| 
     148 
     149**返回** 
     150{{{#!java 
     151result { 
     152        status: 1, 
     153        msg: '请求成功', 
     154} 
     155}}} 
     156 
     157---------- 
     158 
     159 
     160 
     161 
     162 
     163 
     164 
     165 
     166== 修改收货地址 == 
     167 
     168> 线上:[/appIntf/useraddress/updateUserAddress.jsp] 
     169 
     170**说明** 
     171 
     172> 修改用户的收货地址 
     173 
     174**提交方式** 
     175 
     176> post 
     177 
     178**是否需要登录** 
     179 
     180> true 
     181 
     182**缓存方式** 
     183 
     184> 无 
     185 
     186**缓存时间** 
     187 
     188> 无 
     189 
     190**参数** 
     191 
     192||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
     193||common_session_id||登录sessionId||string||""||是|| 
     194||addrId||用户地址Id||string||""||是|| 
     195||name||收货人名字||string||""||是|| 
     196||province||省份||string||""||是|| 
     197||city||城市||string||""||是|| 
     198||country||县区||string||""||是|| 
     199||phone||手机号码||string||""||是|| 
     200||detail||详细地址||string||""||是|| 
     201||idcardNo||身份证号码||string||""||是|| 
     202||idcardImga||身份证正面链接||string||""||是|| 
     203||idcardImgb||身份证反面链接||string||""||是|| 
     204||postcode||邮政编码||string||""||是|| 
     205||isdefault||默认地址||int||0||否|| 
     206 
     207 
     208**返回** 
     209{{{#!java 
     210result { 
     211        status: 1, 
     212        msg: '请求成功', 
     213} 
     214}}} 
     215 
     216---------- 
     217 
     218 
     219 
     220 
     221 
     222 
     223 
     224 
     225== 删除地址 == 
     226 
     227> 线上:[/appIntf/useraddress/deleteUserAddress.jsp] 
     228 
     229**说明** 
     230 
     231> 删除用户地址 
     232 
     233**提交方式** 
     234 
     235> post 
     236 
     237**是否需要登录** 
     238 
     239> true 
     240 
     241**缓存方式** 
     242 
     243> 无 
     244 
     245**缓存时间** 
     246 
     247> 无 
     248 
     249**参数** 
     250 
     251||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
     252||common_session_id||登录sessionId||string||""||是|| 
     253||addrId||用户地址Id||string||""||是|| 
     254 
     255 
     256**返回** 
     257{{{#!java 
     258result { 
     259        status: 1, 
     260        msg: '请求成功', 
     261} 
     262}}} 
     263 
     264---------- 
     265 
     266 
     267 
     268 
     269 
     270 
     271 
     272== 设置默认地址 == 
     273 
     274> 线上:[/appIntf/useraddress/setDefaultAddress.jsp] 
     275 
     276**说明** 
     277 
     278> 设置用户的默认地址 
     279 
     280**提交方式** 
     281 
     282> post 
     283 
     284**是否需要登录** 
     285 
     286> true 
     287 
     288**缓存方式** 
     289 
     290> 无 
     291 
     292**缓存时间** 
     293 
     294> 无 
     295 
     296**参数** 
     297 
     298||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
    136299||common_session_id||-||string||""||是|| 
    137 ||common_session_id||-||string||""||是|| 
    138  
    139  
    140 **返回** 
    141 {{{#!java 
    142 result { 
    143         status: 1, 
    144         msg: '请求成功', 
    145         pageNo: 1, 
    146         pageSize: 10, 
    147         total: 20, 
    148         pageTotal: 2, 
    149         data: [ 
    150              $receiveComment 
    151         ] 
    152 } 
    153 }}} 
    154  
    155 [http://trac.pc.com.cn/pc_best/wiki/app2.0/object_properties#爆料类型 $topicType] 
    156  
    157  
    158  
    159  
    160  
    161  
    162  
    163  
    164 == 修改收货地址 == 
    165  
    166 > 线上:[http://best.pconline.com.cn/app/topicType/cache/listIndexTopicType.do?limit=15 /app/topicType/cache/listIndexTopicType.do] 
    167  
    168 **说明** 
    169  
    170 > - 
    171  
    172 **提交方式** 
    173  
    174 > post 
    175  
    176 **是否需要登录** 
    177  
    178 > true 
    179  
    180 **缓存方式** 
    181  
    182 > 无 
    183  
    184 **缓存时间** 
    185  
    186 > 无 
    187  
    188 **参数** 
    189  
    190 ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
    191 ||common_session_id||-||string||""||是|| 
    192 ||common_session_id||-||string||""||是|| 
    193  
    194  
    195 **返回** 
    196 {{{#!java 
    197 result { 
    198         status: 1, 
    199         msg: '请求成功', 
    200         pageNo: 1, 
    201         pageSize: 10, 
    202         total: 20, 
    203         pageTotal: 2, 
    204         data: [ 
    205              $receiveComment 
    206         ] 
    207 } 
    208 }}} 
    209  
    210 [http://trac.pc.com.cn/pc_best/wiki/app2.0/object_properties#爆料类型 $topicType] 
    211  
    212  
    213  
    214  
    215  
    216  
    217  
    218  
    219 == 删除地址 == 
    220  
    221 > 线上:[http://best.pconline.com.cn/app/topicType/cache/listIndexTopicType.do?limit=15 /app/topicType/cache/listIndexTopicType.do] 
    222  
    223 **说明** 
    224  
    225 > - 
    226  
    227 **提交方式** 
    228  
    229 > post 
    230  
    231 **是否需要登录** 
    232  
    233 > true 
    234  
    235 **缓存方式** 
    236  
    237 > 无 
    238  
    239 **缓存时间** 
    240  
    241 > 无 
    242  
    243 **参数** 
    244  
    245 ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
    246 ||common_session_id||-||string||""||是|| 
    247 ||common_session_id||-||string||""||是|| 
    248  
    249  
    250 **返回** 
    251 {{{#!java 
    252 result { 
    253         status: 1, 
    254         msg: '请求成功', 
    255         pageNo: 1, 
    256         pageSize: 10, 
    257         total: 20, 
    258         pageTotal: 2, 
    259         data: [ 
    260              $receiveComment 
    261         ] 
    262 } 
    263 }}} 
    264  
    265 [http://trac.pc.com.cn/pc_best/wiki/app2.0/object_properties#爆料类型 $topicType] 
    266  
    267  
    268  
    269  
    270  
    271  
    272  
    273  
    274 == 设置默认地址 == 
    275  
    276 > 线上:[http://best.pconline.com.cn/app/topicType/cache/listIndexTopicType.do?limit=15 /app/topicType/cache/listIndexTopicType.do] 
    277  
    278 **说明** 
    279  
    280 > - 
    281  
    282 **提交方式** 
    283  
    284 > post 
    285  
    286 **是否需要登录** 
    287  
    288 > true 
    289  
    290 **缓存方式** 
    291  
    292 > 无 
    293  
    294 **缓存时间** 
    295  
    296 > 无 
    297  
    298 **参数** 
    299  
    300 ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
    301 ||common_session_id||-||string||""||是|| 
    302 ||common_session_id||-||string||""||是|| 
    303  
    304  
    305 **返回** 
    306 {{{#!java 
    307 result { 
    308         status: 1, 
    309         msg: '请求成功', 
    310         pageNo: 1, 
    311         pageSize: 10, 
    312         total: 20, 
    313         pageTotal: 2, 
    314         data: [ 
    315              $receiveComment 
    316         ] 
    317 } 
    318 }}} 
    319  
    320 [http://trac.pc.com.cn/pc_best/wiki/app2.0/object_properties#爆料类型 $topicType] 
     300||addrId||用户地址Id||string||""||是|| 
     301 
     302 
     303**返回** 
     304{{{#!java 
     305result { 
     306        status: 1, 
     307        msg: '请求成功', 
     308} 
     309}}}