Changes between Version 2 and Version 3 of app/refund
- Timestamp:
- 01/25/2016 06:23:32 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
app/refund
v2 v3 3 3 = 赔付 = 4 4 5 == 提交赔付申请 ==6 7 > 线上:/appIntf/refund/ createRefund.jsp5 == 提交赔付申请(保存或修改) == 6 7 > 线上:/appIntf/refund/submitRefund.jsp 8 8 9 9 **说明** … … 30 30 31 31 ||= 参数名 =||= 参数含义 =||= 类型 =||= 默认值 =||= 是否必须 =|| 32 ||orderId||订单id||int||0||是|| 32 ||orderId||订单id||int||0||是(创建赔付时该参数必须有值)|| 33 ||refundId||订单id||int||0||是(修改赔付时,refundId和orderId必须其中一个有值)|| 33 34 ||causeType||赔付原因||int||0||是|| 34 35 ||cause||赔付说明||string||""||是|| 35 ||proofs||凭证图片 ||string||""||是||36 ||proofs||凭证图片,多张图片用","隔开||string||""||是|| 36 37 ||common_session_id(cookie参数)||-||string||""||是|| 37 38 … … 46 47 } 47 48 } 48 价格变动时返回:49 result {50 status: 12,51 msg: '所购商品当前价格已上升至' 或 '所购商品当前价格已下降至',52 curPrice: 100.0053 }54 49 }}} 55 50 **返回状态** … … 60 55 ||-3||非法请求!||非post请求|| 61 56 ||-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||当前订单不能申请赔付!||订单状态不符合申请赔付条件|| 69 60 70 61 ------------------- … … 72 63 73 64 74 == 取消订单==75 76 > 线上:/appIntf/ order/cancelOrder.jsp65 == 获取赔付申请 == 66 67 > 线上:/appIntf/refund/getRefund.jsp 77 68 78 69 **说明** 79 70 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||否|| 102 93 ||common_session_id(cookie参数)||-||string||""||是|| 103 94 … … 109 100 msg: '请求成功', 110 101 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 //申请提交时间 112 110 } 113 111 }
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)