Commit 34c7bad6 by 徐康

问题修复

parent 61f09bfc
......@@ -7,9 +7,9 @@ public class ResponseCodeConstant {
public final static Integer RESPONSE_SUCCESS = 100;
public final static String RESPONSE_SUCCESS_STR = "100";
public final static Integer RESPONSE_SUCCESS_200 = 200;
public final static String RESPONSE_SUCCESS_STR_200 = "200";
public final static String RESPONSE_SUCCESS_STR = "100";
public final static String RESPONSE_ERROR_STR = "101";
......
......@@ -3564,7 +3564,7 @@ public class OrderServiceImpl implements Orderservice {
//调用支付退款
MultiOrderRefundRequest multiOrderRefundRequest = orderAdapter.getMultiOrderPayRefundRequest(orderBean, refundId);
MultiOrderRefundResponse multiOrderRefundResponse = payServiceImpl.paymentApplicationRefund(multiOrderRefundRequest, orderBean.getCompanyId());
if (multiOrderRefundResponse == null || multiOrderRefundResponse.getData() == null || !ResponseCodeConstant.RESPONSE_SUCCESS_STR.equals(multiOrderRefundResponse.getCode())) {
if (multiOrderRefundResponse == null || multiOrderRefundResponse.getData() == null || !ResponseCodeConstant.RESPONSE_SUCCESS_200.equals(multiOrderRefundResponse.getCode())) {
return ResponseUtil.error(ResponseResult.ORDER__ERRORREFUND.getCode(), "调用支付退款接口失败:"+JSON.toJSONString(multiOrderRefundResponse));
}
List<MultiOrderRefundResponse.RefundPlatformResponse> refundPlatformResponseList = multiOrderRefundResponse.getData().refundPlatformResponseList;
......
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