Changes between Version 2 and Version 3 of app/refund


Ignore:
Timestamp:
01/25/2016 06:23:32 PM (10 years ago)
Author:
wuyuanbo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • app/refund

    v2 v3  
    33= 赔付 = 
    44 
    5 == 提交赔付申请 == 
    6  
    7 > 线上:/appIntf/refund/createRefund.jsp 
     5== 提交赔付申请(保存或修改) == 
     6 
     7> 线上:/appIntf/refund/submitRefund.jsp 
    88 
    99**说明** 
     
    3030 
    3131||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
    32 ||orderId||订单id||int||0||是|| 
     32||orderId||订单id||int||0||是(创建赔付时该参数必须有值)|| 
     33||refundId||订单id||int||0||是(修改赔付时,refundId和orderId必须其中一个有值)|| 
    3334||causeType||赔付原因||int||0||是|| 
    3435||cause||赔付说明||string||""||是|| 
    35 ||proofs||凭证图片||string||""||是|| 
     36||proofs||凭证图片,多张图片用","隔开||string||""||是|| 
    3637||common_session_id(cookie参数)||-||string||""||是|| 
    3738 
     
    4647        } 
    4748} 
    48 价格变动时返回: 
    49 result { 
    50         status: 12, 
    51         msg: '所购商品当前价格已上升至' 或 '所购商品当前价格已下降至', 
    52         curPrice: 100.00 
    53 } 
    5449}}} 
    5550**返回状态** 
     
    6055||-3||非法请求!||非post请求|| 
    6156||-4||验证出错!||签名验证未通过|| 
    62 ||10||对不起,该商品无效!||商品无效|| 
    63 ||11||对不起,该商品已无货!||商品无货|| 
    64 ||12||"所购商品当前价格已上升至" 或 "所购商品当前价格已下降至" ||商品价格有变动。 此状态接口会返回curPrice字段,为商品人民币最新价格。|| 
    65 ||13||商品无效!||商品后台数据出错|| 
    66 ||14||请勿重复提交!||重复提交。某些接口有防刷机制,同一个用户两次间隔要在5秒以上|| 
    67 ||15||收货地址不存在!||根据addrId找不到用户收货地址|| 
    68 ||16||优惠码不正确!||优惠码不正确,折扣码应为5-20位的字母、数字或组合!|| 
     57||17||订单不存在!||订单不存在或不属于当前登录用户|| 
     58||50||当前订单不能申请赔付!||订单状态不符合申请赔付条件|| 
     59||51||当前订单不能申请赔付!||订单状态不符合申请赔付条件|| 
    6960 
    7061------------------- 
     
    7263 
    7364 
    74 == 取消订单 == 
    75  
    76 > 线上:/appIntf/order/cancelOrder.jsp 
     65== 获取赔付申请 == 
     66 
     67> 线上:/appIntf/refund/getRefund.jsp 
    7768 
    7869**说明** 
    7970 
    80 > 取消用户某个订单  订单状态为未付款(status == 0)或官方未审核(status == 1)的订单才能够取消 
    81  
    82 **提交方式** 
    83  
    84 > post 
    85  
    86 **是否需要登录** 
    87  
    88 > true 
    89  
    90 **缓存方式** 
    91  
    92 > 无 
    93  
    94 **缓存时间** 
    95  
    96 > 无 
    97  
    98 **参数** 
    99  
    100 ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
    101 ||orderId||订单id||int||0|||| 
     71> 修改赔付申请 
     72**提交方式** 
     73 
     74> get 
     75 
     76**是否需要登录** 
     77 
     78> true 
     79 
     80**缓存方式** 
     81 
     82> 无 
     83 
     84**缓存时间** 
     85 
     86> 无 
     87 
     88**参数** 
     89 
     90||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 
     91||refundId||赔付申请id||int||0||是|| 
     92||orderId||订单id||int||0|||| 
    10293||common_session_id(cookie参数)||-||string||""||是|| 
    10394 
     
    109100        msg: '请求成功', 
    110101        data: { 
    111             orderId:123456 //取消订单的id 
     102              refundId:123456,              //赔付申请id 
     103              orderId:123456                //订单的id 
     104              refundNo: "1111111111"        //赔付编号 
     105              causeType: 1,                //退款类型 
     106              causeTypeDesc: "商品损坏"     //退款类型描述 
     107              status: 1,                    //状态 
     108              statusDesc: "待审核"          //状态描述 
     109              createAt: 11111111111111      //申请提交时间 
    112110        } 
    113111}