Changes between Version 15 and Version 16 of app2.2.0/pay


Ignore:
Timestamp:
11/05/2015 09:50:41 AM (10 years ago)
Author:
zhanzhenchao
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • app2.2.0/pay

    v15 v16  
     1[[TOC]] 
     2 
     3= 支付 = 
     4 
     5== 支付成功 == 
     6 
     7> 线上:/appIntf/pay/successFeedback.jsp 
     8 
     9**说明** 
     10 
     11> 用户支付成功页面 
     12 
     13**提交方式** 
     14 
     15> post 
     16 
     17**是否需要登录** 
     18 
     19> true 
     20 
     21**缓存方式** 
     22 
     23> 无 
     24 
     25**缓存时间** 
     26 
     27> 无 
     28 
     29**参数** 
     30 
     31||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
     32||orderId||商品id||int||0||是|| 
     33||common_session_id(cookie参数)||-||string||""||是|| 
     34 
     35**返回** 
     36{{{#!java 
     37打开页面 
     38}}} 
     39 
     40**状态码** 
     41||= status =||= msg =||= 含义 =|| 
     42||1||请求成功||请求成功|| 
     43||-1||请求失败||后台数据操作错误|| 
     44||-2||未登录||未登录|| 
     45||17||订单不存在!||订单不存在或不属于当前登录用户|| 
     46 
     47--------------- 
     48 
     49== 支付失败 == 
     50 
     51> 线上:/appIntf/pay/failFeedback.jsp 
     52 
     53**说明** 
     54 
     55> 用户支付失败页面 
     56 
     57**提交方式** 
     58 
     59> post 
     60 
     61**是否需要登录** 
     62 
     63> true 
     64 
     65**缓存方式** 
     66 
     67> 无 
     68 
     69**缓存时间** 
     70 
     71> 无 
     72 
     73**参数** 
     74 
     75||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
     76||orderId||商品id||int||0||是|| 
     77||common_session_id(cookie参数)||-||string||""||是|| 
     78 
     79**返回** 
     80{{{#!java 
     81打开页面 
     82}}} 
     83 
    184[[TOC]] 
    285 
     
    139222 
    140223-------- 
     224 
     225 
     226---------- 
     227 
     228 
     229 
     230== 用户订单支付数据 == 
     231 
     232> 线上:/appIntf/pay/payInfoByOrder.jsp 
     233 
     234**说明** 
     235 
     236> 返回订单的支付数据 
     237 
     238**提交方式** 
     239 
     240> post 
     241 
     242**是否需要登录** 
     243 
     244> true 
     245 
     246**缓存方式** 
     247 
     248> 无 
     249 
     250**缓存时间** 
     251 
     252> 无 
     253 
     254**参数** 
     255 
     256||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
     257||orderId||订单id||int||0||是|| 
     258||common_session_id(cookie参数)||-||string||""||是|| 
     259 
     260 
     261**返回** 
     262{{{#!java 
     263result { 
     264    status: 1, 
     265    msg: '请求成功', 
     266    data: { 
     267           orderId: 123456,             //订单id 
     268           orderNo: "20151111123321",   //订单id 
     269           amountPrice: 100000.00       //订单总价 
     270           payCallbackUrl: "xxx.xxx..." //支付宝回调url 
     271         } 
     272} 
     273}}} 
     274 
     275--------