Commit 6757e87d by box

三方券订单退款退券

parent 56a9e92f
......@@ -229,7 +229,7 @@ public class SaasOrderMangerServiceImpl implements OrderManagerService {
try {
thirdCouponOrderHandle.thirdCouponRefund(request.getPartnerId(), request.getOrderId(), request.getOperator());
} catch (Exception e) {
return ResponseUtil.error(e.getMessage());
return ResponseUtil.error(ResponseResult.PARTNER_ORDER_CANCEL_ERROR.getCode(), e.getMessage());
}
}
......@@ -273,7 +273,7 @@ public class SaasOrderMangerServiceImpl implements OrderManagerService {
try {
thirdCouponOrderHandle.thirdCouponRefund(request.getPartnerId(), request.getOrderId(), request.getOperator());
} catch (Exception e) {
return ResponseUtil.error(e.getMessage());
return ResponseUtil.error(ResponseResult.PARTNER_ORDER_CANCEL_ERROR.getCode(), e.getMessage());
}
}
......@@ -476,7 +476,7 @@ public class SaasOrderMangerServiceImpl implements OrderManagerService {
try {
thirdCouponOrderHandle.thirdCouponRefund(request.getPartnerId(), request.getOrderId(), request.getOperator());
} catch (Exception e) {
return ResponseUtil.error(e.getMessage());
return ResponseUtil.error(ResponseResult.PARTNER_ORDER_CANCEL_ERROR.getCode(), e.getMessage());
}
}
//调用cancel接口,商家退款
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment