wiki:app/refund

Version 37 (modified by wuyuanbo, 10 years ago) (diff)

--

赔付

赔付列表

线上:/appIntf/refund/refundList.jsp

说明

赔付列表

提交方式

get

是否需要登录

true

缓存方式

缓存时间

参数

参数名 参数含义 类型 默认值 是否必须
pageNo第几页int1
pageSize一页的数据量int10
common_session_id(cookie参数)-string""

返回

result {
        status: 1,
        msg: '请求成功',
        pageNo: 1,      //第几页
        pageSize: 10,   //每页数据量
        total: 20,      //数据总量
        pageTotal: 2,   //总页数
        data: [
                {
                     orderId:  123456             //订单id
                     refundId:  123456            //赔付id 
                     refundNo: 1482817            //赔付编号
                     status: '1'                  //赔付状态
                     imgUrl: "xxx.xxxx...",           //商品图片
                     enName: 'ECCO Men's Dress Moccasin Penny Loafer'       //商品标题
                     property: "Size: 42 M EU / 8-8.5 D(M) US|Color: Black" //商品参数
                }
              ]
}

返回状态

1请求成功请求成功
-1请求失败后台数据操作错误
-2未登录未登录
-3非法请求!非post请求
-4验证出错!签名验证未通过

提交赔付申请

线上:/appIntf/refund/submitRefund.jsp

说明

创建赔付

提交方式

post

是否需要登录

true

缓存方式

缓存时间

参数

参数名 参数含义 类型 默认值 是否必须
orderId订单idint0
causeType赔付原因int0
cause赔付说明string""
proofs凭证图片,多张图片用","隔开string""
common_session_id(cookie参数)-string""

返回

result {
        status: 1,
        msg: '请求成功'
}

返回状态

1请求成功请求成功
-1请求失败后台数据操作错误
-2未登录未登录
-3非法请求!非post请求
-4验证出错!签名验证未通过
17订单不存在!订单不存在或不属于当前登录用户
41请勿重复提交!赔付提交间隔不能少于3秒!!||
50赔付理由不能为空赔付原因或赔付说明不能为空
51赔付说明不能超过200字赔付说明不能超过200字
52赔付凭证照片不能为空赔付凭证照片不能为空
53当前订单不能申请赔付!订单状态不符合申请赔付条件
54不能修改赔付申请! 不能修改赔付申请!

获取赔付详情

线上:/appIntf/refund/getRefund.jsp

说明

获取赔付详情

提交方式

get

是否需要登录

true

缓存方式

缓存时间

参数

参数名 参数含义 类型 默认值 是否必须
refundId赔付申请idint0
orderId订单idint0
common_session_id(cookie参数)-string""

返回

result {
        status: 1,
        msg: '请求成功',
        data: {
              refundId:123456,               //赔付申请id
              orderId:123456,                //订单的id
              refundNo: "1111111111",        //赔付编号
              status: 1,                     //赔付状态
              statusDesc: "已提交申请,请等待处理",   //赔付状态说明
              refundRecord:{
                [
                  refundStatus: 1,                     //赔付记录状态
                  aduitCustomer: 'rico',               //处理人
                  processingDate: '1111111'            //处理时间(毫秒)
                  processingReason: 'laalla'           //处理说明
                  causeType: 1,                        //赔付原因
                  causeTypeDesc: "商品损坏",           //赔付说明(退款说明)
                  proofs: "http://url,http://url",     //凭证照片
                ]
              }
        }
}

返回状态

1请求成功请求成功
-1请求失败后台数据操作错误
-2未登录未登录
-3非法请求!非post请求
-4验证出错!签名验证未通过
17订单不存在!订单不存在或不属于当前登录用户
18当前的订单状态不支持取消当前的订单状态不支持取消

取消赔付申请

线上:/appIntf/refund/cancelRefund.jsp

说明

取消赔付申请

提交方式

post

是否需要登录

true

缓存方式

缓存时间

参数

参数名 参数含义 类型 默认值 是否必须
orderId订单idint0
refundId赔付申请idint0
common_session_id(cookie参数)-string""

返回

result {
        status: 1,
        msg: '请求成功'
}

返回状态

1请求成功请求成功
-1请求失败后台数据操作错误
-2未登录未登录
-3非法请求!非post请求
-4验证出错!签名验证未通过
55当前赔付状态不支持取消!待审核和审核中的赔付才能取消